hadoop-mapreduce-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From szets...@apache.org
Subject svn commit: r1338344 - in /hadoop/common/branches/branch-2.0.0-alpha/hadoop-mapreduce-project: ./ CHANGES.txt hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/factories/impl/pb/RpcServerFactoryPBImpl.java
Date Mon, 14 May 2012 19:03:49 GMT
Author: szetszwo
Date: Mon May 14 19:03:46 2012
New Revision: 1338344

URL: http://svn.apache.org/viewvc?rev=1338344&view=rev
Log:
Merge r1337428 and r1337433 from branch-2 for HADOOP-8285 Use ProtoBuf for RpcPayLoadHeader

Modified:
    hadoop/common/branches/branch-2.0.0-alpha/hadoop-mapreduce-project/   (props changed)
    hadoop/common/branches/branch-2.0.0-alpha/hadoop-mapreduce-project/CHANGES.txt   (contents,
props changed)
    hadoop/common/branches/branch-2.0.0-alpha/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/factories/impl/pb/RpcServerFactoryPBImpl.java

Propchange: hadoop/common/branches/branch-2.0.0-alpha/hadoop-mapreduce-project/
------------------------------------------------------------------------------
  Merged /hadoop/common/branches/branch-2/hadoop-mapreduce-project:r1337433
  Merged /hadoop/common/trunk/hadoop-mapreduce-project:r1329319

Modified: hadoop/common/branches/branch-2.0.0-alpha/hadoop-mapreduce-project/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-2.0.0-alpha/hadoop-mapreduce-project/CHANGES.txt?rev=1338344&r1=1338343&r2=1338344&view=diff
==============================================================================
--- hadoop/common/branches/branch-2.0.0-alpha/hadoop-mapreduce-project/CHANGES.txt (original)
+++ hadoop/common/branches/branch-2.0.0-alpha/hadoop-mapreduce-project/CHANGES.txt Mon May
14 19:03:46 2012
@@ -60,6 +60,8 @@ Release 2.0.0 - UNRELEASED
     MAPREDUCE-4205. retrofit all JVM shutdown hooks to use ShutdownHookManager 
     (tucu)
 
+    HADOOP-8285 MR changes for Use ProtoBuf for RpcPayLoadHeader (sanjay radia)
+
   OPTIMIZATIONS
 
   BUG FIXES

Propchange: hadoop/common/branches/branch-2.0.0-alpha/hadoop-mapreduce-project/CHANGES.txt
------------------------------------------------------------------------------
  Merged /hadoop/common/branches/branch-2/hadoop-mapreduce-project/CHANGES.txt:r1337433
  Merged /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt:r1329319

Modified: hadoop/common/branches/branch-2.0.0-alpha/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/factories/impl/pb/RpcServerFactoryPBImpl.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-2.0.0-alpha/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/factories/impl/pb/RpcServerFactoryPBImpl.java?rev=1338344&r1=1338343&r2=1338344&view=diff
==============================================================================
--- hadoop/common/branches/branch-2.0.0-alpha/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/factories/impl/pb/RpcServerFactoryPBImpl.java
(original)
+++ hadoop/common/branches/branch-2.0.0-alpha/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/factories/impl/pb/RpcServerFactoryPBImpl.java
Mon May 14 19:03:46 2012
@@ -30,7 +30,6 @@ import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 import org.apache.hadoop.conf.Configuration;
 import org.apache.hadoop.ipc.ProtobufRpcEngine;
-import org.apache.hadoop.ipc.RpcPayloadHeader.RpcKind;
 import org.apache.hadoop.ipc.Server;
 import org.apache.hadoop.ipc.RPC;
 import org.apache.hadoop.security.token.SecretManager;
@@ -171,7 +170,7 @@ public class RpcServerFactoryPBImpl impl
         addr.getHostName(), addr.getPort(), numHandlers, false, conf, 
         secretManager, portRangeConfig);
     LOG.info("Adding protocol "+pbProtocol.getCanonicalName()+" to the server");
-    server.addProtocol(RpcKind.RPC_PROTOCOL_BUFFER, pbProtocol, blockingService);
+    server.addProtocol(RPC.RpcKind.RPC_PROTOCOL_BUFFER, pbProtocol, blockingService);
     return server;
   }
 }



Mime
View raw message