Package ml.shifu.guagua.example.sum
This package contains simple sum example for all numbers in input. It is a hello-world example for guagua iteration
framework.
How to run it, see src/main/bash/run-sum.sh
-
Class Summary Class Description SumMaster Sum all workers' results together.SumOutput SumOutputis used to write the final model output to file system.SumSequenceFileWorker SumSequenceFileWorkeris used to accumulate the sum value for each line.SumWorker SumWorkeris used to accumulate the sum value for each line.