private Admin getHBaseAdmin() throws MetaException {
    try {
      if (admin == null) {
        Connection conn = ConnectionFactory.createConnection(hbaseConf);
        admin = conn.getAdmin();
      }
      return admin;
    } catch (IOException ioe) {
      throw new MetaException(StringUtils.stringifyException(ioe));
    }
  }
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