public class SumOutput extends ml.shifu.guagua.master.BasicMasterInterceptor<GuaguaWritableAdapter<org.apache.hadoop.io.LongWritable>,GuaguaWritableAdapter<org.apache.hadoop.io.LongWritable>>
SumOutput is used to write the final model output to file system.| Constructor and Description |
|---|
SumOutput() |
| Modifier and Type | Method and Description |
|---|---|
void |
postApplication(ml.shifu.guagua.master.MasterContext<GuaguaWritableAdapter<org.apache.hadoop.io.LongWritable>,GuaguaWritableAdapter<org.apache.hadoop.io.LongWritable>> context)
Get output file setting and write final sum value to HDFS file.
|
public void postApplication(ml.shifu.guagua.master.MasterContext<GuaguaWritableAdapter<org.apache.hadoop.io.LongWritable>,GuaguaWritableAdapter<org.apache.hadoop.io.LongWritable>> context)
postApplication in interface ml.shifu.guagua.master.MasterInterceptor<GuaguaWritableAdapter<org.apache.hadoop.io.LongWritable>,GuaguaWritableAdapter<org.apache.hadoop.io.LongWritable>>postApplication in class ml.shifu.guagua.master.BasicMasterInterceptor<GuaguaWritableAdapter<org.apache.hadoop.io.LongWritable>,GuaguaWritableAdapter<org.apache.hadoop.io.LongWritable>>Copyright © 2015. All Rights Reserved.