From 9cb779d735fa197ae49a4208c538c52b38d74e2f Mon Sep 17 00:00:00 2001 From: Tsz-wo Sze Date: Fri, 24 Feb 2012 02:09:09 +0000 Subject: [PATCH] Revert TestAuditLogger changes from MAPREDUCE-3368. git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.23-PB@1293058 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/test/java/org/apache/hadoop/mapred/TestAuditLogger.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/mapred/TestAuditLogger.java b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/mapred/TestAuditLogger.java index 38edc90a886..a6aebb0e4ed 100644 --- a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/mapred/TestAuditLogger.java +++ b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/mapred/TestAuditLogger.java @@ -21,6 +21,7 @@ import java.net.InetAddress; import java.net.InetSocketAddress; import org.apache.hadoop.conf.Configuration; +import org.apache.hadoop.ipc.ProtocolInfo; import org.apache.hadoop.ipc.RPC; import org.apache.hadoop.ipc.Server; import org.apache.hadoop.ipc.TestRPC.TestImpl; @@ -123,6 +124,7 @@ public class TestAuditLogger extends TestCase { * A special extension of {@link TestImpl} RPC server with * {@link TestImpl#ping()} testing the audit logs. */ + @ProtocolInfo(protocolName = "org.apache.hadoop.ipc.TestRPC$TestProtocol") private class MyTestRPCServer extends TestImpl { @Override public void ping() {