hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hairong Kuang (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HDFS-178) Multiple concurrent instances of TestBalancer and TestBlockReplacements fails
Date Tue, 02 Nov 2010 00:48:26 GMT

     [ https://issues.apache.org/jira/browse/HDFS-178?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Hairong Kuang resolved HDFS-178.
--------------------------------

    Resolution: Later

> Multiple concurrent instances of TestBalancer and TestBlockReplacements fails
> -----------------------------------------------------------------------------
>
>                 Key: HDFS-178
>                 URL: https://issues.apache.org/jira/browse/HDFS-178
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            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.


Mime
View raw message