You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Yuanbo Liu (JIRA)" <ji...@apache.org> on 2016/12/01 07:05:58 UTC

[jira] [Created] (HDFS-11195) When appending files by webhdfs rest api fails, it returns 200

Yuanbo Liu created HDFS-11195:
---------------------------------

             Summary: When appending files by webhdfs rest api fails, it returns 200
                 Key: HDFS-11195
                 URL: https://issues.apache.org/jira/browse/HDFS-11195
             Project: Hadoop HDFS
          Issue Type: Bug
            Reporter: Yuanbo Liu
            Assignee: Yuanbo Liu


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-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org