Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HDFS >> mail # user >> Correct way to use DataNode API

Copy link to this message
Correct way to use DataNode API
Hello list,

        I have been trying to wget a file in my HDFS through DataNode API,
but getting file does not exist error. Here is the command i'm using :

wget http://localhost:50075/streamFile?filename=/demofile.txt -o

And this is the error message :

Resolving localhost (localhost)...
Connecting to localhost (localhost)||:50075... connected.
HTTP request sent, awaiting response... 500 File does not exist: /
2013-06-03 03:19:08 ERROR 500: File does not exist: /.

Could somebody point out the mistake.

Thank you so much for your valuable time.

Warm Regards,