Michael Park created MESOS-3145:
-----------------------------------

             Summary: Using a unresolvable hostname crashes the framework on 
registration
                 Key: MESOS-3145
                 URL: https://issues.apache.org/jira/browse/MESOS-3145
             Project: Mesos
          Issue Type: Task
            Reporter: Michael Park
            Assignee: Michael Park


The following commands trigger the crash:

{noformat}
$ sudo hostname foo  # an unresolvable hostname
$ sudo ./bin/mesos-master.sh --ip=127.0.0.1 --work_dir=/var/lib/mesos
$ LIBPROCESS_IP=127.0.0.1 ./src/mesos-execute --master=127.0.0.1:5050 
--name=bar --command="while true; do sleep 100; done"
{noformat}

The crash output:

{noformat}
WARNING: Logging before InitGoogleLogging() is written to STDERR
W0724 14:20:39.960733 1925993216 sched.cpp:1487]
**************************************************
Scheduler driver bound to loopback interface! Cannot communicate with remote 
master(s). You might want to set 'LIBPROCESS_IP' environment variable to use a 
routable IP address.
**************************************************
ABORT: (../../3rdparty/libprocess/3rdparty/stout/include/stout/try.hpp:85): 
Try::get() but state == ERROR: nodename nor servname provided, or not known[1]  
  24560 abort      LIBPROCESS_IP=127.0.0.1 ./src/mesos-execute 
--master=127.0.0.1:5050
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to