INSTALLATION DOCUMENTS BY RAVI

Sunday, October 15, 2017

Installing HBase

Prerequisites:


1. Java







2. Hadoop











Installing HBase in Standalone Mode
















Configuring HBase in Standalone Mode

Modify hbase-env.sh file under /u01/hadoop/hbase-1.2.6/conf as below






























save and close the file

Modify hbase-site.xml under /u01/hadoop/hbase-1.2.6/conf as below






























Starting HBase







Installing HBase in Pseudo-Distributed Mode

CONFIGURING HBASE

Note: Stop HBase if it is running













Modify hbase-site.xml under /u01/hadoop/hbase-1.2.6/conf as below































Starting HBase




















Checking the HBase Directory in HDFS







































Starting and Stopping a Master

Using the “local-master-backup.sh” you can start up to 10 servers. Open the home folder of HBase, master and execute the following command to start it.








Stopping Master







Starting and Stopping RegionServers

We can run multiple region servers from a single system using the following command.

Starting RegionServers








Stopping RegionServers




















Starting HBase shell



























HBase shell general commands

List:

It will give the list of all the tables in HBase








Status:

This command returns the status of the system including the details of the servers running on the system.






Version:

This command returns the version of HBase used in your system






table_help:

This command guides you what and how to use table-referenced commands.















whoami:

This command returns the user details of HBase







Creating a Table using HBase Shell

We can create a table using the create command, here you must specify the table name and the Column Family name.

Syntax : create ‘<table name>’,’<column family>’ 











HBase Web Interface

http://localhost:16010

This interface lists your currently running Region servers, backup masters and HBase tables.









































Setting Environment variables

Add HBase home and paths in .bashrc file under /home/hadoop as below






























Execute the .bashrc file as below






No comments:

Post a Comment

SQL query to find whether OdiSendMail is configured or not ODI 12c

In the SQL developer connect to the ODI work repository user (Ex: DEV_ODI_REPO) and run the below query. select SCEN_NAME,TASK_NAME3,DE...