diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt index ef3530f3219..8f563de9706 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt @@ -924,6 +924,9 @@ Release 2.8.0 - UNRELEASED HDFS-8551. Fix hdfs datanode CLI usage message. (Brahma Reddy Battula via xyao) + HDFS-8615. Correct HTTP method in WebHDFS document. + (Brahma Reddy Battula via aajisaka) + Release 2.7.1 - UNRELEASED INCOMPATIBLE CHANGES diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/WebHDFS.md b/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/WebHDFS.md index d0231a3fb7e..e8f5fee5425 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/WebHDFS.md +++ b/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/WebHDFS.md @@ -691,7 +691,7 @@ See also: [FileSystem](../../api/org/apache/hadoop/fs/FileSystem.html).setAcl * Submit a HTTP GET request. - curl -i -X PUT "http://:/webhdfs/v1/?op=GETACLSTATUS" + curl -i "http://:/webhdfs/v1/?op=GETACLSTATUS" The client receives a response with a [`AclStatus` JSON object](#ACL_Status_JSON_Schema): @@ -718,7 +718,7 @@ See also: [FileSystem](../../api/org/apache/hadoop/fs/FileSystem.html).getAclSta * Submit a HTTP GET request. - curl -i -X PUT "http://:/webhdfs/v1/?op=CHECKACCESS + curl -i "http://:/webhdfs/v1/?op=CHECKACCESS &fsaction= The client receives a response with zero content length: @@ -764,7 +764,7 @@ See also: [FileSystem](../../api/org/apache/hadoop/fs/FileSystem.html).removeXAt * Submit a HTTP GET request. - curl -i -X PUT "http://:/webhdfs/v1/?op=GETXATTRS + curl -i "http://:/webhdfs/v1/?op=GETXATTRS &xattr.name=&encoding=" The client receives a response with a [`XAttrs` JSON object](#XAttrs_JSON_Schema): @@ -788,7 +788,7 @@ See also: [FileSystem](../../api/org/apache/hadoop/fs/FileSystem.html).getXAttr * Submit a HTTP GET request. - curl -i -X PUT "http://:/webhdfs/v1/?op=GETXATTRS + curl -i "http://:/webhdfs/v1/?op=GETXATTRS &xattr.name=&xattr.name= &encoding=" @@ -817,7 +817,7 @@ See also: [FileSystem](../../api/org/apache/hadoop/fs/FileSystem.html).getXAttrs * Submit a HTTP GET request. - curl -i -X PUT "http://:/webhdfs/v1/?op=GETXATTRS + curl -i "http://:/webhdfs/v1/?op=GETXATTRS &encoding=" The client receives a response with a [`XAttrs` JSON object](#XAttrs_JSON_Schema): @@ -849,7 +849,7 @@ See also: [FileSystem](../../api/org/apache/hadoop/fs/FileSystem.html).getXAttrs * Submit a HTTP GET request. - curl -i -X PUT "http://:/webhdfs/v1/?op=LISTXATTRS" + curl -i "http://:/webhdfs/v1/?op=LISTXATTRS" The client receives a response with a [`XAttrNames` JSON object](#XAttrNames_JSON_Schema):