From 271654c6f5981f976aefd3306580041f5fde4d9a Mon Sep 17 00:00:00 2001 From: Jitendra Nath Pandey Date: Wed, 29 Feb 2012 08:52:21 +0000 Subject: [PATCH] HADOOP-7994. Remove getProtocolVersion and getProtocolSignature from the client side translator and server side implementation. git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1295016 13f79535-47bb-0310-9956-ffa450edef68 --- hadoop-common-project/hadoop-common/CHANGES.txt | 3 +++ .../apache/hadoop/security/RefreshUserMappingsProtocol.java | 2 +- .../security/authorize/RefreshAuthorizationPolicyProtocol.java | 2 +- .../java/org/apache/hadoop/tools/GetUserMappingsProtocol.java | 2 +- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt index 6c1bd4f0c0..a008097709 100644 --- a/hadoop-common-project/hadoop-common/CHANGES.txt +++ b/hadoop-common-project/hadoop-common/CHANGES.txt @@ -52,6 +52,9 @@ Trunk (unreleased changes) HADOOP-8078. Add capability to turn on security in unit tests. (Jaimin Jetly via jitendra) + HADOOP-7994. Remove getProtocolVersion and getProtocolSignature from the + client side translator and server side implementation. (jitendra) + BUG FIXES HADOOP-8018. Hudson auto test for HDFS has started throwing javadoc diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/RefreshUserMappingsProtocol.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/RefreshUserMappingsProtocol.java index 5e2a94c999..0e1c0864f5 100644 --- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/RefreshUserMappingsProtocol.java +++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/RefreshUserMappingsProtocol.java @@ -33,7 +33,7 @@ import org.apache.hadoop.security.KerberosInfo; serverPrincipal=CommonConfigurationKeys.HADOOP_SECURITY_SERVICE_USER_NAME_KEY) @InterfaceAudience.LimitedPrivate({"HDFS", "MapReduce"}) @InterfaceStability.Evolving -public interface RefreshUserMappingsProtocol extends VersionedProtocol { +public interface RefreshUserMappingsProtocol { /** * Version 1: Initial version. diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/authorize/RefreshAuthorizationPolicyProtocol.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/authorize/RefreshAuthorizationPolicyProtocol.java index 8cab51b937..9ab6d68daf 100644 --- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/authorize/RefreshAuthorizationPolicyProtocol.java +++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/authorize/RefreshAuthorizationPolicyProtocol.java @@ -32,7 +32,7 @@ import org.apache.hadoop.security.KerberosInfo; serverPrincipal=CommonConfigurationKeys.HADOOP_SECURITY_SERVICE_USER_NAME_KEY) @InterfaceAudience.LimitedPrivate({"HDFS", "MapReduce"}) @InterfaceStability.Evolving -public interface RefreshAuthorizationPolicyProtocol extends VersionedProtocol { +public interface RefreshAuthorizationPolicyProtocol { /** * Version 1: Initial version diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/tools/GetUserMappingsProtocol.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/tools/GetUserMappingsProtocol.java index 0b48304340..0f5bf7a513 100644 --- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/tools/GetUserMappingsProtocol.java +++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/tools/GetUserMappingsProtocol.java @@ -29,7 +29,7 @@ import org.apache.hadoop.ipc.VersionedProtocol; */ @InterfaceAudience.LimitedPrivate({"HDFS", "MapReduce"}) @InterfaceStability.Evolving -public interface GetUserMappingsProtocol extends VersionedProtocol { +public interface GetUserMappingsProtocol { /** * Version 1: Initial version.