Hello Daniel,

I am trying to pass multiple non key values from mapper to reducer. I can pass 
key columns by concatenating the text key values. Can you please give a working 
sample code. Similarly for reading and writing a file inside the hdfs system 
other than normal read and write.

Thanks

Remil

Sent from my iPhone

> On 17 Aug 2017, at 12:34 AM, Daniel Templeton <dan...@cloudera.com> wrote:
> 
> Can you clarify what you mean for #1?  For #2, try this:
> 
> https://tutorials.techmytalk.com/2014/08/16/hadoop-hdfs-java-api/
> 
> Daniel
> 
>> On 8/16/17 8:17 AM, Remil Mohanan wrote:
>> 
>> 
>>> 
>>> 
>>>>> Hi there,
>>>>> 
>>>>> Please help me to get a sample program for each scenario.
>>>>> 
>>>>> 1) need a Java map reducer sample program where multiple parameters
>>>>> are passed from mapper to reducer.
>>>>> 2) need a Java map reducer program where there is a write to a file inside
>>>>> hdfs filesystem as well as a read from a file inside hdfs other than
>>>>> the normal input file and output file mentioned in the mapper and reducer.
>>>>> 
>>>>> Have a nice day
>>>>> 
>>>>> Thanks
>>>>> 
>>>>> Remil
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: mapreduce-dev-unsubscr...@hadoop.apache.org
>> For additional commands, e-mail: mapreduce-dev-h...@hadoop.apache.org
>> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: mapreduce-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: mapreduce-dev-h...@hadoop.apache.org

Reply via email to