https://stackoverflow.com/questions/40949967/running-storm-from-intellij-nimbus-error

I am learning storm, and I made a simple project. I remember running it, and it worked as I can recall, but now when I try to run it from intellij I get a runtime error, can someone help me solve the problem? The error message:

25107 [main] ERROR o.a.s.d.nimbus - Error on initialization of server service-handler
java.lang.RuntimeException: Something wrong with network/dns config, host cant figure out its name
at org.apache.storm.nimbus.NimbusInfo.fromConf(NimbusInfo.java:64) ~[storm-core-1.0.2.jar:1.0.2]
at org.apache.storm.daemon.nimbus$nimbus_data.invoke(nimbus.clj:169) ~[storm-core-1.0.2.jar:1.0.2]
at org.apache.storm.daemon.nimbus$fn__7166$exec_fn__2466__auto____7167.invoke(nimbus.clj:1349) ~[storm-core-1.0.2.jar:1.0.2]
at clojure.lang.AFn.applyToHelper(AFn.java:156) ~[clojure-1.7.0.jar:?]
at clojure.lang.AFn.applyTo(AFn.java:144) ~[clojure-1.7.0.jar:?]
at clojure.core$apply.invoke(core.clj:630) ~[clojure-1.7.0.jar:?]
at org.apache.storm.daemon.nimbus$fn__7166$service_handler__7410.doInvoke(nimbus.clj:1346) [storm-core-1.0.2.jar:1.0.2]
at clojure.lang.RestFn.invoke(RestFn.java:421) [clojure-1.7.0.jar:?]
at org.apache.storm.testing$mk_local_storm_cluster.doInvoke(testing.clj:151) [storm-core-1.0.2.jar:1.0.2]
at clojure.lang.RestFn.invoke(RestFn.java:421) [clojure-1.7.0.jar:?]
at org.apache.storm.LocalCluster$_init.invoke(LocalCluster.clj:31) [storm-core-1.0.2.jar:1.0.2]
at org.apache.storm.LocalCluster.<init>(Unknown Source) [storm-core-1.0.2.jar:1.0.2]
at stormtesting.App.main(App.java:20) [classes/:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_79]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_79]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_79]
at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_79]
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144) [idea_rt.jar:?]
Caused by: java.net.UnknownHostException: Manningers-MacBook-Pro-2.local: Manningers-MacBook-Pro-2.local: nodename nor servname provided, or not known
at java.net.InetAddress.getLocalHost(InetAddress.java:1475) ~[?:1.7.0_79]
at org.apache.storm.nimbus.NimbusInfo.fromConf(NimbusInfo.java:54) ~[storm-core-1.0.2.jar:1.0.2]
... 17 more
Caused by: java.net.UnknownHostException: Manningers-MacBook-Pro-2.local: nodename nor servname provided, or not known
at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) ~[?:1.7.0_79]
at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:901) ~[?:1.7.0_79]
at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1295) ~[?:1.7.0_79]
at java.net.InetAddress.getLocalHost(InetAddress.java:1471) ~[?:1.7.0_79]
at org.apache.storm.nimbus.NimbusInfo.fromConf(NimbusInfo.java:54) ~[storm-core-1.0.2.jar:1.0.2]
... 17 more
25131 [main] ERROR o.a.s.util - Halting process: ("Error on initialization")
java.lang.RuntimeException: ("Error on initialization")
at org.apache.storm.util$exit_process_BANG_.doInvoke(util.clj:341) [storm-core-1.0.2.jar:1.0.2]
at clojure.lang.RestFn.invoke(RestFn.java:423) [clojure-1.7.0.jar:?]
at org.apache.storm.daemon.nimbus$fn__7166$service_handler__7410.doInvoke(nimbus.clj:1346) [storm-core-1.0.2.jar:1.0.2]
at clojure.lang.RestFn.invoke(RestFn.java:421) [clojure-1.7.0.jar:?]
at org.apache.storm.testing$mk_local_storm_cluster.doInvoke(testing.clj:151) [storm-core-1.0.2.jar:1.0.2]
at clojure.lang.RestFn.invoke(RestFn.java:421) [clojure-1.7.0.jar:?]
at org.apache.storm.LocalCluster$_init.invoke(LocalCluster.clj:31) [storm-core-1.0.2.jar:1.0.2]
at org.apache.storm.LocalCluster.<init>(Unknown Source) [storm-core-1.0.2.jar:1.0.2]
at stormtesting.App.main(App.java:20) [classes/:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_79]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_79]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_79]
at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_79]
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144) [idea_rt.jar:?]

I just want to run it locally now until I develop the topology. Or is this a bad approach?

asked Dec 3 '16 at 16:32
mani

102

