06 2015 档案
摘要:1、启动Nimbusbin/storm nimbus &2、启动Supervisorbin/storm supervisor &3、启动UIbin/storm ui &通过http://主机:8080去访问:4、列出拓扑bin/storm listTopology_name Statu...
阅读全文
摘要:场景:采集日志数据,日志数据有多个字段组成,需求是根据日志数据中的N个字段(维度),去统计指标数据(个数、平均值)等。
阅读全文
摘要:1、拓扑(Topology):builder.setBolt(TRANSFORM_BOLT, new TransformationBolt(), 1).shuffleGrouping(MY_SPOUT);builder.setBolt(PROCESS1_BOLT, new FirstProcessB...
阅读全文