You need to have the hdfs classes on your client machine, which will provide you with the HDFS API to read/write from the cluster. Your client machine does not have to be a part of the cluster. -Ayon See My Photos on Flickr Also check out my Blog for answers to commonly asked questions.
________________________________ From: Yang Xiaoliang <yangxiaoliang2...@gmail.com> To: hdfs-user@hadoop.apache.org Sent: Sunday, July 24, 2011 9:18 PM Subject: access HDFS file from outside the Hadoop Cluster Hi all, I want to write a file into HDFS from outside the Hadoop cluser. The hadoop runs on nodeA, nodeB, nodeC, ... but my program runs on another node on the same local network (but not in the hadoop cluser), so, how to write a file into the HDFS from this node? Could anyone help? Thanks!