private static String getUserName() {
    return SessionState.getUserFromAuthenticator();
  }
@return the metastore client for the current thread
@throws MetaException
ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java