hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-3100) failed to append data using webhdfs
Date Thu, 22 Mar 2012 00:45:26 GMT

    [ https://issues.apache.org/jira/browse/HDFS-3100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13235261#comment-13235261
] 

Hudson commented on HDFS-3100:
------------------------------

Integrated in Hadoop-Common-trunk-Commit #1913 (See [https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1913/])
    HDFS-3100. In BlockSender, throw an exception when it needs to verify checksum but the
meta data does not exist.  Contributed by Brandon Li (Revision 1303628)

     Result = SUCCESS
szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1303628
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/BlockSender.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/AppendTestUtil.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestHDFSFileSystemContract.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestWebHdfsFileSystemContract.java

                
> failed to append data using webhdfs
> -----------------------------------
>
>                 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: 0.24.0, 0.23.3
>
>         Attachments: HDFS-3100.patch, HDFS-3100.patch, HDFS-3100.patch, HDFS-3100.patch,
HDFS-3100.patch, hadoop-wangzw-datanode-ubuntu.log, hadoop-wangzw-namenode-ubuntu.log, test.sh,
testAppend.patch
>
>
> STEP:
> 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 populated as expected,
actually append operation failed.
> Datanode log shows that, blockscaner report a bad replica and nanenode decide 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 administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message