GetUserMappingsProtocol (Hadoop 0.20.2-cdh3u4 API)
Date: 2012-05-07

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.hadoop.tools
Interface GetUserMappingsProtocol

All Superinterfaces:
  VersionedProtocol

All Known Implementing Classes:
  JobTracker

    public interface GetUserMappingsProtocol

extends VersionedProtocol

Protocol implemented by the Name Node and Job Tracker which maps users to groups.

Field Summary
`static long` | `versionID` Version 1: Initial version.

Method Summary
`String[]` | `getGroupsForUser(String user)` Get the groups which are mapped to the given user.

Methods inherited from interface org.apache.hadoop.ipc.VersionedProtocol
`getProtocolVersion`

Field Detail

### versionID

    static final long versionID

  Version 1: Initial version.

  See Also:
    Constant Field Values

Method Detail

### getGroupsForUser

    String[] getGroupsForUser(String user)
                              throws IOException

  Get the groups which are mapped to the given user.

  Parameters:
    `user` - The user to get the groups for.
  Returns:
    The set of groups the user belongs to.
  Throws:
    `IOException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2009 The Apache Software Foundation