HDFS-8615. Correct HTTP method in WebHDFS document. Contributed by Brahma Reddy Battula.

This commit is contained in:
Akira Ajisaka 2015-11-17 16:11:47 +09:00
parent 719fbf813e
commit 866d0f6f04
2 changed files with 9 additions and 6 deletions

View File

@ -12,6 +12,9 @@ Release 2.6.3 - UNRELEASED
BUG FIXES
HDFS-8615. Correct HTTP method in WebHDFS document.
(Brahma Reddy Battula via aajisaka)
Release 2.6.2 - 2015-10-28
INCOMPATIBLE CHANGES

View File

@ -895,7 +895,7 @@ Content-Length: 0
* Submit a HTTP GET request.
+---------------------------------
curl -i -X PUT "http://<HOST>:<PORT>/webhdfs/v1/<PATH>?op=GETACLSTATUS"
curl -i "http://<HOST>:<PORT>/webhdfs/v1/<PATH>?op=GETACLSTATUS"
+---------------------------------
The client receives a response with a {{{ACL Status JSON Schema}<<<AclStatus>>> JSON object}}:
@ -929,7 +929,7 @@ Transfer-Encoding: chunked
* Submit a HTTP GET request.
+---------------------------------
curl -i -X PUT "http://<HOST>:<PORT>/webhdfs/v1/<PATH>?op=CHECKACCESS
curl -i "http://<HOST>:<PORT>/webhdfs/v1/<PATH>?op=CHECKACCESS
&fsaction=<FSACTION>
+---------------------------------
@ -998,7 +998,7 @@ Content-Length: 0
* Submit a HTTP GET request.
+---------------------------------
curl -i -X PUT "http://<HOST>:<PORT>/webhdfs/v1/<PATH>?op=GETXATTRS
curl -i "http://<HOST>:<PORT>/webhdfs/v1/<PATH>?op=GETXATTRS
&xattr.name=<XATTRNAME>&encoding=<ENCODING>"
+---------------------------------
@ -1030,7 +1030,7 @@ Transfer-Encoding: chunked
* Submit a HTTP GET request.
+---------------------------------
curl -i -X PUT "http://<HOST>:<PORT>/webhdfs/v1/<PATH>?op=GETXATTRS
curl -i "http://<HOST>:<PORT>/webhdfs/v1/<PATH>?op=GETXATTRS
&xattr.name=<XATTRNAME1>&xattr.name=<XATTRNAME2>
&encoding=<ENCODING>"
+---------------------------------
@ -1067,7 +1067,7 @@ Transfer-Encoding: chunked
* Submit a HTTP GET request.
+---------------------------------
curl -i -X PUT "http://<HOST>:<PORT>/webhdfs/v1/<PATH>?op=GETXATTRS
curl -i "http://<HOST>:<PORT>/webhdfs/v1/<PATH>?op=GETXATTRS
&encoding=<ENCODING>"
+---------------------------------
@ -1107,7 +1107,7 @@ Transfer-Encoding: chunked
* Submit a HTTP GET request.
+---------------------------------
curl -i -X PUT "http://<HOST>:<PORT>/webhdfs/v1/<PATH>?op=LISTXATTRS"
curl -i "http://<HOST>:<PORT>/webhdfs/v1/<PATH>?op=LISTXATTRS"
+---------------------------------
The client receives a response with a {{{XAttrNames JSON Schema}<<<XAttrNames>>> JSON object}}: