I am trying to get the counts of a list of tables in hbase using the count command. I am currently placing all command in input.txt.
Sample input
count 'test.table1', INTERVAL => 10000000, CACHE => 10000000
count 'test.table2', INTERVAL => 10000000, CACHE => 10000000
Command
hbase shell ./input.txt
Is there a way to write a shell script so that I can run on nohup.out and get the output like as below via shell script so that I can run it for any number of tables :
table1,500000
table2,300
Appreciate any help in this regard