@VisibleForTesting
  public synchronized void setMSC(IMetaStoreClient client)
      throws MetaException {
    metaStoreClient = client;
  }
Sets the metastore client for the current thread
@throws MetaException
ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java