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

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

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

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

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

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

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

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

UI参数介绍

1、

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

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

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

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

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

3、查看作业日志

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

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

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

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

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

4、杀死作业

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

5、


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

然后点击

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

然后点击

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

此时可看到

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


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

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

在弹出的页面选择

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

此时可看到

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