[ 
https://issues.apache.org/jira/browse/MESOS-3145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14641092#comment-14641092
 ] 

Michael Park commented on MESOS-3145:
-------------------------------------

https://reviews.apache.org/r/36794/

> 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
>              Labels: mesosphere
>
> 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