Member since
05-25-2016
2
Posts
0
Kudos Received
0
Solutions
06-07-2016
05:45 PM
Import the below APIs and try in the lines of below: import org.apache.hadoop.hbase.TableName; import org.apache.hadoop.hbase.HBaseConfiguration; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hbase.client.Table; private static final TableName TABLENAME = TableName.valueOf(“NewTable”); Table table= null; Configuration config= HBaseConfiguration.create(); Connection connection == ConnectionFactory.createConnection(config); table = connection.getTable(TABLENAME);
... View more