Project: mesos
Issue MESOS-3145: Using a unresolvable hostname crashes the framework on registration
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}
Story points: 1