Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 64845 invoked from network); 21 May 2008 23:28:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 May 2008 23:28:19 -0000 Received: (qmail 27466 invoked by uid 500); 21 May 2008 23:28:19 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 27440 invoked by uid 500); 21 May 2008 23:28:19 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 27429 invoked by uid 99); 21 May 2008 23:28:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 May 2008 16:28:18 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 May 2008 23:27:39 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 95014234C11B for ; Wed, 21 May 2008 16:27:55 -0700 (PDT) Message-ID: <398706663.1211412475595.JavaMail.jira@brutus> Date: Wed, 21 May 2008 16:27:55 -0700 (PDT) From: "Steve Loughran (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Updated: (HADOOP-3434) Retain cause of bind failure in Server.bind In-Reply-To: <1175087591.1211411998076.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-3434?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Loughran updated HADOOP-3434: ----------------------------------- Attachment: hadoop-3434.patch patch the file to retain the exception text and trace > Retain cause of bind failure in Server.bind > ------------------------------------------- > > Key: HADOOP-3434 > URL: https://issues.apache.org/jira/browse/HADOOP-3434 > Project: Hadoop Core > Issue Type: Improvement > Components: dfs > Affects Versions: 0.18.0 > Reporter: Steve Loughran > Attachments: hadoop-3434.patch > > > When a datanode can't start listening on a port, there's no explanation why; the message/stack is lost: > Caused by: java.net.BindException: Problem binding to localhost/127.0.0.1:8022 > at org.apache.hadoop.ipc.Server.bind(Server.java:168) > at org.apache.hadoop.dfs.DataNode.startDataNode(DataNode.java:279) > at org.apache.hadoop.dfs.DataNode.(DataNode.java:185) > at org.apache.hadoop.dfs.ExtDataNode.(ExtDataNode.java:55) > at org.smartfrog.services.hadoop.components.datanode.DatanodeImpl.sfStart(DatanodeImpl.java:60) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.