1.storm问题总结 Could not find leader nimbus from seed hosts [localhost] Did you specify a valid list of
来源:互联网 发布:鹿晗同性倾向 知乎 编辑:程序博客网 时间:2024/05/23 19:24
1.问题一
org.apache.storm.utils.NimbusLeaderNotFoundException: Could not find leader nimbus from seed hosts [localhost]. Did you specify a valid list of nimbus hosts for config nimbus.seeds?at org.apache.storm.utils.NimbusClient.getConfiguredClientAs(NimbusClient.java:90)
其实网上说了几个解决方法:1.有个解决办法,就是到zoopeeper上把storm节点删掉,重启zookeeper 。
2.添加集群ip.
都没有解决我的这个问题。
其实一开始我使用的hadoop用户,下载下来后,文件的压缩包和解压后的目录都是root的用户权限。虽然我也改变了文件的宿主权限改为了hadoop,但是忘了检查,创建软件接的storm的宿主权限其实没有设置成功还是root的里面的内容是hadoop的。我是用nohup后台启动的,看到报错信息是说没有创建出logs目录。
没办法,手动在storm目录下创建了logs目录(这个时候还没发现宿主权限不是hadoop用户,最外层目录storm的权限)
这个时候我们再去启动storm就会出现上面的那个错误了。在网上找了一下,都是上面的2种解决情况,这个时候我们不是手动去创建了logs目录了么。也改变了其宿主权限。所以我们就可以在logs目录下面去看到日志。打开日志我们会发现,报错:/opt/storm/local这个目录没有这个权限去创建。(由于在解决问题,所以有些日志为了干扰删了,这里就不贴出来了)
然后我就发现了怎么storm的宿主权限没有修改成功,这个时候我改成了hadoop的用户和用户组了。这个时候启动storm,ok成功了。
阅读全文
0 0
- 1.storm问题总结 Could not find leader nimbus from seed hosts [localhost] Did you specify a valid list of
- 当storm报错:Could not find leader nimbus from seed hosts ["127.0.0.1"]解决办法
- Could not find a valid gem 'cocoapods' (>= 0), here is why: Unable to download data from h
- Could not find a valid gem 'cocoapods' (>= 0), here is why: Unable to download data from h
- ERROR: Could not find a valid gem 'sass' (>= 0), here is why: Unable to download data from
- [ERROR] InnoDB: Could not find a valid tablespace file
- Could not find a price list in Ordered UOM xxx and Primary UOM of the item
- Storm nimbus总结
- How do you find length of a Singly Linked list
- *** did not find a matching property.
- Could not find file copypng emitted errors but did not return a nonzero exit code to indicate fail
- Cannot find Velocity template for URL : Did you specify the correct resource loader path?
- tag 'select', field 'list', name 'did': The requested list key '#dList' could not be resolved as a c
- tag 'select', field 'list', name 'did': The requested list key '#id' could not be resolved as a c
- ERRO:cannot launch the modelsim-altera software because you did not specify the path...
- Could not find method com.umeng.analytics.d.a问题
- 出现“Xcode could not find a valid private-key/...”一种解决办法
- xcode 4.2 "XCode could not find a valid private-key/certificate pair for this profile" 解决方案
- 分享-struts2的AJAX怎么实现
- C/C++——为什么类的静态成员函数在定义的时候不写static?
- Mybatis工作机制源码分析—SqlSessionUtils.getSqlSession工作机制
- MySQL优化原理
- AJAX学习笔记
- 1.storm问题总结 Could not find leader nimbus from seed hosts [localhost] Did you specify a valid list of
- 最小割——BZOJ1412/Luogu2598 [ZJOI2009]狼和羊的故事
- 图像轮廓生成Freeman码
- MySql高级知识的一些总结
- idea快捷键
- 微服务框架下的思维变化-OSS.Core基础思路
- 数据库性能分析工具
- phpcms V9浏览记录 插件
- Android解压sd卡里面Zip压缩文件