Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 95B2F10A18 for ; Mon, 29 Jul 2013 17:31:51 +0000 (UTC) Received: (qmail 18501 invoked by uid 500); 29 Jul 2013 17:31:50 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 18131 invoked by uid 500); 29 Jul 2013 17:31:50 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 18109 invoked by uid 99); 29 Jul 2013 17:31:50 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Jul 2013 17:31:50 +0000 Date: Mon, 29 Jul 2013 17:31:50 +0000 (UTC) From: "Nicolas Liochon (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-9012) TestBlockReorder.testBlockLocationReorder fails MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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: {quote} org.apache.hadoop.hdfs.server.datanode.DataNode 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 {quote} "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 > > > http://54.241.6.143/job/HBase-0.95/669/org.apache.hbase$hbase-server/testReport/junit/org.apache.hadoop.hbase.fs/TestBlockReorder/testBlockLocationReorder/ > 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.(ServerSocket.java:194) > at java.net.ServerSocket.(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