HDFS-8615. Correct HTTP method in WebHDFS document. Contributed by Brahma Reddy Battula.
(cherry picked from commit1a169a26bc
) (cherry picked from commit9f9315008e
)
This commit is contained in:
parent
27b786660e
commit
ab04c9ab5f
|
@ -1156,6 +1156,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
|
||||
|
|
|
@ -692,7 +692,7 @@ See also: [FileSystem](../../api/org/apache/hadoop/fs/FileSystem.html).setAcl
|
|||
|
||||
* 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 [`AclStatus` JSON object](#ACL_Status_JSON_Schema):
|
||||
|
||||
|
@ -719,7 +719,7 @@ See also: [FileSystem](../../api/org/apache/hadoop/fs/FileSystem.html).getAclSta
|
|||
|
||||
* 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>
|
||||
|
||||
The client receives a response with zero content length:
|
||||
|
@ -765,7 +765,7 @@ See also: [FileSystem](../../api/org/apache/hadoop/fs/FileSystem.html).removeXAt
|
|||
|
||||
* 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>"
|
||||
|
||||
The client receives a response with a [`XAttrs` JSON object](#XAttrs_JSON_Schema):
|
||||
|
@ -789,7 +789,7 @@ See also: [FileSystem](../../api/org/apache/hadoop/fs/FileSystem.html).getXAttr
|
|||
|
||||
* 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>"
|
||||
|
||||
|
@ -818,7 +818,7 @@ See also: [FileSystem](../../api/org/apache/hadoop/fs/FileSystem.html).getXAttrs
|
|||
|
||||
* 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>"
|
||||
|
||||
The client receives a response with a [`XAttrs` JSON object](#XAttrs_JSON_Schema):
|
||||
|
@ -850,7 +850,7 @@ See also: [FileSystem](../../api/org/apache/hadoop/fs/FileSystem.html).getXAttrs
|
|||
|
||||
* 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 object](#XAttrNames_JSON_Schema):
|
||||
|
||||
|
|
Loading…
Reference in New Issue