HADOOP-7957. Classes deriving GetGroupsBase should be able to override proxy creation.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1227861 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jitendra Nath Pandey 2012-01-05 21:56:47 +00:00
parent 5f5561d057
commit a230d19d99
2 changed files with 4 additions and 2 deletions

View File

@ -82,7 +82,9 @@ Trunk (unreleased changes)
HADOOP-7808. Port HADOOP-7510 - Add configurable option to use original
hostname in token instead of IP to allow server IP change.
(Daryn Sharp via suresh)
HADOOP-7957. Classes deriving GetGroupsBase should be able to override
proxy creation. (jitendra)
BUGS

View File

@ -94,7 +94,7 @@ public abstract class GetGroupsBase extends Configured implements Tool {
* @return A {@link GetUserMappingsProtocol} client proxy.
* @throws IOException
*/
private GetUserMappingsProtocol getUgmProtocol() throws IOException {
protected GetUserMappingsProtocol getUgmProtocol() throws IOException {
GetUserMappingsProtocol userGroupMappingProtocol =
RPC.getProxy(GetUserMappingsProtocol.class,
GetUserMappingsProtocol.versionID,