svn merge -c 1227861 from trunk for HADOOP-7957.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.23-PB@1231835 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Tsz-wo Sze 2012-01-16 04:41:50 +00:00
parent e4e47a7519
commit 184f0644ee
2 changed files with 4 additions and 1 deletions

View File

@ -35,6 +35,9 @@ Release 0.23-PB - Unreleased
HADOOP-7899. Generate proto java files as part of the build. (tucu)
HADOOP-7957. Classes deriving GetGroupsBase should be able to override
proxy creation. (jitendra)
BUG FIXES
HADOOP-7695. RPC.stopProxy can throw unintended exception while logging

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,