HDFS-2532. TestDfsOverAvroRpc timing out in trunk. Contributed by Uma Maheswara Rao G.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1204366 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
896b28eacb
commit
5bc66c4c86
@ -104,6 +104,9 @@ Trunk (unreleased changes)
|
|||||||
HDFS-2526. (Client)NamenodeProtocolTranslatorR23 do not need to keep a
|
HDFS-2526. (Client)NamenodeProtocolTranslatorR23 do not need to keep a
|
||||||
reference to rpcProxyWithoutRetry (atm)
|
reference to rpcProxyWithoutRetry (atm)
|
||||||
|
|
||||||
|
HDFS-2532. TestDfsOverAvroRpc timing out in trunk (Uma Maheswara Rao G
|
||||||
|
via todd)
|
||||||
|
|
||||||
Release 0.23.1 - UNRELEASED
|
Release 0.23.1 - UNRELEASED
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
@ -48,8 +48,10 @@
|
|||||||
import org.apache.hadoop.hdfs.protocol.DatanodeInfo;
|
import org.apache.hadoop.hdfs.protocol.DatanodeInfo;
|
||||||
import org.apache.hadoop.hdfs.protocol.ExtendedBlock;
|
import org.apache.hadoop.hdfs.protocol.ExtendedBlock;
|
||||||
import org.apache.hadoop.hdfs.protocol.HdfsConstants.DatanodeReportType;
|
import org.apache.hadoop.hdfs.protocol.HdfsConstants.DatanodeReportType;
|
||||||
import org.apache.hadoop.hdfs.server.common.HdfsServerConstants.StartupOption;
|
import org.apache.hadoop.hdfs.protocolR23Compatible.ClientDatanodeWireProtocol;
|
||||||
|
import org.apache.hadoop.hdfs.protocolR23Compatible.ClientNamenodeWireProtocol;
|
||||||
import org.apache.hadoop.hdfs.server.common.Storage;
|
import org.apache.hadoop.hdfs.server.common.Storage;
|
||||||
|
import org.apache.hadoop.hdfs.server.common.HdfsServerConstants.StartupOption;
|
||||||
import org.apache.hadoop.hdfs.server.datanode.DataNode;
|
import org.apache.hadoop.hdfs.server.datanode.DataNode;
|
||||||
import org.apache.hadoop.hdfs.server.datanode.DataNodeTestUtils;
|
import org.apache.hadoop.hdfs.server.datanode.DataNodeTestUtils;
|
||||||
import org.apache.hadoop.hdfs.server.datanode.DataStorage;
|
import org.apache.hadoop.hdfs.server.datanode.DataStorage;
|
||||||
@ -512,6 +514,8 @@ private void initMiniDFSCluster(int nameNodePort, int nameNodeHttpPort,
|
|||||||
try {
|
try {
|
||||||
Class<?> rpcEngine = conf.getClassByName(rpcEngineName);
|
Class<?> rpcEngine = conf.getClassByName(rpcEngineName);
|
||||||
setRpcEngine(conf, NamenodeProtocols.class, rpcEngine);
|
setRpcEngine(conf, NamenodeProtocols.class, rpcEngine);
|
||||||
|
setRpcEngine(conf, ClientNamenodeWireProtocol.class, rpcEngine);
|
||||||
|
setRpcEngine(conf, ClientDatanodeWireProtocol.class, rpcEngine);
|
||||||
setRpcEngine(conf, NamenodeProtocol.class, rpcEngine);
|
setRpcEngine(conf, NamenodeProtocol.class, rpcEngine);
|
||||||
setRpcEngine(conf, ClientProtocol.class, rpcEngine);
|
setRpcEngine(conf, ClientProtocol.class, rpcEngine);
|
||||||
setRpcEngine(conf, DatanodeProtocol.class, rpcEngine);
|
setRpcEngine(conf, DatanodeProtocol.class, rpcEngine);
|
||||||
|
Loading…
Reference in New Issue
Block a user