How can I send a file to a Hadoop Cluster from outside?

I want to put files from a machine that is not in the cluster, and It only
has the hadoop client, I thought that it was possible with this:

hadoop fs -copyFromLocal myfile hdfs:///x.x.x.x:8020

but It always returns this:
12/06/27 17:38:33 INFO ipc.Client: Retrying connect to server: localhost/
127.0.0.1:8020. Already tried 0 time(s).

Why is it trying to connect to localhost?

Thanks

Reply via email to