Sure you can. A http download option is also provided in the DataNode web-interface (def-port:50075).
Use the "streamFile" feature of the same. An example follows. If I have a file called 'results' lying as /user/hadoop/results, I'll do: wget http://hostname.top.dom:50075/streamFile?filename=/user/hadoop/results -O results This will get me the file data in the wget-local file 'results' On Tue, Jun 15, 2010 at 7:12 PM, Jaydeep Ayachit <[email protected]> wrote: > Hello, > > HDFS supports http read-only access to filesystem. Is it possible to use wget > to download file using some url like > http://<namenode>:<web<http://%3cnamenode%3e:%3cweb> gui port>/.. > > Thanks > Jaydeep > > > DISCLAIMER > ========== > This e-mail may contain privileged and confidential information which is the > property of Persistent Systems Ltd. It is intended only for the use of the > individual or entity to which it is addressed. If you are not the intended > recipient, you are not authorized to read, retain, copy, print, distribute or > use this message. If you have received this communication in error, please > notify the sender and delete all copies of this message. Persistent Systems > Ltd. does not accept any liability for virus infected mails. > -- Harsh J www.harshj.com
