Tuesday, May 29, 2018

HBase - GET

Regarding SCAN command , we have gone through it's basics in last tutorial.We will learn about the 'GET' command and understand it's functionality.

GET command is used by us to retrieve the data based upon the row keys.However , the GET command has 'SCAN' in it's underlying logic.

Basic Synatx For GET :-

1) Retrieving the data based upon the RowKey :-
get 'tablename' , 'rowkey'




2) Retrieving the data based upon the RowKey and Column Filter :-
get 'tablename' ,'rowkey', {COLUMNS => 'c1'}

 
3) Retrieving the data based upon the RowKey ,COLUMN and the VERSIONS.
get 'tablename', 'rowkey',{COLUMN => 'c1' ,VERSIONS => n}

 

Similarly , we can shoot the various commands based upon our requiremnts.

List of the conditions that HBase GET supports :-
 




Hadoop - What is a Job in Hadoop ?

In the field of computer science , a job just means a piece of program and the same rule applies to the Hadoop ecosystem as wel...