UserGroupInformation function ( String arg0 ) { UserGroupInformation loc0 = userUgiMap . get ( arg0 ) ; if ( loc0 == null ) { loc0 = UserGroupInformation . createProxyUser ( arg0 , UserGroupInformation . getLoginUser ( ) ) ; userUgiMap . putIfAbsent ( arg0 , loc0 ) ; } return loc0 ; }
create a proxy ugi object for the proxy user . concode_field_sep ThreadLocal<CurrentUser> CURRENT_USER concode_elem_sep Logger AUDIT concode_elem_sep ConcurrentMap<String,UserGroupInformation> userUgiMap concode_elem_sep Logger LOG concode_elem_sep String proxyUser concode_elem_sep String authenticatedUser concode_field_sep void proxy concode_elem_sep void authenticate concode_elem_sep String getAuthenticatedUser concode_elem_sep Set<String> getGroupNames concode_elem_sep String getPrimaryGroupName concode_elem_sep String getUser concode_elem_sep void clear concode_elem_sep boolean isAuthenticated concode_elem_sep UserGroupInformation getAuthenticatedUGI concode_elem_sep UserGroupInformation getProxyUGI concode_elem_sep void proxyDoAsUser