开发者社区> 问答> 正文

ERROR 2016-05-29 180009 c.a.j.s.FollowerRunnable85 mainget nimbus host error

启动 nohup jstorm nimbus &时 日志报下面的错误

报告说 nimbus获得的hostname是localhost
那nimbus应该获得什么?
我的/etc/hosts如下
[root@VM_23_114_centos bin]# more /etc/hosts
127.0.0.1    VM_23_114_centos
10.105.23.114   VM_23_114_centos




这个应该怎么设置?

展开
收起
程序员小董 2016-05-29 18:14:34 5019 0
2 条回答
写回答
取消 提交回答
  • ReERROR 2016-05-29 180009 c.a.j.s.FollowerRunnable85 mainget nimbus host error
    hello,
    Cannot start server in local mode!
        at com.alibaba.jstorm.cluster.StormConfig.validate_distributed_mode(StormConfig.java:128) ~[jstorm-core-2.1.1.jar:na]
        at com.alibaba.jstorm.daemon.nimbus.NimbusServer.launchServer(NimbusServer.java:111) [jstorm-core-2.1.1.jar:na]
        at com.alibaba.jstorm.daemon.nimbus.NimbusServer.main(NimbusServer.java:95) [jstorm-core-2.1.1.jar:na]

    what's the problem?
    2016-06-13 00:11:19
    赞同 展开评论 打赏
  • ReERROR 2016-05-29 180009 c.a.j.s.FollowerRunnable85 mainget nimbus host error
    人笨 不能怪社会
    把 /etc/hosts
    改成
    127.0.0.1    localhost
    10.105.23.114   VM_23_114_centos
    最重要的
    设置完后须运行/etc/init.d/network restart,否则不起作用
    2016-05-29 18:38:28
    赞同 展开评论 打赏
问答分类:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
Sketching Data With T-Digest in Apache Spark 立即下载
Data as a Service - 数据即服务 立即下载
低代码开发师(初级)实战教程 立即下载