Multiple concurrent instances of TestBalancer and TestBlockReplacements fails -----------------------------------------------------------------------------
Key: HADOOP-2609 URL: https://issues.apache.org/jira/browse/HADOOP-2609 Project: Hadoop Issue Type: Bug Components: dfs Reporter: dhruba borthakur Assignee: Hairong Kuang These unit tests use a file /tmp.txt. This causes problems if I run two instances of unit tests on two different workspaces concurrently. [junit] Running org.apache.hadoop.dfs.TestBlockReplacement [junit] Tests run: 2, Failures: 0, Errors: 1, Time elapsed: 34.464 sec [junit] Exception abandoning create lock on /tmp.txt [junit] java.net.ConnectException: Connection refused [junit] at java.net.PlainSocketImpl.socketConnect(Native Method) [junit] at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) [junit] at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) [junit] at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) [junit] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) [junit] at java.net.Socket.connect(Socket.java:519) [junit] at org.apache.hadoop.ipc.Client$Connection.setupIOstreams(Client.java:159) [junit] at org.apache.hadoop.ipc.Client.getConnection(Client.java:575) [junit] at org.apache.hadoop.ipc.Client.call(Client.java:498) [junit] at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:198) [junit] at org.apache.hadoop.dfs.$Proxy0.abandonFileInProgress(Unknown Source) [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [junit] at java.lang.reflect.Method.invoke(Method.java:597) [junit] at org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:82) [junit] at org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:59) [junit] at org.apache.hadoop.dfs.$Proxy0.abandonFileInProgress(Unknown Source) [junit] at org.apache.hadoop.dfs.DFSClient.close(DFSClient.java:176) [junit] at org.apache.hadoop.dfs.DistributedFileSystem.close(DistributedFileSystem.java:183) [junit] at org.apache.hadoop.fs.FileSystem.closeAll(FileSystem.java:193) [junit] at org.apache.hadoop.fs.FileSystem$ClientFinalizer.run(FileSystem.java:174) [junit] Test org.apache.hadoop.dfs.TestBlockReplacement FAILED -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.