Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 22746 invoked from network); 11 Oct 2007 16:44:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Oct 2007 16:44:15 -0000 Received: (qmail 47915 invoked by uid 500); 11 Oct 2007 16:44:00 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 47782 invoked by uid 500); 11 Oct 2007 16:43:59 -0000 Mailing-List: contact hadoop-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hadoop-dev@lucene.apache.org Delivered-To: mailing list hadoop-dev@lucene.apache.org Received: (qmail 47773 invoked by uid 99); 11 Oct 2007 16:43:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Oct 2007 09:43:59 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Oct 2007 16:44:11 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id F0BBF71420E for ; Thu, 11 Oct 2007 09:43:50 -0700 (PDT) Message-ID: <28353794.1192121030981.JavaMail.jira@brutus> Date: Thu, 11 Oct 2007 09:43:50 -0700 (PDT) From: "Hairong Kuang (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Updated: (HADOOP-2018) Broken pipe SocketException in DataNode$DataXceiver In-Reply-To: <27234955.1191965150854.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-2018?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hairong Kuang updated HADOOP-2018: ---------------------------------- Attachment: pipe1.patch The patch fixed the leading space problem. > Broken pipe SocketException in DataNode$DataXceiver > --------------------------------------------------- > > Key: HADOOP-2018 > URL: https://issues.apache.org/jira/browse/HADOOP-2018 > Project: Hadoop > Issue Type: Bug > Components: dfs > Affects Versions: 0.15.0 > Reporter: Konstantin Shvachko > Assignee: Hairong Kuang > Priority: Blocker > Fix For: 0.15.0 > > Attachments: pipe.patch, pipe1.patch > > > I have 2 data-nodes, one of which is trying to replicate blocks to another. > The second data-node throws the following excpetion for every replicated block. > {code} > 07/10/09 20:36:39 INFO dfs.DataNode: Received block blk_-8942388986043611634 from /a.d.d.r:43159 > 07/10/09 20:36:39 WARN dfs.DataNode: Error writing reply back to /a.d.d.r:43159for writing block blk_-8942388986043611634 > 07/10/09 20:36:39 WARN dfs.DataNode: java.net.SocketException: Broken pipe > at java.net.SocketOutputStream.socketWrite0(Native Method) > at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92) > at java.net.SocketOutputStream.write(SocketOutputStream.java:115) > at java.io.DataOutputStream.writeShort(DataOutputStream.java:151) > at org.apache.hadoop.dfs.DataNode$DataXceiver.writeBlock(DataNode.java:939) > at org.apache.hadoop.dfs.DataNode$DataXceiver.run(DataNode.java:763) > at java.lang.Thread.run(Thread.java:619) > {code} > # It looks like that the first data-node does not expect to receive anything from the second one and closes the connection. > # There should be a space in front of > {code} > + "for writing block " + block ); > {code} > # The port number is misleading in these messages. DataXceivers open sockets on different ports every time, which is > different from the data-node's main port. So we should rather print here the main port in order to be able to recognize > wich data-node the block was sent from. > Is this related to HADOOP-1908? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.