Re: Map reduce sample program

2017-08-22 Thread Daniel Templeton
On 8/19/17 3:28 AM, Remil Mohanan wrote: I am trying to pass multiple non key values from mapper to reducer. The only way to pass data from the mapper to the reducer is through passing key-values. One common trick is to designate a special key as the out-of-band information key and then use

Re: Map reduce sample program

2017-08-19 Thread Remil Mohanan
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 Re

Re: Map reduce sample program

2017-08-16 Thread Daniel Templeton
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

Map reduce sample program

2017-08-16 Thread Remil Mohanan
> > > >> >>> >>> 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 >>