HBase Examples
Go to HBase Mode $hbase shell List all the tables hbase>list Create HBase table with Normal Mode hbase>create ‘cars’, ‘vi’ Let’s insert 3 column qualifies (make, model, year) and the associated values into the first row (row1). hbase>put ‘cars’, ‘row1’, ‘vi:make’, ‘BMW’ hbase>put ‘cars’, ‘row1’, ‘vi:model’, ‘5 series’ hbase>put ‘cars’, ‘row1’, ‘vi:year’, ‘2012’ Now let’s add second row hbase>put ‘cars’, ‘row2’, ‘vi:make’, ‘Ferari’ hbase>put ‘cars’, ‘row2’, ‘vi:model’, ‘e series’ hbase>put ‘cars’, ‘row2’, ‘vi:year’, ‘2012’ Now let’s add third row hbase>put ‘cars’, ‘row3’, ‘vi:make’, ‘Honda’ ...