You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Tim Armstrong (JIRA)" <ji...@apache.org> on 2019/03/06 23:11:00 UTC

[jira] [Resolved] (IMPALA-8186) Automate setup of docker bridge network for dockerised minicluster

     [ https://issues.apache.org/jira/browse/IMPALA-8186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tim Armstrong resolved IMPALA-8186.
-----------------------------------
       Resolution: Fixed
    Fix Version/s: Impala 3.2.0

> Automate setup of docker bridge network for dockerised minicluster
> ------------------------------------------------------------------
>
>                 Key: IMPALA-8186
>                 URL: https://issues.apache.org/jira/browse/IMPALA-8186
>             Project: IMPALA
>          Issue Type: Sub-task
>          Components: Infrastructure
>            Reporter: Tim Armstrong
>            Assignee: Tim Armstrong
>            Priority: Major
>              Labels: docker
>             Fix For: Impala 3.2.0
>
>
> 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:
> {code}
> 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
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org