public static UserGroupInformation login ( Configuration conf ) throws LoginException { if ( LOGIN_UGI == null ) { LOGIN_UGI = UnixUserGroupInformation . login ( conf ) ; } return LOGIN_UGI ; }
Login and return a UserGroupInformation object .