Example #1
0
 private HConnection getConnection() throws IOException {
   return HBaseConnection.get(hbaseUrl);
 }
Example #2
0
 private void createHTableIfNeeded(String tableName) throws IOException {
   HBaseConnection.createHTableIfNeeded(getConnection(), tableName, FAMILY);
 }