hadoop-hdfs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ken barclay <ken.barc...@att.net>
Subject Re: Put a file to HDFS with WebHDFS ?
Date Wed, 20 Mar 2013 06:19:12 GMT
It didn't fail. If you hit the URL it returned, it will do the create.

--- On Wed, 3/20/13, 小学园PHP <xxy-php@qq.com> wrote:

From: 小学园PHP <xxy-php@qq.com>
Subject: Put a file to HDFS with WebHDFS ?
To: "user" <user@hadoop.apache.org>
Date: Wednesday, March 20, 2013, 3:24 AM

When i use the WebHDFS, i wanna put a file to Hadoop.my curl command:curl -i -X PUT -T /home/levi/3
But i got a return:HTTP/1.1 100 Continue
HTTP/1.1 307 TEMPORARY_REDIRECTContent-Type: application/octet-streamLocation:
0Server: Jetty(6.1.26)
OK, it failed.Do somebody know what has happened?
View raw message