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. PHP指针相关函数

    1.each each — 返回数组中当前的键/值对并将数组指针向前移动一步 $arr = array("one", "two", "three&qu ...

  2. [LeetCode] 96. Unique Binary Search Trees(给定一个数字n,有多少个唯一二叉搜索树) ☆☆☆

    [Leetcode] Unique binary search trees 唯一二叉搜索树 Unique Binary Search Trees leetcode java 描述 Given n, h ...

  3. Win32汇编环境搭建教程(MASM32 SDK)

    一.说明 常用的32位汇编编译器有微软的MASM.Borland的TASM和NASM. 编译器 开发者 优点 缺点 MASM 微软 微软自家软件和系统兼容性好:支持invoke/.if等伪指令将汇编变 ...

  4. weex npm 报错 cb() never called!

    安装环境:windows7 使用npm 安装 出现错误后网上查找并没有解决,在准备放弃的时候试着用cnpm安装了一下,结果安装成功了,感觉应该网络问题,不知原因但完美解决

  5. EXCEL词典(xllex.dll)文件丢失或损坏解决方法

    EXCEL词典(xllex.dll)文件丢失或损坏解决方法     1● 问题   2● 解决 fail 3● 方法2   regsvr32 xllex.dll     4● 方法3 启动server ...

  6. 【转】java提高篇(二)-----理解java的三大特性之继承

    [转]java提高篇(二)-----理解java的三大特性之继承 原文地址:http://www.cnblogs.com/chenssy/p/3354884.html 在<Think in ja ...

  7. Java 实现倒计时(由秒计算天、小时、分钟、秒)

    public class Countdown4 { private static long day = 0; private static long hour = 0; private static ...

  8. vue常见开发问题整理

    1.(webpack)vue-cli构建的项目如何设置每个页面的title 在路由里每个都添加一个meta [{ path:'/login', meta: { title: '登录页面' }, com ...

  9. CF712E [Memort and Casinos]

    题意 每次询问一段区间[l,r],求从最左边走到最右边(r+1)的概率(若走到l-1,则GG了),每个点上写有向右走的概率.支持单点修改. 思考 若只查询一次,那只要知道每个点在不走到l-1的情况下, ...

  10. CSS(一)属性--border边框

    HTML代码 <body> <div>举个例子</div> </body> CSS代码: div{ font-size:12px;  //字体大小,默认 ...