Skip to content

Instantly share code, notes, and snippets.

@debarshri
Created November 20, 2011 16:43
Show Gist options
  • Select an option

  • Save debarshri/1380461 to your computer and use it in GitHub Desktop.

Select an option

Save debarshri/1380461 to your computer and use it in GitHub Desktop.
HFace
HFace
HFace is a User friendly client for Hbase for quick development.It has following features:
1.Creating,alter,delete a table with custom parameters
2.Easy data manipulation option
3.Realise your column oriented data in a row oriented fashion.
4.One click edit,delete,update
5.Restrict your UI by users, IP addresses
6.Bulk upload through UI
7.Generate graphs( I am working on it)
Installation
You need to extract hface first
$ tar -xvzf hface-0.0.1.tar.gz
Go to HFace home
$ bin/hface-install.sh
For installing HFace you need to specify HBASE_HOME environment variable.In case you don't ,it will ask for the HBASE_HOME while execution.
For rendering the login page you have to go to the usual hbase web UI address followed by Hface.jsp
http://host-name:60010/Hface.jsp
By default the credentials are
user name:admin
password:admin
Once you log in it is highly recommended that you change the password.
For changing the password you have to go to user management and edit the password.
For creating table
You have to go to Table Management.
Specify a table name and column families separated by commas
For creating a custom table you need go to
Table Management ~~> Advance Table Creation
Provide the required parameters
Another feature of HFace is that you can visualize your data in a row-oriented fashion
For that you have to go to
table-name ~~> Better Visualization
You can also add/edit a record,delete a record,delete a latest/all values,view all values of a particular row-key,group by column-families,qualifiers,values, you can write queries in hbase-style too.
Another feature that i have add is adhoc reporting using charts.Well i am still working on it.
For Bulk import you need to add the required jars in your classpath
Users of HFace
There are three types of users in HFace
1.Admin user
This user has all rights for creating table,users editing data etc.
2.Full access users
This user can only create tables and edit data.Full access users cannot create other users
3.Limited access users
This user can only view data.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment