|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@InterfaceAudience.Private @InterfaceStability.Evolving public interface UserResolver
Maps users in the trace to a set of valid target users on the test cluster.
| Method Summary | |
|---|---|
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(URI userdesc,
org.apache.hadoop.conf.Configuration conf)
Configure the user map given the URI and configuration. |
| Method Detail |
|---|
boolean setTargetUsers(URI userdesc,
org.apache.hadoop.conf.Configuration conf)
throws 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.
IOExceptionorg.apache.hadoop.security.UserGroupInformation getTargetUgi(org.apache.hadoop.security.UserGroupInformation ugi)
ugi - User information from the trace.boolean needsTargetUsersList()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||