hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "小学园PHP" <xxy-...@qq.com>
Subject Put a file to HDFS with WebHDFS ?
Date Wed, 20 Mar 2013 03:24:46 GMT
When i use the WebHDFS, i wanna put a file to Hadoop.my curl command:
curl -i -X PUT -T /home/levi/3 "http://localhost:50070/webhdfs/v1/levi/3?op=CREATE"


But i got a return:
HTTP/1.1 100 Continue


HTTP/1.1 307 TEMPORARY_REDIRECT
Content-Type: application/octet-stream
Location: http://58.53.211.46:50075/webhdfs/v1/levi/3?op=CREATE&overwrite=false
Content-Length: 0
Server: Jetty(6.1.26)



OK, it failed.
Do somebody know what has happened?
Mime
View raw message