HDFS-6640. Merge change r1609603 from trunk.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1609605 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
349b0e3cfb
commit
2581a1cd1b
|
@ -24,6 +24,9 @@ Release 2.6.0 - UNRELEASED
|
||||||
HDFS-6643. Refactor INodeWithAdditionalFields.PermissionStatusFormat and
|
HDFS-6643. Refactor INodeWithAdditionalFields.PermissionStatusFormat and
|
||||||
INodeFile.HeaderFormat. (szetszwo)
|
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
|
OPTIMIZATIONS
|
||||||
|
|
||||||
BUG FIXES
|
BUG FIXES
|
||||||
|
|
|
@ -394,7 +394,7 @@ Hello, webhdfs user!
|
||||||
* Submit a HTTP PUT request.
|
* Submit a HTTP PUT request.
|
||||||
|
|
||||||
+---------------------------------
|
+---------------------------------
|
||||||
curl -i -X PUT "http://<HOST>:<PORT>/<PATH>?op=MKDIRS[&permission=<OCTAL>]"
|
curl -i -X PUT "http://<HOST>:<PORT>/webhdfs/v1/<PATH>?op=MKDIRS[&permission=<OCTAL>]"
|
||||||
+---------------------------------
|
+---------------------------------
|
||||||
|
|
||||||
The client receives a response with a {{{Boolean JSON Schema}<<<boolean>>> JSON object}}:
|
The client receives a response with a {{{Boolean JSON Schema}<<<boolean>>> JSON object}}:
|
||||||
|
@ -419,7 +419,7 @@ Transfer-Encoding: chunked
|
||||||
* Submit a HTTP PUT request.
|
* Submit a HTTP PUT request.
|
||||||
|
|
||||||
+---------------------------------
|
+---------------------------------
|
||||||
curl -i -X PUT "http://<HOST>:<PORT>/<PATH>?op=CREATESYMLINK
|
curl -i -X PUT "http://<HOST>:<PORT>/webhdfs/v1/<PATH>?op=CREATESYMLINK
|
||||||
&destination=<PATH>[&createParent=<true|false>]"
|
&destination=<PATH>[&createParent=<true|false>]"
|
||||||
+---------------------------------
|
+---------------------------------
|
||||||
|
|
||||||
|
@ -934,7 +934,7 @@ Transfer-Encoding: chunked
|
||||||
* Submit a HTTP PUT request.
|
* Submit a HTTP PUT request.
|
||||||
|
|
||||||
+---------------------------------
|
+---------------------------------
|
||||||
curl -i -X PUT "http://<HOST>:<PORT>/webhdfs/v1/<PATH>?op=op=SETXATTR
|
curl -i -X PUT "http://<HOST>:<PORT>/webhdfs/v1/<PATH>?op=SETXATTR
|
||||||
&xattr.name=<XATTRNAME>&xattr.value=<XATTRVALUE>
|
&xattr.name=<XATTRNAME>&xattr.value=<XATTRVALUE>
|
||||||
&flag=<FLAG>"
|
&flag=<FLAG>"
|
||||||
+---------------------------------
|
+---------------------------------
|
||||||
|
|
Loading…
Reference in New Issue