Author: eli
Date: Wed Aug 22 16:19:27 2012
New Revision: 1376121
URL: http://svn.apache.org/viewvc?rev=1376121&view=rev
Log:
HDFS-3830. test_libhdfs_threaded: use forceNewInstance. Contributed by Colin
Patrick McCabe
Modified:
hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/native/libhdfs/test_libhdfs_threaded.c
Modified: hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
URL:
http://svn.apache.org/viewvc/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt?rev=1376121&r1=1376120&r2=1376121&view=diff
==============================================================================
--- hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt (original)
+++ hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt Wed Aug 22
16:19:27 2012
@@ -651,6 +651,9 @@ Branch-2 ( Unreleased changes )
HDFS-3707. TestFSInputChecker: improper use of skip.
(Colin Patrick McCabe via eli)
+ HDFS-3830. test_libhdfs_threaded: use forceNewInstance.
+ (Colin Patrick McCabe via eli)
+
BREAKDOWN OF HDFS-3042 SUBTASKS
HDFS-2185. HDFS portion of ZK-based FailoverController (todd)
Modified:
hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/native/libhdfs/test_libhdfs_threaded.c
URL:
http://svn.apache.org/viewvc/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/native/libhdfs/test_libhdfs_threaded.c?rev=1376121&r1=1376120&r2=1376121&view=diff
==============================================================================
---
hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/native/libhdfs/test_libhdfs_threaded.c
(original)
+++
hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/native/libhdfs/test_libhdfs_threaded.c
Wed Aug 22 16:19:27 2012
@@ -63,6 +63,7 @@ static int hdfsSingleNameNodeConnect(str
bld = hdfsNewBuilder();
if (!bld)
return -ENOMEM;
+ hdfsBuilderSetForceNewInstance(bld);
hdfsBuilderSetNameNode(bld, "localhost");
hdfsBuilderSetNameNodePort(bld, port);
hdfsBuilderConfSetStr(bld, "dfs.block.size",