Hadoop Hbase configuration using Eclipse, Welcome to the world of advanced Tutorials on Hadoop. Are you looking forward to Creating a Hadoop Hbase using the Eclipse Platform? Or looking for some help on how to setup Hbase in eclipse? Then you’ve landed on the Right Path which providing advanced tutorial Based concepts on the Hadoop Hbase. In this tutorial, one can easily explore how to setup Hbase in eclipse with step by step explanation.
There are many possible ways to Create an Hbase setup in the eclipse Platform, just follow the below-mentioned step by step process of How to Setup Hadoop Hbase configuration using eclipse tutorials which were originally designed by India’s Leading Hadoop Training institute Professionals who also offering advanced Hadoop Course and Certification Programs.
Prerequisites:
♦ Cloudera v5
Eclipse on Cloudera
♦ HBase daemons running
Step 1: Open your eclipse and create a new java project.
♦ Step 2: Add dependencies to the project
Below mentioned are the dependencies required for Hbase API :
♦ commons-configuration-1.6.jar Hadoop-auth-2.4.1.jar♦ Hadoop-common-2.4.1.jarHBase-client-0.98.3-hadoop2.jar♦ HBase-common-0.98.3-hadoop2.jarHBase-protocol-0.98.3-hadoop2.jar♦ htrace-core-2.04.jarprotobuf-java-2.5.0.jar♦ zookeeper-3.4.5.jarNow you can perform various HBase functions using eclipse♦ Create: This method is used to create a table in Hbase with column family
Insert Value: Using this we can insert new values in the existing table in Hbase.
List: This method shows the list of all table in Hbase
♦ Disable: This method is used to disable a table.
Enable: This method is used to enable the disabled table from Hbase
♦ Drop: This method is used to drop the table from Hbase
Alter – Add: This method is used to add a column family to a table.
♦ Alter-Delete: This method is to delete a column family from a table.
Shutdown: This method is to shutdown Hbase
♦ Exists: This method is to verify the existence of a particular table.
Update: This method is to update the value of a particular column in the row.
♦ Retrieve: This method is to retrieve particular sets of data from a table.
Delete: This method is to delete particular sets of data from a table.
♦ Scan: This method is to scan and show all the values from the table.