HDFS-3830. test_libhdfs_threaded: use forceNewInstance. Contributed by Colin Patrick McCabe
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1376122 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d5190bbe00
commit
095553e7a6
|
@ -484,6 +484,9 @@ Release 2.0.1-alpha - UNRELEASED
|
||||||
HDFS-3707. TestFSInputChecker: improper use of skip.
|
HDFS-3707. TestFSInputChecker: improper use of skip.
|
||||||
(Colin Patrick McCabe via eli)
|
(Colin Patrick McCabe via eli)
|
||||||
|
|
||||||
|
HDFS-3830. test_libhdfs_threaded: use forceNewInstance.
|
||||||
|
(Colin Patrick McCabe via eli)
|
||||||
|
|
||||||
BREAKDOWN OF HDFS-3042 SUBTASKS
|
BREAKDOWN OF HDFS-3042 SUBTASKS
|
||||||
|
|
||||||
HDFS-2185. HDFS portion of ZK-based FailoverController (todd)
|
HDFS-2185. HDFS portion of ZK-based FailoverController (todd)
|
||||||
|
|
|
@ -63,6 +63,7 @@ static int hdfsSingleNameNodeConnect(struct NativeMiniDfsCluster *cl, hdfsFS *fs
|
||||||
bld = hdfsNewBuilder();
|
bld = hdfsNewBuilder();
|
||||||
if (!bld)
|
if (!bld)
|
||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
|
hdfsBuilderSetForceNewInstance(bld);
|
||||||
hdfsBuilderSetNameNode(bld, "localhost");
|
hdfsBuilderSetNameNode(bld, "localhost");
|
||||||
hdfsBuilderSetNameNodePort(bld, port);
|
hdfsBuilderSetNameNodePort(bld, port);
|
||||||
hdfsBuilderConfSetStr(bld, "dfs.block.size",
|
hdfsBuilderConfSetStr(bld, "dfs.block.size",
|
||||||
|
|
Loading…
Reference in New Issue