Repository: hadoop
Updated Branches:
  refs/heads/branch-2.6 719fbf813 -> 866d0f6f0


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


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/866d0f6f
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/866d0f6f
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/866d0f6f

Branch: refs/heads/branch-2.6
Commit: 866d0f6f04aa854e0cbc7ec6f0f1219aab28790d
Parents: 719fbf8
Author: Akira Ajisaka <[email protected]>
Authored: Tue Nov 17 16:11:47 2015 +0900
Committer: Akira Ajisaka <[email protected]>
Committed: Tue Nov 17 16:11:47 2015 +0900

----------------------------------------------------------------------
 hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt             |  3 +++
 .../hadoop-hdfs/src/site/apt/WebHDFS.apt.vm             | 12 ++++++------
 2 files changed, 9 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/866d0f6f/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt 
b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
index 3be45f2..edacccc 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
+++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
@@ -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

http://git-wip-us.apache.org/repos/asf/hadoop/blob/866d0f6f/hadoop-hdfs-project/hadoop-hdfs/src/site/apt/WebHDFS.apt.vm
----------------------------------------------------------------------
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 40b2853..89f3fb3 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
@@ -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}}:

Reply via email to