From c9297b608c40dae053aecec38260e0e733e336ae Mon Sep 17 00:00:00 2001 From: Akira Ajisaka Date: Fri, 25 Nov 2016 21:28:29 +0900 Subject: [PATCH] HDFS-11174. Wrong HttpFS test command in doc. Contributed by John Zhuge. (cherry picked from commit bb1b5e083b6f32646412b292d061ce5721f5dbe1) (cherry picked from commit 6fe5ffd05d41727552834e54695d69a26eddd8d8) --- .../src/site/markdown/ServerSetup.md.vm | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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 3c7f9d317d6..eb0a8c96594 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://:14000?user.name=babu&op=homedir" - HTTP/1.1 200 OK - Content-Type: application/json - Transfer-Encoding: chunked - - {"homeDir":"http:\/\/:14000\/user\/babu"} + $ curl -sS 'http://:14000/webhdfs/v1?op=gethomedirectory&user.name=hdfs' + {"Path":"\/user\/hdfs"} Embedded Tomcat Configuration -----------------------------