@VisibleForTesting
  public static IMetaStoreClient getProxy(Configuration hiveConf, HiveMetaHookLoader hookLoader,
      String mscClassName) throws MetaException {
    return getProxy(hiveConf, hookLoader, null, mscClassName, true);
  }
RetryingMetaStoreClient. Creates a proxy for a IMetaStoreClient
implementation and retries calls to it on failure.
If the login user is authenticated using keytab, it relogins user before
each call.
standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/RetryingMetaStoreClient.java