FUNDAMENTALS OF COMPUTER

DATABASE FUNDAMENTALS

BASICS OF BIG DATA

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
To delete a table or change its settings, you need to first disable the table using the ____ command in HBASE
A
drop
B
delete
C
delete all
D
disable
Explanation: 

Detailed explanation-1: -When a Delete command is issued through the HBase client, no data is actually deleted. Instead a tombstone marker is set, making the deleted cells effectively invisible. User Scans and Gets automatically filter deleted cells until they get removed. HBase periodically removes deleted cells during compactions.

Detailed explanation-2: -Once you issue a delete command in HBase for cell, column or column family, it is not deleted instantly. A tombstone marker in inserted. Tombstone is a specified data, which is stored along with standard data. This tombstone makes hides all the deleted data.

Detailed explanation-3: -We can delete a specific cell in a table, by using the delete command. We can delete all the cells in a row, by using the “deleteall” command.

Detailed explanation-4: -To verify whether a table is enabled, isTableEnabled() method is used; and to enable a table, enableTable() method is used.

There is 1 question to complete.