Details

    • Type: Task
    • Status: Resolved
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      I install mesos-0.22.1 in the directory "/usr/local/mesos", when I start marathon, it show the exception as below:

      MESOS_NATIVE_LIBRARY, MESOS_NATIVE_JAVA_LIBRARY set to '/usr/local/mesos/lib/libmesos.so'
      [2015-08-05 17:57:14,590] INFO Starting Marathon 0.9.0 (mesosphere.marathon.Main$:87)
      Exception in thread "main" java.net.UnknownHostException: master: master: Name or service not known
      at java.net.InetAddress.getLocalHost(InetAddress.java:1496)
      at mesosphere.marathon.MarathonConf$$anonfun$hostname$1.apply(MarathonConf.scala:47)
      at mesosphere.marathon.MarathonConf$$anonfun$hostname$1.apply(MarathonConf.scala:47)
      at org.rogach.scallop.Scallop$$anonfun$get$5$$anonfun$apply$35.apply(Scallop.scala:543)
      at org.rogach.scallop.Scallop$$anonfun$get$5$$anonfun$apply$35.apply(Scallop.scala:543)
      at scala.Option.orElse(Option.scala:289)
      at org.rogach.scallop.Scallop$$anonfun$get$5.apply(Scallop.scala:543)
      at org.rogach.scallop.Scallop$$anonfun$get$5.apply(Scallop.scala:537)
      at scala.Option.map(Option.scala:146)
      at org.rogach.scallop.Scallop.get(Scallop.scala:537)
      at org.rogach.scallop.Scallop$$anonfun$verify$17.apply(Scallop.scala:623)
      at org.rogach.scallop.Scallop$$anonfun$verify$17.apply(Scallop.scala:614)
      at scala.collection.immutable.List.foreach(List.scala:381)
      at org.rogach.scallop.Scallop.verify(Scallop.scala:614)
      at org.rogach.scallop.ScallopConf.verify(ScallopConf.scala:274)
      at org.rogach.scallop.ScallopConf.afterInit(ScallopConf.scala:504)
      at mesosphere.chaos.App$class.initConf(App.scala:26)
      at mesosphere.marathon.MarathonApp.initConf(Main.scala:17)
      at mesosphere.chaos.App$class.run(App.scala:30)
      at mesosphere.marathon.MarathonApp.run(Main.scala:17)
      at mesosphere.marathon.MarathonApp.runDefault(Main.scala:88)
      at mesosphere.marathon.Main$.delayedEndpoint$mesosphere$marathon$Main$1(Main.scala:96)
      at mesosphere.marathon.Main$delayedInit$body.apply(Main.scala:95)
      at scala.Function0$class.apply$mcV$sp(Function0.scala:40)
      at scala.runtime.AbstractFunction0.apply$mcV$sp(AbstractFunction0.scala:12)
      at scala.App$$anonfun$main$1.apply(App.scala:76)
      at scala.App$$anonfun$main$1.apply(App.scala:76)
      at scala.collection.immutable.List.foreach(List.scala:381)
      at scala.collection.generic.TraversableForwarder$class.foreach(TraversableForwarder.scala:35)
      at scala.App$class.main(App.scala:76)
      at mesosphere.marathon.MarathonApp.main(Main.scala:17)
      at mesosphere.marathon.Main.main(Main.scala)
      Caused by: java.net.UnknownHostException: master: Name or service not known
      at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
      at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:922)
      at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1316)
      at java.net.InetAddress.getLocalHost(InetAddress.java:1492)
      ... 31 more

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              GitHub_githubpaul githubpaul (Inactive)
              Team:
              Orchestration Team
              Watchers:
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: