hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-11195) Return error when appending files by webhdfs rest api fails
Date Tue, 20 Dec 2016 20:52:58 GMT

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

Hudson commented on HDFS-11195:
-------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #11019 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/11019/])
HDFS-11195. Return error when appending files by webhdfs rest api fails. (xiao: rev 5b7acdd206f5a7d1b7af29b68adaa7587d7d8c43)
* (edit) hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/MiniDFSCluster.java
* (edit) hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestWebHDFS.java
* (edit) hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/web/webhdfs/HdfsWriter.java


> Return error when appending files by webhdfs rest api fails
> -----------------------------------------------------------
>
>                 Key: HDFS-11195
>                 URL: https://issues.apache.org/jira/browse/HDFS-11195
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Yuanbo Liu
>            Assignee: Yuanbo Liu
>             Fix For: 2.8.0, 3.0.0-alpha2
>
>         Attachments: HDFS-11195.001.patch, HDFS-11195.002.patch, HDFS-11195.003.patch,
HDFS-11195.004.patch
>
>
> Suppose that there is a Hadoop cluster contains only one datanode, and dfs.replication=3.
Run:
> {code}
> curl -i -X POST -T <LOCAL_FILE> "http://<DATANODE>:<PORT>/webhdfs/v1/<PATH>?op=APPEND"
> {code}
> it returns 200, even though append operation fails.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message