Google News
logo
Hadoop - Interview Questions
Write the code needed to open a connection in HBase.
The following code is used to open a connection in HBase :
 
Configuration myConf = HBaseConfiguration.create();
 
HTableInterface usersTable = new HTable(myConf, “users”);

Advertisement