storm
瓦力冫
喜欢看点书,跑跑步,热爱游戏编程
展开
-
storm 入门例子
TopologiesThe logic for a realtime application is packaged into a Storm topology. A Storm topology is analogous to a MapReduce job. One key difference is that a MapReduce job eventually finishes, wher...原创 2018-06-22 19:17:56 · 723 阅读 · 1 评论 -
Storm wordcount
package com.waiting;import org.apache.storm.Config;import org.apache.storm.LocalCluster;import org.apache.storm.shade.org.apache.commons.io.FileUtils;import org.apache.storm.spout.SpoutOutputCol...原创 2018-06-22 19:19:07 · 330 阅读 · 2 评论 -
Storm 本机运行 提交StormSubmitter
1. Storm 启动#启动Zookeepernohup sh storm dev-zookeeper &#启动主节点nohup sh storm nimbus &#启动从节点nohup sh storm supervisor &#启动UI界面nohup sh storm ui &#启动日志查看服务nohup sh storm logviewer ...原创 2018-06-24 13:30:41 · 1102 阅读 · 0 评论 -
storm 分组策略
Stream groupingsPart of defining a topology is specifying for each bolt which streams it should receive as input. A stream grouping defines how that stream should be partitioned among the bolt's tasks...原创 2018-06-30 20:27:22 · 467 阅读 · 0 评论 -
Storm 把结果存到redis
Maven 依赖添加 <dependency> <groupId>org.apache.storm</groupId> <artifactId>storm-redis</artifactId> <version>${storm.version}</version> &原创 2018-06-30 20:28:04 · 1055 阅读 · 0 评论 -
Storm 整合jdbc wordcount
<dependency> <groupId>org.apache.storm</groupId> <artifactId>storm-jdbc</artifactId> <version>1.1.1</version> <type>jar原创 2018-06-30 20:28:39 · 1401 阅读 · 0 评论 -
storm 整合hdfs
1.依赖<dependency><groupId>org.apache.storm</groupId><artifactId>storm-hdfs</artifactId><version>${storm.version}</version><type>jar</t原创 2018-06-30 20:29:17 · 509 阅读 · 0 评论 -
Storm 整合 Hbase
1.依赖<dependency> <groupId>org.apache.storm</groupId> <artifactId>storm-hbase</artifactId> <version>1.1.1</version> <exclusions&原创 2018-06-30 20:29:55 · 2347 阅读 · 1 评论 -
Storm 整合kafka
1.依赖<dependency> <groupId>org.apache.curator</groupId> <artifactId>curator-framework</artifactId> <version>${curator.version}</vers...原创 2018-06-30 20:30:32 · 649 阅读 · 1 评论