我构建了这样的风暴三叉戟拓扑:
tridentTopology.newStream(spoutId, spout).parallelismHint(spoutParallel)
.each(new Fields("tId", "message"), new VerifyFilter())
.each(new Fields("tId", "message"), new ParseFunction(), new Fields("rowKey", "column", "value"))
.groupBy(new Fields("rowKey", "column"))
.aggregate(new Fields("value"),new Count(),new Fields("count"))
.each(new Fields("rowKey", "column", "count"), new SaveFunction(), new Fields(columns))
.shuffle()
.partitionPersist(factory, new Fields(rowKeyANdColumns), new HBaseUpdater())
.parallelismHint(boltParallel);
util执行each(new Fields("rowKey", "column", "count"), new SaveFunction(), new Fields(columns)
,我在SaveFunction中获得了打印日志,
但是partitionPersist没有和hbase约会,并且在所有拓扑中都没有错误;
谁可以提出一些建议?