Skip to content Skip to sidebar Skip to footer

Hadoop: Output File Has Double Output

I am running a Hadoop program and have the following as my input file, input.txt: 1 2 mapper.py: import sys for line in sys.stdin: print line, print 'Test' reducer.py: import

Solution 1:

It gives the same output. I guess you are specifying the location of reducer to mapper.py only. Make sure you are providing correct path to reducer.py


Post a Comment for "Hadoop: Output File Has Double Output"