Difference between revisions of "CSC352 Game of Life in Map-Reduce"

From dftwiki3
Jump to: navigation, search
Line 263: Line 263:
 
   print( "%d\t%d" % ( int( lastCell )/1000, int( lastCell )%1000 ) )
 
   print( "%d\t%d" % ( int( lastCell )/1000, int( lastCell )%1000 ) )
 
</source>
 
</source>
 +
<br />
 +
==Output of Reducer==
 +
<br />
 +
 +
'''cat life0.txt | ./mapper.py | ./shuffleSort.py | ./reducer.py  '''
 +
2 4
 +
2 5
 +
2 6
 +
 
 +
  
 
</onlydft>
 
</onlydft>
 +
<br />
 +
<br />
 +
<br />
 +
<br />
 +
<br />
 +
<br />
 +
<br />
 +
<br />
 +
<br />
 +
<br />
 +
<br />
 +
<br />
 +
<br />
 +
<br />
 +
<br />
 +
<br />
 +
<br />
 +
<br />
 +
<br />
 +
[[Category:CSC352]][[Category:MapReduce]][[Category:Hadoop]][[Category:Python]]

Revision as of 16:58, 2 April 2017

--D. Thiebaut (talk) 16:47, 2 April 2017 (EDT)



...