hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicolas Liochon (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-9012) TestBlockReorder.testBlockLocationReorder fails
Date Mon, 29 Jul 2013 17:31:50 GMT

    [ https://issues.apache.org/jira/browse/HBASE-9012?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13722686#comment-13722686

Nicolas Liochon commented on HBASE-9012:

I think it's because the datanode didn't die. The call to shutdown is supposed to be synchronous,
so I'm not sure it's gonna help. In the hdfs javadoc, there is this:
public void shutdown()
Shut down this instance of the datanode. Returns only after shutdown is complete. This method
can only be called by the offerService thread. Otherwise, deadlock might occur

"This method can only be called by the offerService thread" is strange, but when I look at
the code I don't see what it means (MiniDFSCluster#shutdownDataNodes) does not do anything
special with threads.
> TestBlockReorder.testBlockLocationReorder fails
> -----------------------------------------------
>                 Key: HBASE-9012
>                 URL: https://issues.apache.org/jira/browse/HBASE-9012
>             Project: HBase
>          Issue Type: Bug
>          Components: test
>            Reporter: stack
>            Assignee: stack
>             Fix For: 0.95.2
>         Attachments: 9012.txt
> java.net.BindException: Address already in use
> 	at java.net.PlainSocketImpl.socketBind(Native Method)
> 	at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:383)
> 	at java.net.ServerSocket.bind(ServerSocket.java:328)
> 	at java.net.ServerSocket.<init>(ServerSocket.java:194)
> 	at java.net.ServerSocket.<init>(ServerSocket.java:106)
> 	at org.apache.hadoop.hbase.fs.TestBlockReorder.testBlockLocationReorder(TestBlockReorder.java:182)

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message