Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-7947 Run impalad minicluster processes inside docker containers
  3. IMPALA-8186

Automate setup of docker bridge network for dockerised minicluster

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • Impala 3.2.0
    • Infrastructure

    Description

      I had some manual setup that I did to create a docker network and set INTERNAL_LISTEN_HOST as the gateway. I think we could automate it with some logic like the following:

      docker network create -d bridge impala-cluster
      IMPALA_NETWORK_GATEWAY=$(docker network inspect impala-cluster | grep -o '"Gateway": "[0-9\.]*"' | grep -o "[0-9.]*")
      echo "export INTERNAL_LISTEN_HOST=${IMPALA_NETWORK_GATEWAY}" >> bin/impala-config-local.sh
      echo 'export DEFAULT_FS=hdfs://${INTERNAL_LISTEN_HOST}:20500' >> bin/impala-config-local.sh
      

      Attachments

        Activity

          People

            tarmstrong Tim Armstrong
            tarmstrong Tim Armstrong
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: