diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt index a4f0a4a25a8..3c2c9248033 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt @@ -24,6 +24,9 @@ Release 2.6.0 - UNRELEASED HDFS-6643. Refactor INodeWithAdditionalFields.PermissionStatusFormat and INodeFile.HeaderFormat. (szetszwo) + HDFS-6640. Syntax for MKDIRS, CREATESYMLINK, and SETXATTR are given wrongly + in WebHdfs document (missed webhdfs/v1). (Stephen Chu via jing9) + OPTIMIZATIONS BUG FIXES diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/site/apt/WebHDFS.apt.vm b/hadoop-hdfs-project/hadoop-hdfs/src/site/apt/WebHDFS.apt.vm index aad95eb44be..51bc574095d 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/site/apt/WebHDFS.apt.vm +++ b/hadoop-hdfs-project/hadoop-hdfs/src/site/apt/WebHDFS.apt.vm @@ -394,7 +394,7 @@ Hello, webhdfs user! * Submit a HTTP PUT request. +--------------------------------- -curl -i -X PUT "http://:/?op=MKDIRS[&permission=]" +curl -i -X PUT "http://:/webhdfs/v1/?op=MKDIRS[&permission=]" +--------------------------------- The client receives a response with a {{{Boolean JSON Schema}<<>> JSON object}}: @@ -419,7 +419,7 @@ Transfer-Encoding: chunked * Submit a HTTP PUT request. +--------------------------------- -curl -i -X PUT "http://:/?op=CREATESYMLINK +curl -i -X PUT "http://:/webhdfs/v1/?op=CREATESYMLINK &destination=[&createParent=]" +--------------------------------- @@ -934,7 +934,7 @@ Transfer-Encoding: chunked * Submit a HTTP PUT request. +--------------------------------- -curl -i -X PUT "http://:/webhdfs/v1/?op=op=SETXATTR +curl -i -X PUT "http://:/webhdfs/v1/?op=SETXATTR &xattr.name=&xattr.value= &flag=" +---------------------------------