flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Lucas (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (FLINK-6308) Task managers are not attaching to job manager on macos
Date Tue, 18 Apr 2017 12:05:42 GMT

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

Patrick Lucas closed FLINK-6308.
--------------------------------
       Resolution: Fixed
    Fix Version/s: 1.2.1

`docker-compose.yml` is already fixed in master, and [~iemejia] has a branch to remove bluemix
docker compose file and related references.

> Task managers are not attaching to job manager on macos
> -------------------------------------------------------
>
>                 Key: FLINK-6308
>                 URL: https://issues.apache.org/jira/browse/FLINK-6308
>             Project: Flink
>          Issue Type: Bug
>          Components: Docker
>            Reporter: Mateusz Zakarczemny
>             Fix For: 1.2.1
>
>
> I'm using flink 1.2.0. On macOS task managers were not joining cluster. I was able to
fix that by removing quotes from docker-compose:
> {code}
> diff --git a/flink-contrib/docker-flink/docker-compose-bluemix.yml b/flink-contrib/docker-flink/docker-compose-bluemix.yml
> index b667a0d89a..55c161766a 100644
> --- a/flink-contrib/docker-flink/docker-compose-bluemix.yml
> +++ b/flink-contrib/docker-flink/docker-compose-bluemix.yml
> @@ -23,11 +23,11 @@ services:
>    jobmanager:
>      #image example:  registry.eu-gb.bluemix.net/markussaidhiho/flink
>      image: ${IMAGENAME}
> -    container_name: "jobmanager"
> +    container_name: jobmanager
>      expose:
> -      - "6123"
> +      - 6123"
>      ports:
> -      - "48081:8081"
> +      - 48081:8081
>      command: jobmanager
>    taskmanager:
> @@ -41,4 +41,4 @@ services:
>      links:
>        - "jobmanager:jobmanager"
>      environment:
> -      - JOB_MANAGER_RPC_ADDRESS="jobmanager"
> +      - JOB_MANAGER_RPC_ADDRESS=jobmanager
> diff --git a/flink-contrib/docker-flink/docker-compose.yml b/flink-contrib/docker-flink/docker-compose.yml
> index 6a1335360d..0a644681f3 100644
> --- a/flink-contrib/docker-flink/docker-compose.yml
> +++ b/flink-contrib/docker-flink/docker-compose.yml
> @@ -27,7 +27,7 @@ services:
>        - "48081:8081"
>      command: jobmanager
>      environment:
> -      - JOB_MANAGER_RPC_ADDRESS="jobmanager"
> +      - JOB_MANAGER_RPC_ADDRESS=jobmanager
>    taskmanager:
>      image: flink
> @@ -40,4 +40,4 @@ services:
>      links:
>        - "jobmanager:jobmanager"
>      environment:
> -      - JOB_MANAGER_RPC_ADDRESS="jobmanager"
> +      - JOB_MANAGER_RPC_ADDRESS=jobmanager
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message