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 9D8239224 for ; Wed, 4 Apr 2012 00:11:40 +0000 (UTC) Received: (qmail 76092 invoked by uid 500); 4 Apr 2012 00:11:40 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 76054 invoked by uid 500); 4 Apr 2012 00:11:40 -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 76046 invoked by uid 99); 4 Apr 2012 00:11:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Apr 2012 00:11:40 +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; Wed, 04 Apr 2012 00:11:39 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 32B5B35607D for ; Wed, 4 Apr 2012 00:11:19 +0000 (UTC) Date: Wed, 4 Apr 2012 00:11:19 +0000 (UTC) From: "Tsz Wo (Nicholas), SZE (Updated) (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <69717420.9737.1333498279225.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1732226106.20487.1331838517804.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HDFS-3100) failed to append data MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HDFS-3100?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo (Nicholas), SZE updated HDFS-3100: ----------------------------------------- Summary: failed to append data (was: failed to append data using webhd= fs) Revised summary. =20 > failed to append data > --------------------- > > Key: HDFS-3100 > URL: https://issues.apache.org/jira/browse/HDFS-3100 > Project: Hadoop HDFS > Issue Type: Bug > Components: data-node > Affects Versions: 0.24.0, 0.23.1 > Reporter: Zhanwei.Wang > Assignee: Brandon Li > Fix For: 2.0.0 > > Attachments: HDFS-3100.patch, HDFS-3100.patch, HDFS-3100.patch, H= DFS-3100.patch, HDFS-3100.patch, hadoop-wangzw-datanode-ubuntu.log, hadoop-= wangzw-namenode-ubuntu.log, test.sh, testAppend.patch > > > STEP=EF=BC=9A > 1, deploy a single node hdfs 0.23.1 cluster and configure hdfs as: > A) enable webhdfs > B) enable append > C) disable permissions > 2, start hdfs > 3, run the test script as attached > RESULT: > expected: a file named testFile should be created and populated with 32K = * 5000 zeros, HDFS should be OK. > I got: script cannot be finished, file has been created but not be popula= ted as expected, actually append operation failed. > Datanode log shows that, blockscaner report a bad replica and nanenode de= cide to delete it. Since it is a single node cluster, append fail. It makes= no sense that the script failed every time. > Datanode and Namenode logs are attached. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs: https://issues.apache.org/jira/secure/ContactAdministrators!default.jsp= a For more information on JIRA, see: http://www.atlassian.com/software/jira