tc.close();
Tap sink = new Hfs(new SequenceFile(new Fields("key", "sum")), OUTPUT_PATH);
Pipe pipe = new Pipe("pipe");
pipe = new Each(pipe, Combiner.function(new SimpleAggregator(), new Fields("key"), new Fields("value"), new Fields("sum"), MemoryBoundLruHashMap.UNLIMITED_ITEM_CAPACITY, 100, new SimpleTupleMemoryUsageEstimator(), new LongMemoryUsageEstimator(), false));
CascadingUtil.get().getFlowConnector().connect(source, sink, pipe).complete();
List<Tuple> tuples = getAllTuples(sink);