public UserGroupInformation getClientUGI(){
    return ugi;
  }
TUGIContainingTransport associates ugi information with connection (transport).
 Wraps underlying <code>TSocket</code> transport and annotates it with ugi.
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/security/TUGIContainingTransport.java