Question : Please select the wrong statement regarding the Version delete 1. Deleting all the versions older than a certain timestamp can be performed on a row, column family or a column 2. Delete version at a specific timestamp and can only be performed on a column 3. For deletion if not timestamp is specified currentTimeMillis is used 4. For deletion if not timestamp is specified all the versions will be deleted
Correct Answer : 4
For Deleting Versions Delete all versions older than a certain timestamp Can be performed on a row, column family or a column Delete version at a specific timestamp Can only be performed on a column If no timestamp is specified, currrentTimeMillis is used
Question : Which command in HBase shell you will use to list all user tables 1. all tables 2. list 3. describe "Column Family Name" 4. status
Correct Answer : 2
Some of the command help as below help Lists all the shell commands status Shows basic status about the cluster list Lists all user tables in HBase describe 'tablename' Returns the structure of the table
Question : Which of the following syntex is correct to create t table undre fam1 1. create 't1', {NAME => 'fam1'} 2. create 't1', {NAME => 'fam1', VERSIONS => 1} 3. create 't1', 'fam1' 4. All of the above
Correct Answer : 4
To create the HBase table you can maintain following syntex create 'tablename' , {NAME => 'colfam' [, options]} [,{...}] create 't1', {NAME => 'fam1'} create 't1', {NAME => 'fam1', VERSIONS => 1} create 't1', {NAME => 'fam1'}, {NAME => 'fam2'}
Select the correct syntex for removing column families 1. alter 'tablename', {NAME => 'colfam', METHOD => 'remove'} 2. alter 'tablename', {NAME => 'colfam', METHOD => 'delete'}returend to the cluster. 3. alter 'tablename', {NAME => 'colfam', METHOD => 'del'} 4. None of the above is correct
Select the wrong statement about the various commands 1. major_compact : cause a major compaction of a table 2. flush : cause the RegionServers to flush the memstore for a table 3. split : cause a table to split each Region 4. All of the avove are correct