Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 100839F95 for ; Thu, 10 May 2012 14:59:17 +0000 (UTC) Received: (qmail 1087 invoked by uid 500); 10 May 2012 14:59:15 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 1042 invoked by uid 500); 10 May 2012 14:59:15 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 985 invoked by uid 99); 10 May 2012 14:59:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 May 2012 14:59:15 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 May 2012 14:59:12 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 4B57B14707 for ; Thu, 10 May 2012 14:58:51 +0000 (UTC) Date: Thu, 10 May 2012 14:58:51 +0000 (UTC) From: "Brahma Reddy Battula (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <494169495.49605.1336661931310.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1769512432.49593.1336661929631.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HDFS-3398) Client will not retry when primaryDN is down once it's just got pipeline 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/HDFS-3398?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brahma Reddy Battula updated HDFS-3398: --------------------------------------- Issue Type: Bug (was: Task) > Client will not retry when primaryDN is down once it's just got pipeline > ------------------------------------------------------------------------ > > Key: HDFS-3398 > URL: https://issues.apache.org/jira/browse/HDFS-3398 > Project: Hadoop HDFS > Issue Type: Bug > Affects Versions: 2.0.0 > Reporter: Brahma Reddy Battula > Priority: Minor > Fix For: 3.0.0 > > > Scenario: > ========= > Start NN and three DN"S > Get the datanode to which blocks has to be replicated. > from > {code} > nodes = nextBlockOutputStream(src); > {code} > Before start writing to the DN ,kill the primary DN. > {code} > // write out data to remote datanode > blockStream.write(buf.array(), buf.position(), buf.remaining()); > blockStream.flush(); > {code} > Now write will fail with the exception > {noformat} > 2012-05-10 14:21:47,993 WARN hdfs.DFSClient (DFSOutputStream.java:run(552)) - DataStreamer Exception > java.io.IOException: An established connection was aborted by the software in your host machine > at sun.nio.ch.SocketDispatcher.write0(Native Method) > at sun.nio.ch.SocketDispatcher.write(Unknown Source) > at sun.nio.ch.IOUtil.writeFromNativeBuffer(Unknown Source) > at sun.nio.ch.IOUtil.write(Unknown Source) > at sun.nio.ch.SocketChannelImpl.write(Unknown Source) > at org.apache.hadoop.net.SocketOutputStream$Writer.performIO(SocketOutputStream.java:60) > at org.apache.hadoop.net.SocketIOWithTimeout.doIO(SocketIOWithTimeout.java:142) > at org.apache.hadoop.net.SocketOutputStream.write(SocketOutputStream.java:151) > at org.apache.hadoop.net.SocketOutputStream.write(SocketOutputStream.java:112) > at java.io.BufferedOutputStream.write(Unknown Source) > at java.io.DataOutputStream.write(Unknown Source) > at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.run(DFSOutputStream.java:513) > {noformat} > . -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira