Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Plain View
HDFS >> mail # user >> Problem in uploading file in WebHDFS


+
Mohammad Mustaqeem 2013-05-25, 12:06
+
Sanjay Subramanian 2013-05-25, 15:50
Copy link to this message
-
Re: Problem in uploading file in WebHDFS
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]> 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]>
> 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
+
Mohammad Tariq 2013-05-26, 17:14
+
Mohammad Mustaqeem 2013-05-26, 17:21
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB