This tutorial is a sequel of of Matteo Lissandrini's "Installing HDFS and Hadoop 2.X on a Multi-node cluster with Ubuntu 14.0.
That guide can also be used to install Hadoop 1.x (with minor if none modification); in this work we will assume that you have followed that tutorial and have installed Hadoop 1.x and HDFS.
Even thought HBase 0.94.x can run against both Hadoop 1.x and 2.x versions (see HBase 0.94 book) we highly recommend to use Hadoop 1.x for HBase 0.x and Hadoop 2.x for HBase 1.x and 2.x.
We wish also to inform you that also this tutorial can be applied to HBase 1.x and 2.x (with minor if none modification).
The following steps will be needed only once. Download HBase 0.94.X stable, to do so navigate in the List of Mirrors select one and decide which version to download. For the sake of simplicity from now on we will assume tho have chosen version 0.94.27.
For example wget can be used:
# from eu wget https://www.eu.apache.org/dist/hbase/hbase-0.94.27/hbase-0.94.27.tar.gz # from us wget https://www.us.apache.org/dist/hbase/hbase-0.94.27/hbase-0.94.27.tar.gz
Then extract the tar to the final installation directory, fix also permission and create a version agnostic symlink.
In this tutorial we will use the standard /usr/local/ as installation directory but obviously you are free to chose the one you prefer.
# extract & copy sudo tar -zxf hbase-0.94.27.tar.gz -C /usr/local/ # fix permission sudo chown -R hduser:hadoop /usr/local/hbase-hbase-0.94.27/ # create symlink sudo ln -s /usr/local/hbase-0.94.27/ /usr/local/hbase
The POS-9210-L (often referred to as the ZJ-9210) is a versatile 4-inch direct thermal shipping label printer used extensively for e-commerce logistics, such as printing Amazon or Flipkart waybills. It supports a variety of media types including continuous, gap, and fan-fold paper with a maximum width of 110mm. Driver Download and Installation
To set up the POS-9210-L, you must download the specific driver for your operating system (Windows, Linux, or Mac). Download the Driver:
Drivers are often provided by the manufacturer, Shenzhen Zijiang Electronic.
Alternative sources like Swash India provide direct ZIP downloads for the 9210 series. Run the Installer:
Extract the downloaded ZIP file and run the .exe setup file. i--- Thermal Printer Pos-9210-l Driver Download
Selection: During installation, select your connection type (typically USB) and choose the correct Windows architecture (32-bit or 64-bit). Physical Connection:
Connect the printer to your PC via the supplied USB cable after starting the installer if prompted, or as the first step for Windows 10/11 auto-detection. Verification:
Once installed, navigate to Printers & Scanners in Windows, select the device, and print a Test Page to confirm communication. Key Specifications
The printer is designed for high-speed, ribbon-less thermal printing. Print Speed: Up to 160mm/sec. Resolution: 203 DPI (8 dots/mm). The POS-9210-L (often referred to as the ZJ-9210)
Interface Options: USB, Bluetooth, LAN, and Wi-Fi (depending on the specific sub-model). Command Set: Supports TSPL, CPCL, and ESC/POS commands.
Media Support: Compatible with labels from 40mm to 110mm wide. Troubleshooting Common Issues Set Thermal Printer Preferences - Stamps
Title: Complete Guide: POS-9210-L Thermal Printer Driver Download and Installation
| Feature | Specification | | :--- | :--- | | Printing Method | Thermal Line Printing | | Paper Width | 80mm (79.5mm ± 0.5mm) | | Print Resolution | 203 DPI | | Interface | USB, Serial (RS-232), Ethernet | | Emulation | ESC/POS Compatible | Firmware Updates: Drivers and firmware are different
With the driver sorted, keep your printer healthy.
POS-9210-L_firmware_v2.3.bin. To update: Copy the file to a USB drive, insert into the printer’s USB host port, and power cycle.For basic USB connectivity, Windows 10/11 often auto-detects the POS-9210-L via Windows Update. We explain this below.
As of this article’s publication, you can find the verified driver package via major POS software vendors like Loyverse, Square (for third-party printers), or KOT Pro. Always scan downloaded .exe or .zip files with Windows Defender before opening.
Warning: Be extremely cautious when searching for drivers. Many third-party websites host malware disguised as “POS-9210-L driver.exe.” Always download from official or trusted repositories.
Symptom: The USB works fine, but Ethernet printing fails on the POS-9210-L. Cause: The printer’s IP address is static, or your router changed the DHCP lease. Solution:
192.168.1.120).9100 (Standard for POS printers).Finally configure and initialize the other cluster nodes.
List the machines that will act as region server in conf/regionservers,
one address per line line.
If needed update /etc/hosts according to Hadoop tutorial hints.
Once done, propagate the setup throw the cluster:
#!/bin/bash
# Build configured HBase tar.
mkdir -p /tmp/distr/
tar -czf /tmp/distr/hbase.tgz /usr/local/hbase-0.94.27
# Distribute to each region node
while IFS='' read -r node_ip; do
scp /etc/hosts hduser@$node_ip:~/
scp ~/.profile ~/.vimrc hduser@$node_ip:~/
scp hbase.tgz hduser@$node_ip:~/
ssh -o StrictHostKeyChecking=no -tt hduser@$node_ip <<EOF
sudo mv $HOME/hosts /etc/
# Install & link & fix permission
sudo tar -zxf $HOME/hbase.tgz -C /
sudo ln -s /usr/local/hbase-0.94.27 /usr/local/hbase
sudo chown -R hduser:hadoop /usr/local/hbase*
# Create zookeeper directory (even if not needed)
sudo mkdir -p /usr/local/zookeeper
# Fix permission
sudo chown -R hduser:hadoop /usr/local/zookeeper
# Raise the limit for max opened files (DB srv)
sudo sysctl -w fs.file-max=100000
# Required due to -tt option
exit
EOF
done < /usr/local/hbase/conf/regionservers
That's the end of the journey: enjoy your new HBase cluster!
Start it running start-hbase.sh