Storm入门之Storm示例及UI参数讲解

1、在IDEA本地运行Storm 程序需添加依赖,且scope选项必须为compile。

Storm入门之Storm示例及UI参数讲解_第1张图片

如果scope选项不是compile,则会报以下的错:

Storm入门之Storm示例及UI参数讲解_第2张图片

2、在集群模式下打jar包提交到Storm上运行程序,scope选项必须为provided。

Storm入门之Storm示例及UI参数讲解_第3张图片

--------------------------------------------------------------------------------------------

UI参数介绍

1、

Storm入门之Storm示例及UI参数讲解_第4张图片

Storm入门之Storm示例及UI参数讲解_第5张图片

2、点击helloworld查看具体作业详情

Storm入门之Storm示例及UI参数讲解_第6张图片

Storm入门之Storm示例及UI参数讲解_第7张图片

3、查看作业日志

Storm入门之Storm示例及UI参数讲解_第8张图片

在storm.yaml中设置(三台都要)

Storm入门之Storm示例及UI参数讲解_第9张图片

想要在UI上查看日志还得启动logviewer这个进程(每个节点都得执行)

4、杀死作业

Storm入门之Storm示例及UI参数讲解_第10张图片

5、

 

Storm入门之Storm示例及UI参数讲解_第11张图片

然后点击

Storm入门之Storm示例及UI参数讲解_第12张图片

然后点击

此时可看到

Storm入门之Storm示例及UI参数讲解_第13张图片

 

6、若要看到数据处理结果

Storm入门之Storm示例及UI参数讲解_第14张图片

在弹出的页面选择

Storm入门之Storm示例及UI参数讲解_第15张图片

此时可看到

Storm入门之Storm示例及UI参数讲解_第16张图片

 

 

你可能感兴趣的:(Storm)