hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lium...@apache.org
Subject [24/48] hadoop git commit: HDFS-11174. Wrong HttpFS test command in doc. Contributed by John Zhuge.
Date Wed, 30 Nov 2016 05:01:14 GMT
HDFS-11174. Wrong HttpFS test command in doc. Contributed by John Zhuge.


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

Branch: refs/heads/HADOOP-13345
Commit: bb1b5e083b6f32646412b292d061ce5721f5dbe1
Parents: 636f754
Author: Akira Ajisaka <aajisaka@apache.org>
Authored: Fri Nov 25 21:28:29 2016 +0900
Committer: Akira Ajisaka <aajisaka@apache.org>
Committed: Fri Nov 25 21:28:29 2016 +0900

----------------------------------------------------------------------
 .../hadoop-hdfs-httpfs/src/site/markdown/ServerSetup.md.vm   | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/bb1b5e08/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/site/markdown/ServerSetup.md.vm
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/site/markdown/ServerSetup.md.vm b/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/site/markdown/ServerSetup.md.vm
index 6a03a45..a4f02e7 100644
--- a/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/site/markdown/ServerSetup.md.vm
+++ b/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/site/markdown/ServerSetup.md.vm
@@ -64,12 +64,8 @@ NOTE: Invoking the script without any parameters list all possible parameters
(s
 Test HttpFS is working
 ----------------------
 
-    ~ $ curl -i "http://<HTTPFSHOSTNAME>:14000?user.name=babu&op=homedir"
-    HTTP/1.1 200 OK
-    Content-Type: application/json
-    Transfer-Encoding: chunked
-
-    {"homeDir":"http:\/\/<HTTPFS_HOST>:14000\/user\/babu"}
+    $ curl -sS 'http://<HTTPFSHOSTNAME>:14000/webhdfs/v1?op=gethomedirectory&user.name=hdfs'
+    {"Path":"\/user\/hdfs"}
 
 Embedded Tomcat Configuration
 -----------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message