Google News
logo
Hadoop - Interview Questions
Write the HBase command to list the contents and update the column families of a table.
The following code is used to list the contents of an HBase table :
 
scan ‘table_name’ 
 
Example : scan ‘employee_table’ 


To update column families in the table, use the following command :
 
alter ‘table_name’, ‘column_family_name’ 
 
Example : alter ‘employee_table’, ‘emp_address’ 
Advertisement