If possible can you share what was the root cause? Thanks, -Shahab
On Saturday, May 25, 2013, Mohammad Mustaqeem <[email protected]> wrote: > I have fixed that problem. > There were other problems. > Anyways, thanks for your reply. > > > On Sat, May 25, 2013 at 9:20 PM, Sanjay Subramanian < > [email protected] <javascript:_e({}, 'cvml', > '[email protected]');>> wrote: > >> Can u try one of the following >> >> hdfs dfs -put localfile /path/to/dir/in/hdfs >> >> hdfs dfs -copyFromLocal localfile /path/to/dir/in/hdfs >> >> Thanks >> Sanjay. >> >> Sent from my iPhone >> >> On May 25, 2013, at 5:07 AM, "Mohammad Mustaqeem" >> <[email protected]<javascript:_e({}, 'cvml', >> '[email protected]');>> >> wrote: >> >> 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 >> >> >> >> CONFIDENTIALITY NOTICE >> ====================== >> This email message and any attachments are for the exclusive use of the >> intended recipient(s) and may contain confidential and privileged >> information. Any unauthorized review, use, disclosure or distribution is >> prohibited. If you are not the intended recipient, please contact the >> sender by reply email and destroy all copies of the original message along >> with any attachments, from your computer system. If you are the intended >> recipient, please be advised that the content of this message is subject to >> access, review and disclosure by the sender's Email System Administrator. >> > > > > -- > *With regards ---* > *Mohammad Mustaqeem*, > M.Tech (CSE) > MNNIT Allahabad > 9026604270 > > >
