Uses of Class
org.apache.hadoop.security.UserGroupInformation
Packages that use UserGroupInformation
Package
Description
Implementations of
AbstractFileSystem for hdfs
over rpc and hdfs over web.Tools to help define network clients and servers.
Classes for hadoop security.
Support for service-level authorization.
Support for delegation tokens.
Router security token delegation.
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
-
Uses of UserGroupInformation in org.apache.hadoop.fs
Methods in org.apache.hadoop.fs that return UserGroupInformationMethods in org.apache.hadoop.fs with parameters of type UserGroupInformationModifier and TypeMethodDescriptionstatic voidFileSystem.closeAllForUGI(UserGroupInformation ugi) Close all cached FileSystem instances for a given UGI. -
Uses of UserGroupInformation in org.apache.hadoop.hdfs.server.namenode
Methods in org.apache.hadoop.hdfs.server.namenode with parameters of type UserGroupInformationModifier and TypeMethodDescriptionabstract voidDefaultAuditLogger.logAuditEvent(boolean succeeded, String userName, InetAddress addr, String cmd, String src, String dst, FileStatus status, CallerContext callerContext, UserGroupInformation ugi, org.apache.hadoop.hdfs.security.token.delegation.DelegationTokenSecretManager dtSecretManager) abstract voidDefaultAuditLogger.logAuditEvent(boolean succeeded, String userName, InetAddress addr, String cmd, String src, String dst, FileStatus status, UserGroupInformation ugi, org.apache.hadoop.hdfs.security.token.delegation.DelegationTokenSecretManager dtSecretManager) abstract voidHdfsAuditLogger.logAuditEvent(boolean succeeded, String userName, InetAddress addr, String cmd, String src, String dst, FileStatus stat, CallerContext callerContext, UserGroupInformation ugi, org.apache.hadoop.hdfs.security.token.delegation.DelegationTokenSecretManager dtSecretManager) Same asHdfsAuditLogger.logAuditEvent(boolean, String, InetAddress, String, String, String, FileStatus)with additional parameters related to logging delegation token tracking IDs.abstract voidHdfsAuditLogger.logAuditEvent(boolean succeeded, String userName, InetAddress addr, String cmd, String src, String dst, FileStatus stat, UserGroupInformation ugi, org.apache.hadoop.hdfs.security.token.delegation.DelegationTokenSecretManager dtSecretManager) -
Uses of UserGroupInformation in org.apache.hadoop.ipc
Methods in org.apache.hadoop.ipc that return UserGroupInformationModifier and TypeMethodDescriptionstatic UserGroupInformationServer.getRemoteUser()Returns the RPC remote user when invoked inside an RPC. -
Uses of UserGroupInformation in org.apache.hadoop.security
Methods in org.apache.hadoop.security that return UserGroupInformationModifier and TypeMethodDescriptionstatic UserGroupInformationUserGroupInformation.createProxyUser(String user, UserGroupInformation realUser) Create a proxy user using username of the effective user and the ugi of the real user.static UserGroupInformationUserGroupInformation.createProxyUserForTesting(String user, UserGroupInformation realUser, String[] userGroups) Create a proxy user UGI for testing HDFS and MapReducestatic UserGroupInformationUserGroupInformation.createRemoteUser(String user) Create a user from a login name.static UserGroupInformationUserGroupInformation.createRemoteUser(String user, SaslRpcServer.AuthMethod authMethod) Create a user from a login name.static UserGroupInformationUserGroupInformation.createUserForTesting(String user, String[] userGroups) Create a UGI for testing HDFS and MapReducestatic UserGroupInformationUserGroupInformation.getBestUGI(String ticketCachePath, String user) Find the most appropriate UserGroupInformation to usestatic UserGroupInformationUserGroupInformation.getCurrentUser()Return the current user, including any doAs in the current stack.static UserGroupInformationUserGroupInformation.getLoginUser()Get the currently logged in user.UserGroupInformation.getRealUser()get RealUser (vs.static UserGroupInformationUserGroupInformation.getRealUserOrSelf(UserGroupInformation user) If this is a proxy user, get the real user.static UserGroupInformationUserGroupInformation.getUGIFromSubject(Subject subject) Create a UserGroupInformation from a Subject with Kerberos principal.static UserGroupInformationUserGroupInformation.getUGIFromTicketCache(String ticketCache, String user) Create a UserGroupInformation from a Kerberos ticket cache.static UserGroupInformationUserGroupInformation.loginUserFromKeytabAndReturnUGI(String user, String path) Log a user in from a keytab file.Methods in org.apache.hadoop.security with parameters of type UserGroupInformationModifier and TypeMethodDescriptionstatic UserGroupInformationUserGroupInformation.createProxyUser(String user, UserGroupInformation realUser) Create a proxy user using username of the effective user and the ugi of the real user.static UserGroupInformationUserGroupInformation.createProxyUserForTesting(String user, UserGroupInformation realUser, String[] userGroups) Create a proxy user UGI for testing HDFS and MapReduceUserGroupInformation.getRealAuthenticationMethod(UserGroupInformation ugi) Returns the authentication method of a ugi.static UserGroupInformationUserGroupInformation.getRealUserOrSelf(UserGroupInformation user) If this is a proxy user, get the real user.static voidUserGroupInformation.logAllUserInfo(UserGroupInformation ugi) Log all (current, real, login) UGI and token info into UGI debug log.static voidUserGroupInformation.logAllUserInfo(org.slf4j.Logger log, UserGroupInformation ugi) Log all (current, real, login) UGI and token info into specified log.static voidUserGroupInformation.logUserInfo(org.slf4j.Logger log, String caption, UserGroupInformation ugi) Log current UGI and token information into specified log.static voidUserGroupInformation.setLoginUser(UserGroupInformation ugi) -
Uses of UserGroupInformation in org.apache.hadoop.security.authorize
Methods in org.apache.hadoop.security.authorize with parameters of type UserGroupInformationModifier and TypeMethodDescriptionvoidDefaultImpersonationProvider.authorize(UserGroupInformation user, InetAddress remoteAddress) default voidImpersonationProvider.authorize(UserGroupInformation user, String remoteAddress) Authorize the superuser which is doing doAs.voidImpersonationProvider.authorize(UserGroupInformation user, InetAddress remoteAddress) Authorize the superuser which is doing doAs.booleanAccessControlList.isUserAllowed(UserGroupInformation ugi) final booleanAccessControlList.isUserInList(UserGroupInformation ugi) Checks if a user represented by the providedUserGroupInformationis a member of the Access Control List. -
Uses of UserGroupInformation in org.apache.hadoop.security.token
Methods in org.apache.hadoop.security.token that return UserGroupInformationModifier and TypeMethodDescriptionabstract UserGroupInformationTokenIdentifier.getUser()Get the Ugi with the username encoded in the token identifier -
Uses of UserGroupInformation in org.apache.hadoop.security.token.delegation
Methods in org.apache.hadoop.security.token.delegation that return UserGroupInformationModifier and TypeMethodDescriptionAbstractDelegationTokenIdentifier.getUser()Get the username encoded in the token identifier -
Uses of UserGroupInformation in org.apache.hadoop.yarn.client
Methods in org.apache.hadoop.yarn.client with parameters of type UserGroupInformationModifier and TypeMethodDescriptionstatic <T> TNMProxy.createNMProxy(Configuration conf, Class<T> protocol, UserGroupInformation ugi, org.apache.hadoop.yarn.ipc.YarnRPC rpc, InetSocketAddress serverAddress) protected static <T> TServerProxy.createRetriableProxy(Configuration conf, Class<T> protocol, UserGroupInformation user, org.apache.hadoop.yarn.ipc.YarnRPC rpc, InetSocketAddress serverAddress, org.apache.hadoop.io.retry.RetryPolicy retryPolicy) -
Uses of UserGroupInformation in org.apache.hadoop.yarn.logaggregation.filecontroller
Methods in org.apache.hadoop.yarn.logaggregation.filecontroller with parameters of type UserGroupInformationModifier and TypeMethodDescriptionprotected voidLogAggregationFileController.cleanOldLogs(Path remoteNodeLogFileForApp, NodeId nodeId, UserGroupInformation userUgi) voidLogAggregationFileController.createAppDir(String user, ApplicationId appId, UserGroupInformation userUgi) Create remote Application directory for log aggregation. -
Uses of UserGroupInformation in org.apache.hadoop.yarn.security
Methods in org.apache.hadoop.yarn.security that return UserGroupInformationModifier and TypeMethodDescriptionAccessRequest.getUser()AMRMTokenIdentifier.getUser()ContainerTokenIdentifier.getUser()NMTokenIdentifier.getUser()Constructors in org.apache.hadoop.yarn.security with parameters of type UserGroupInformationModifierConstructorDescriptionAccessRequest(org.apache.hadoop.yarn.security.PrivilegedEntity entity, UserGroupInformation user, org.apache.hadoop.yarn.security.AccessType accessType, String appId, String appName, String remoteAddress, List<String> forwardedAddresses) -
Uses of UserGroupInformation in org.apache.hadoop.yarn.security.client
Methods in org.apache.hadoop.yarn.security.client that return UserGroupInformation