Posts

Showing posts from June, 2017

Accessing Hbase table via Hive.

Create the HBase Table : hbase(main):> CREATE 'employee', {NAME => 'e', BLOOMFILTER => 'ROW', VERSIONS => '1', IN_MEMORY => 'false',  KEEP_DELETED_CELLS => 'FALSE', DATA_BLOCK_ENCODING => 'NONE', TTL => '189341712', COMPRESSION => 'SNAPPY',  MIN_VERSIONS => '0', BLOCKCACHE => 'true', BLOCKSIZE => '65536', REPLICATION_SCOPE => '1'} Load the values in HBase Table : hbase(main):> put 'employee', 'employee_123', 'e:n' , 'my_name' hbase(main):> put 'employee', 'employee_123', 'e:id' , '2345687' hbase(main):> put 'employee', 'employee_123', 'e:l' , 'san_franscisco' hbase(main):> put 'employee', 'employee_123', 'e:r' , '25' hbase(main):> put 'employee', 'employee_123', 'e:cd' ,