Question - What is the command used to open a connection in HBase?
Answer -
The command mentioned below can be used to open a connection in HBase:
Configuration myConf = HBaseConfiguration.create();
HTableInterface usersTable = new HTable(myConf, “users”);