It can't resolve Manningers-MacBook-Pro-2.local . Add this in your /etc/hosts 127.0.0.1 Manningers-MacBook-Pro-2.local

https://stackoverflow.com/questions/40949967/running-storm-from-intellij-nimbus-error的更多相关文章

  1. https://stackoverflow.com/questions/51751426/failed-to-run-the-da-platform-trial-vm

    https://stackoverflow.com/questions/51751426/failed-to-run-the-da-platform-trial-vm {  "annotat ...

  2. https://stackoverflow.com/questions/16130292/java-lang-outofmemoryerror-permgen-space-java-reflection

    https://stackoverflow.com/questions/16130292/java-lang-outofmemoryerror-permgen-space-java-reflectio ...

  3. 国外的非常好的开发提问回答的网站https://stackoverflow.com/questions

    https://stackoverflow.com/questions 可以进行搜索,在页面顶部,有搜索输入框

  4. https://stackoverflow.com/questions/3232943/update-value-of-a-nested-dictionary-of-varying-depth

    https://stackoverflow.com/questions/3232943/update-value-of-a-nested-dictionary-of-varying-depth p.p ...

  5. IIS Express 域认证问题(https://stackoverflow.com/questions/4762538/iis-express-windows-authentication)

    option-1: edit \My Documents\IISExpress\config\applicationhost.config file and enable windowsAuthent ...

  6. https://stackoverflow.com/questions/10423781/sql-data-range-min-max-category

    select phone,count(order_id) as c from table_recordgroup by phoneorder by c desc SELECT CASEWHEN (ag ...

  7. Github问题:fatal: unable to access 'https://github.com/LIU-HONGYANG/Algorithm.git/': The requested URL returned error: 403

    在向服务器push之后,出现如下问题: The requested URL returned error: 403 解决路径如下: 参考文章: https://stackoverflow.com/qu ...

  8. http://stackoverflow.com/questions/6065169/requestanimationframe-with-this-keyword

    Observe that you call obj.draw as : <button onclick="obj.draw() The first time obj.draw is c ...

  9. http://stackoverflow.com/questions/12601907/loading-google-maps-in-anonymous-function

    http://stackoverflow.com/questions/12601907/loading-google-maps-in-anonymous-function   window.gMaps ...

随机推荐

  1. Django框架(一)

    一.web应用 web应用 Web应用程序是一种可以通过Web访问的应用程序,程序的最大好处是用户很容易访问应用程序,用户只需要有浏览器即可,不需要再安装其他软件.应用程序有两种模式C/S.B/S.C ...

  2. [CodeForces - 447E] E - DZY Loves Fibonacci Numbers

    E  DZY Loves Fibonacci Numbers In mathematical terms, the sequence Fn of Fibonacci numbers is define ...

  3. Linux中环境变量文件

    一.环境变量文件介绍 转自:http://blog.csdn.net/cscmaker/article/details/7261921 Linux中环境变量包括系统级和用户级,系统级的环境变量是每个登 ...

  4. vijos1448校门外的树

    描述 校门外有很多树,有苹果树,香蕉树,有会扔石头的,有可以吃掉补充体力的……如今学校决定在某个时刻在某一段种上一种树,保证任一时刻不会出现两段相同种类的树,现有两个操作:K=1,K=1,读入l.r表 ...

  5. python settings :RROR 1130: Host 'XXXXXX' is not allowed to connect to this MySQL server

    pymysql.err.InternalError: (1130, u"Host '127.0.0.1' is not allowed to connect to this MySQL se ...

  6. 关于scratch导出的flash画质很差的问题解决方案

    Scratch的分辨率是480*360,因此把scratch文件转变为flash时,因影像和画质很差,把flash插入到ppt幻灯片后,影像和画质仍然得不到保证.经过不断摸索,这个问题终于得到解决,关 ...

  7. day04流程控制之while循环

    流程控制之while循环 1.什么是while循环 循环指的是一个重复做某件事的过程 2.为何有循环 为了让计算机能像人一样重复 做某件事 3.如何用循环 ''' # while循环的语法:while ...

  8. day19 反射

    今日所学 : 1. isinstance , type , issubclass 2.如何区分方法和函数(代码) 3.反射(重要) 1. isinstance ,type ,issubclass is ...

  9. 关于collectionview布局的坑

    不知道写了多少次collectionview,步了很多坑,现在看来虽然达到了自己想要的结果,却不知道其中所以然.还是总结一下,免得再走弯路: 场景是这样的,我要定制一个显示选择图片的排列,想要实现横向 ...

  10. hustoj 管理员和后台设置

    之前用过hustoj 的livecd版本,觉得有一些小问题,所以从头到尾搭建.主要包含的过程包括: 安装ubuntu系统 搭建hustoj 管理员和后台资源建设 本文介绍如何在搭建好hustoj的基础 ...