Question-61: In which file the default configuration of HBase is stored.

Answer:  hbase-site.xml

Question-62. What is the RowKey.

Answer: Every row in an HBase table has a unique identifier called its rowkey (Which is equivalent to Primary key in RDBMS, which would be distinct throughout the table). Every interaction you are going to do in database will start with the RowKey only.

Question-63: Please specify the command (Java API Class) which you will be using to interact with HBase table.

Answer: Get, Put, Delete, Scan, and Increment

Question-64: Which data type is used to store the data in HBase table column.

Answer: Byte Array,

Put p = new Put(Bytes.toBytes("John Smith"));

All the data in the HBase is stored as raw byte Array (10101010). Now the put instance is created which can be inserted in the HBase users’ table.

Question-65: To locate the HBase data cell which three co-ordinates is used?

Answer: HBase uses the coordinates to locate a piece of data within a table. The RowKey is the first coordinate. Following three co-ordinates define the location of the cell.

  1. RowKey
  2. Column Family (Group of columns)
  3. Column Qualifier (Name of the columns or column itself e.g. Name, Email, Address)

Co-ordinates for the John Smith Name Cell. ["John Smith userID", “info”, “name”]