HBase Shell Snippets

LIMIT

{‘LIMIT’ => 5}
scan ‘test-table’, {‘LIMIT’ => 5}
Scan.setMaxResultSize(N) or scan.setMaxResultsPerColumnFamily(N)

scan ‘/app/dev/SmartAnalytics/Apps/CAND/HBase/C3_SR_ATT_HOST’, {‘LIMIT’ => 5}

 

GET (with Key)

get ‘/app/dev/SmartAnalytics/Source/Database/HBase/sr_process_logs’ , ‘15265#4240866#12345’

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s