Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-3145

Using a unresolvable hostname crashes the framework on registration

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.24.0
    • None
    • Mesosphere Sprint 15
    • 1

    Description

      The following commands trigger the crash:

      $ 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"
      

      The crash output:

      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
      

      Attachments

        Activity

          People

            mcypark Michael Park
            mcypark Michael Park
            Benjamin Hindman Benjamin Hindman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: