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

Switch to Threaded View
MapReduce, mail # user - Query regarding Hadoop version 0.20.203


Copy link to this message
-
Query regarding Hadoop version 0.20.203
Piyush Kansal 2012-03-05, 09:46
Hi,

I am quite new to Hadoop and Java as well and have two questions:

*Ques 1:*
=====I have a HDFS directory which contains the o/p files of reducer. I want to
read all the part-r-* files present in this directory.

I have already tried following options as follows but no luck:
- FileSystem.listStatus
- FileSystem.getContentSummary
- FileSystem.globStatus
- FileUtil.stat2Paths
- Cant use FileUtil.listFiles as it in not present in 0.20.203

Can you please suggest how can I do it?

*Ques 2:*
=====Since MultipleOutputs/MultipleOutputFormat is not there in 0.20.203, so can
we achieve the same functionality provided by these classes.

--
Regards,
Piyush Kansal