@Override
      public HiveMetaHook getHook(
              org.apache.hadoop.hive.metastore.api.Table tbl)
              throws MetaException {
        HiveStorageHandler storageHandler = createStorageHandler(tbl);
        return storageHandler == null ? null : storageHandler.getMetaHook();
      }
Creates a metastore client. Currently it creates only JDBC based client as
File based store support is removed

@returns a Meta Store Client
@throws HiveMetaException
          if a working client can't be created
ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java