I would like to know some basics about hbase shell commands.
- Can I add new column family after I created a hbase table?
- What is the hbase command to take a rowkey and column data based on two columns
I created a hbase table as below.
create 'employee' ,'personaldetails'
I inserted some rows and added some columns.
put 'employee','1000','personaldetails:name','surender'
put 'employee','1000','personaldetails:age','27'
put 'employee','1001','personaldetails:name','raja'
put 'employee','1001','personaldetails:age','30'
Now I need to get rowkey data from table employee based on two columns or one column
The below command is throwing error. Also let me know how to include two conditions based on column
get 'employee',1001,'personaldetails:name','surender'