HDFS-11174. Wrong HttpFS test command in doc. Contributed by John Zhuge.
(cherry picked from commitbb1b5e083b
) (cherry picked from commit6fe5ffd05d
)
This commit is contained in:
parent
011d478aab
commit
c9297b608c
|
@ -64,12 +64,8 @@ NOTE: Invoking the script without any parameters list all possible parameters (s
|
||||||
Test HttpFS is working
|
Test HttpFS is working
|
||||||
----------------------
|
----------------------
|
||||||
|
|
||||||
~ $ curl -i "http://<HTTPFSHOSTNAME>:14000?user.name=babu&op=homedir"
|
$ curl -sS 'http://<HTTPFSHOSTNAME>:14000/webhdfs/v1?op=gethomedirectory&user.name=hdfs'
|
||||||
HTTP/1.1 200 OK
|
{"Path":"\/user\/hdfs"}
|
||||||
Content-Type: application/json
|
|
||||||
Transfer-Encoding: chunked
|
|
||||||
|
|
||||||
{"homeDir":"http:\/\/<HTTPFS_HOST>:14000\/user\/babu"}
|
|
||||||
|
|
||||||
Embedded Tomcat Configuration
|
Embedded Tomcat Configuration
|
||||||
-----------------------------
|
-----------------------------
|
||||||
|
|
Loading…
Reference in New Issue