Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-4136

monitor fails to start when accumulo is running in a docker container when host is set to either localhost or 0.0.0.0

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Not A Problem
    • None
    • None
    • None
    • None
    • accumulo 1.7.0
      Docker version 1.7.1, build 786b29d
      docker image ubuntu 14.04

    Description

      when running accumulo inside a docker container, the accumulo monitor service won't start unless line 61 of ../accumulo-1.7.0/bin/start-all.sh is changed from

      ${bin}/start-server.sh $MONITOR monitor
      to
      ${bin}/start-server.sh $HOSTNAME monitor

      or specifying $HOSTNAME in the ../accumulo-1.7.9/conf/monitor file. Enabling variable ACCUMULO_MONITOR_BIND_ALL has no effect. The only way to bring the monitor service up is to use the hostname explicitly.

      here is a working accumulo/zookeeper/hadoop stack that's been dockerized. commenting out line 58 of ../dockerized_accumulo/accumulo/Dockerfile before provisioning the containers will demonstrate the problem.

      https://github.com/davidholiday/dockerized_accumulo

      Attachments

        Activity

          People

            Unassigned Unassigned
            epicdave David Holiday
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: