Hadoop, mail # user - Re: Wordcount file cannot be located - 2014-05-02, 03:14
 Search Hadoop and all its subprojects:

Switch to Threaded View
Copy link to this message
-
Re: Wordcount file cannot be located
Try this along with your MapReduce source code

Configuration config = new Configuration();
config.set("fs.defaultFS", "hdfs://IP:port/");
FileSystem dfs = FileSystem.get(config);
Path path = new Path("/tmp/in");

Let me know your thoughts.
*Thanks & Regards *
*Unmesha Sreeveni U.B*
*Hadoop, Bigdata Developer*
*Center for Cyber Security | Amrita Vishwa Vidyapeetham*
http://www.unmeshasreeveni.blogspot.in/

 
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