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:
parent
5f5561d057
commit
a230d19d99
|
@ -82,7 +82,9 @@ Trunk (unreleased changes)
|
||||||
HADOOP-7808. Port HADOOP-7510 - Add configurable option to use original
|
HADOOP-7808. Port HADOOP-7510 - Add configurable option to use original
|
||||||
hostname in token instead of IP to allow server IP change.
|
hostname in token instead of IP to allow server IP change.
|
||||||
(Daryn Sharp via suresh)
|
(Daryn Sharp via suresh)
|
||||||
|
|
||||||
|
HADOOP-7957. Classes deriving GetGroupsBase should be able to override
|
||||||
|
proxy creation. (jitendra)
|
||||||
|
|
||||||
BUGS
|
BUGS
|
||||||
|
|
||||||
|
|
|
@ -94,7 +94,7 @@ public abstract class GetGroupsBase extends Configured implements Tool {
|
||||||
* @return A {@link GetUserMappingsProtocol} client proxy.
|
* @return A {@link GetUserMappingsProtocol} client proxy.
|
||||||
* @throws IOException
|
* @throws IOException
|
||||||
*/
|
*/
|
||||||
private GetUserMappingsProtocol getUgmProtocol() throws IOException {
|
protected GetUserMappingsProtocol getUgmProtocol() throws IOException {
|
||||||
GetUserMappingsProtocol userGroupMappingProtocol =
|
GetUserMappingsProtocol userGroupMappingProtocol =
|
||||||
RPC.getProxy(GetUserMappingsProtocol.class,
|
RPC.getProxy(GetUserMappingsProtocol.class,
|
||||||
GetUserMappingsProtocol.versionID,
|
GetUserMappingsProtocol.versionID,
|
||||||
|
|
Loading…
Reference in New Issue