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

Switch to Threaded View
Hadoop, mail # user - Wordcount file cannot be located


Copy link to this message
-
Re: Wordcount file cannot be located
unmesha sreeveni 2014-05-02, 03:14
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/