PrepAway - Latest Free Exam Questions & Answers

The shell command you should use to complete this is:

You have a “Users” table in HBase and you would like to insert a row that consists of a UserID,
“jsmith70” and an email address, “jane@example.com”. The table has a single Column Family
named “Meta” and the row key will be the user’s ID. The shell command you should use to
complete this is:

PrepAway - Latest Free Exam Questions & Answers

A.
put ‘Users’, ‘jsmith70’, ‘jane@example.com’

B.
put ‘Users’, ‘UserID:jsmith70’, ‘Email:jane@example.com’

C.
put ‘Users’, ‘jsmith70’, ‘Meta:Email’, ‘jane@example.com’

D.
put ‘Users’, ‘Meta:UserID’, ‘jsmith70’, ‘Meta:Email, ‘jane@example.com’

Explanation:
Need to include the column family name: Meta for both columns using the : syntax.
Note:
Columns in Apache HBase are grouped into column families. All column members of a column
family have the same prefix. For example, the columns courses:history and courses:math are both
members of the courses column family. The colon character (:) delimits the column family from the
column qualifier . The column family prefix must be composed of printable characters. The
qualifying tail, the column family qualifier, can be made of any arbitrary bytes. Column families
must be declared up front at schema definition time whereas columns do not need to be defined at
schema time but can be conjured on the fly while the table is up an running.

2 Comments on “The shell command you should use to complete this is:


Leave a Reply to networkmanagers Cancel reply

Your email address will not be published. Required fields are marked *