소스 검색

HDFS-11174. Wrong HttpFS test command in doc. Contributed by John Zhuge.

(cherry picked from commit bb1b5e083b6f32646412b292d061ce5721f5dbe1)
Akira Ajisaka 8 년 전
부모
커밋
6fe5ffd05d
1개의 변경된 파일2개의 추가작업 그리고 6개의 파일을 삭제
  1. 2 6
      hadoop-hdfs-project/hadoop-hdfs-httpfs/src/site/markdown/ServerSetup.md.vm

+ 2 - 6
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
 -----------------------------