@Override
  public void close() throws IOException {
    if (admin != null) {
      Connection connection = admin.getConnection();
      admin.close();
      admin = null;
      if (connection != null) {
        connection.close();
      }
    }
  }
MetaHook for HBase. Updates the table data in HBase too. Not thread safe, and cleanup should
be used after usage.
hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseMetaHook.java