EchoUserResolver, RoundRobinUserResolver, SubmitterUserResolver@Private
@Evolving
public interface UserResolver
| Modifier and Type | Method | Description |
|---|---|---|
org.apache.hadoop.security.UserGroupInformation |
getTargetUgi(org.apache.hadoop.security.UserGroupInformation ugi) |
Map the given UGI to another per the subclass contract.
|
boolean |
needsTargetUsersList() |
Indicates whether this user resolver needs a list of target users to be
provided.
|
boolean |
setTargetUsers(java.net.URI userdesc,
org.apache.hadoop.conf.Configuration conf) |
Configure the user map given the URI and configuration.
|
boolean setTargetUsers(java.net.URI userdesc,
org.apache.hadoop.conf.Configuration conf)
throws java.io.IOException
Path
listing target users.
This method should be called only if needsTargetUsersList()
returns true.userdesc - URI from which user information may be loaded per the
subclass contract.conf - The tool configuration.java.io.IOExceptionorg.apache.hadoop.security.UserGroupInformation getTargetUgi(org.apache.hadoop.security.UserGroupInformation ugi)
ugi - User information from the trace.boolean needsTargetUsersList()
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.