hadoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mohammad Mustaqeem <3m.mustaq...@gmail.com>
Subject Problem in uploading file in WebHDFS
Date Sat, 25 May 2013 12:06:51 GMT
I am using pseudo-distributed Hadoop-2.0.3-alpha.
I want to upload a file named 'abc' from my local filesystem on HDFS at
location "/waseem".
When I run this command on terminal -
curl --negotiate -u : -i -X PUT -T /home/mustaqeem/abc -L '
http://127.0.0.1:50070/webhdfs/v1/waseem?op=CREATE&user.name=mustaqeem'


First it hangs for some time and give following error -

HTTP/1.1 100 Continue

HTTP/1.1 307 TEMPORARY_REDIRECT
Cache-Control: no-cache
Expires: Thu, 01-Jan-1970 00:00:00 GMT
Date: Sat, 25 May 2013 12:01:14 GMT
Pragma: no-cache
Date: Sat, 25 May 2013 12:01:14 GMT
Pragma: no-cache
Content-Type: application/octet-stream
Set-Cookie:
hadoop.auth="u=mustaqeem&p=mustaqeem&t=simple&e=1369519274604&s=HyX9z80lRU+9RdKeN5USW5Q/AZY=";Path=/
Location:
http://mustaqeem:50075/webhdfs/v1/waseem?op=CREATE&user.name=mustaqeem&namenoderpcaddress=localhost:8020&overwrite=false
Content-Length: 0
Server: Jetty(6.1.26)

curl: (7) couldn't connect to host


Whats the problem?

-- 
*With regards ---*
*Mohammad Mustaqeem*,
M.Tech (CSE)
MNNIT Allahabad

Mime
View raw message