Linux中屏蔽storm ui的kill功能解决方法
有两种方法:
1.前端增加nginx,做location
分析ui页面,对应kill的button,html中的action为:
代码如下:
《input enabled=“” onclick=“confirmAction(‘xxxxxxxxxx’, ‘xxxxxxxx’, ‘kill’, true, 30)” type=“button” value=“Kill”》
调用了js的confirmAction方法,这个方法存在于storm-core/src/ui/public/js/script.js 中,方法的定义如下:
...