You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2020/01/19 09:26:14 UTC

[GitHub] [flink] wangyang0918 opened a new pull request #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration

wangyang0918 opened a new pull request #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration
URL: https://github.com/apache/flink/pull/10898
 
 
   <!--
   *Thank you very much for contributing to Apache Flink - we are happy that you want to help us improve Flink. To help the community review your contribution in the best possible way, please go through the checklist below, which will get the contribution into a shape in which it can be best reviewed.*
   
   *Please understand that we do not do this to make contributions to Flink a hassle. In order to uphold a high standard of quality for code contributions, while at the same time managing a large number of contributions, we need contributors to prepare the contributions well, and give reviewers enough contextual information for the review. Please also understand that contributions that do not follow this guide will take longer to review and thus typically be picked up with lower priority by the community.*
   
   ## Contribution Checklist
   
     - Make sure that the pull request corresponds to a [JIRA issue](https://issues.apache.org/jira/projects/FLINK/issues). Exceptions are made for typos in JavaDoc or documentation files, which need no JIRA issue.
     
     - Name the pull request in the form "[FLINK-XXXX] [component] Title of the pull request", where *FLINK-XXXX* should be replaced by the actual issue number. Skip *component* if you are unsure about which is the best component.
     Typo fixes that have no associated JIRA issue should be named following this pattern: `[hotfix] [docs] Fix typo in event time introduction` or `[hotfix] [javadocs] Expand JavaDoc for PuncuatedWatermarkGenerator`.
   
     - Fill out the template below to describe the changes contributed by the pull request. That will give reviewers the context they need to do the review.
     
     - Make sure that the change passes the automated tests, i.e., `mvn clean verify` passes. You can set up Travis CI to do that following [this guide](https://flink.apache.org/contributing/contribute-code.html#open-a-pull-request).
   
     - Each pull request should address only one issue, not mix up code from multiple issues.
     
     - Each commit in the pull request has a meaningful commit message (including the JIRA id)
   
     - Once all items of the checklist are addressed, remove the above text and this checklist, leaving only the filled out template below.
   
   
   **(The sections below can be removed for hotfixes of typos)**
   -->
   
   ## What is the purpose of the change
   
   There will be the following differences if we want to support HA for active Kubernetes integration.
   1. The K8s service is designed for accessing the jobmanager out of K8s cluster. So Flink client will not use HA service to retrieve address of jobmanager. Instead, it always use Kubernetes service to contact with jobmanager via rest client.
   2. The Kubernetes DNS creates A and SRV records only for Services. It doesn't generate pods' A records. So the ip address, not hostname, will be used as jobmanager address.
   
   All other behaviors will be same as Zookeeper HA for standalone and Yarn.
   
   
   ## Brief change log
   
   * Always use Kubernetes service for client to contact with jobmanager in `KubernetesClusterDescriptor`
   * Set ip address to `jobmanager.rpc.address` in `KubernetesSessionClusterEntrypoint`
   
   
   ## Verifying this change
   
   * Add a new unit test `testDeployHighAvailabilitySessionCluster`
   * Test on a real Kubernetes cluster with zookeeper HA
   
   ## Does this pull request potentially affect one of the following parts:
   
     - Dependencies (does it add or upgrade a dependency): (no)
     - The public API, i.e., is any changed class annotated with `@Public(Evolving)`: (no)
     - The serializers: (no)
     - The runtime per-record code paths (performance sensitive): (no)
     - Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (no)
     - The S3 file system connector: (no)
   
   ## Documentation
   
     - Does this pull request introduce a new feature? (no)
     - If yes, how is the feature documented? (not applicable)
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] wangyang0918 commented on issue #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration

Posted by GitBox <gi...@apache.org>.
wangyang0918 commented on issue #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration
URL: https://github.com/apache/flink/pull/10898#issuecomment-575988126
 
 
   @zhuzhurk Could you please take a look?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] wangyang0918 commented on a change in pull request #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration

Posted by GitBox <gi...@apache.org>.
wangyang0918 commented on a change in pull request #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration
URL: https://github.com/apache/flink/pull/10898#discussion_r368554478
 
 

 ##########
 File path: flink-clients/src/main/java/org/apache/flink/client/program/rest/RestClusterClient.java
 ##########
 @@ -182,7 +206,7 @@ public RestClusterClient(Configuration config, T clusterId) throws Exception {
 		this.waitStrategy = checkNotNull(waitStrategy);
 		this.clusterId = checkNotNull(clusterId);
 
-		this.clientHAServices = HighAvailabilityServicesUtils.createClientHAService(configuration);
+		this.clientHAServices = clientHAServices;
 
 Review comment:
   Make sense.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] wangyang0918 commented on a change in pull request #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration

Posted by GitBox <gi...@apache.org>.
wangyang0918 commented on a change in pull request #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration
URL: https://github.com/apache/flink/pull/10898#discussion_r368293694
 
 

 ##########
 File path: flink-kubernetes/src/main/java/org/apache/flink/kubernetes/KubernetesClusterDescriptor.java
 ##########
 @@ -84,6 +86,11 @@ public String getClusterDescription() {
 			if (restEndpoint != null) {
 				configuration.setString(RestOptions.ADDRESS, restEndpoint.getAddress());
 				configuration.setInteger(RestOptions.PORT, restEndpoint.getPort());
+				// Flink client will not use HA service to retrieve address of jobmanager. Instead, it always use Kubernetes
+				// service to contact with jobmanager via rest client.
+				if (HighAvailabilityMode.isHighAvailabilityModeActivated(flinkConfig)) {
 
 Review comment:
   I do not think it is a temporary hack. 
   In Kubernetes deployment, when we want to get a ClusterClient, we should not retrieve it from the `ClientHAService`. Instead, we retrieve the rest endpoint from Kubernetes service by `FlinkKubeClient.getRestEndpoint(clusterId)`.
   
   Maybe removing the condition `if (HighAvailabilityMode.isHighAvailabilityModeActivated(flinkConfig))` will look better. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration
URL: https://github.com/apache/flink/pull/10898#issuecomment-575987880
 
 
   <!--
   Meta data
   Hash:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/145104314 TriggerType:PUSH TriggerID:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69
   Hash:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4470 TriggerType:PUSH TriggerID:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69
   Hash:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/145105232 TriggerType:PUSH TriggerID:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac
   Hash:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4473 TriggerType:PUSH TriggerID:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac
   Hash:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145112010 TriggerType:PUSH TriggerID:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8
   Hash:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4481 TriggerType:PUSH TriggerID:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8
   Hash:46e510779736a390f71ac42f8294c81b6cbaa51c Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145157661 TriggerType:PUSH TriggerID:46e510779736a390f71ac42f8294c81b6cbaa51c
   Hash:46e510779736a390f71ac42f8294c81b6cbaa51c Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4493 TriggerType:PUSH TriggerID:46e510779736a390f71ac42f8294c81b6cbaa51c
   Hash:69f28f72014de47081ad433675b42d62356bb116 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/145301962 TriggerType:PUSH TriggerID:69f28f72014de47081ad433675b42d62356bb116
   Hash:69f28f72014de47081ad433675b42d62356bb116 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4517 TriggerType:PUSH TriggerID:69f28f72014de47081ad433675b42d62356bb116
   Hash:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145306247 TriggerType:PUSH TriggerID:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7
   Hash:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4522 TriggerType:PUSH TriggerID:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7
   Hash:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4522 TriggerType:MANUAL TriggerID:576526813
   Hash:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145306247 TriggerType:MANUAL TriggerID:576526813
   Hash:3da241511d5030cf3120c9f3e381b21fef0b4347 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4525 TriggerType:PUSH TriggerID:3da241511d5030cf3120c9f3e381b21fef0b4347
   Hash:3da241511d5030cf3120c9f3e381b21fef0b4347 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145316185 TriggerType:PUSH TriggerID:3da241511d5030cf3120c9f3e381b21fef0b4347
   Hash:d4624a807cb6639b2c68646b9fdb933c7560d0a6 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4528 TriggerType:PUSH TriggerID:d4624a807cb6639b2c68646b9fdb933c7560d0a6
   Hash:d4624a807cb6639b2c68646b9fdb933c7560d0a6 Status:PENDING URL:https://travis-ci.com/flink-ci/flink/builds/145321960 TriggerType:PUSH TriggerID:d4624a807cb6639b2c68646b9fdb933c7560d0a6
   Hash:d4624a807cb6639b2c68646b9fdb933c7560d0a6 Status:PENDING URL:https://travis-ci.com/flink-ci/flink/builds/145321960 TriggerType:MANUAL TriggerID:576584888
   -->
   ## CI report:
   
   * 09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/145104314) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4470) 
   * 93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/145105232) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4473) 
   * 84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/145112010) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4481) 
   * 46e510779736a390f71ac42f8294c81b6cbaa51c Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/145157661) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4493) 
   * 69f28f72014de47081ad433675b42d62356bb116 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/145301962) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4517) 
   * a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/145306247) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4522) 
   * 3da241511d5030cf3120c9f3e381b21fef0b4347 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/145316185) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4525) 
   * d4624a807cb6639b2c68646b9fdb933c7560d0a6 Travis: [PENDING](https://travis-ci.com/flink-ci/flink/builds/145321960) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4528) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] zhuzhurk commented on a change in pull request #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration

Posted by GitBox <gi...@apache.org>.
zhuzhurk commented on a change in pull request #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration
URL: https://github.com/apache/flink/pull/10898#discussion_r368282246
 
 

 ##########
 File path: flink-kubernetes/src/main/java/org/apache/flink/kubernetes/entrypoint/KubernetesEntrypointUtils.java
 ##########
 @@ -0,0 +1,65 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.flink.kubernetes.entrypoint;
+
+import org.apache.flink.configuration.ConfigConstants;
+import org.apache.flink.configuration.Configuration;
+import org.apache.flink.configuration.GlobalConfiguration;
+import org.apache.flink.configuration.JobManagerOptions;
+import org.apache.flink.configuration.RestOptions;
+import org.apache.flink.kubernetes.utils.Constants;
+import org.apache.flink.runtime.jobmanager.HighAvailabilityMode;
+import org.apache.flink.util.Preconditions;
+
+/**
+ * This class contains utility methods for the {@link KubernetesSessionClusterEntrypoint}.
+ */
+class KubernetesEntrypointUtils {
 
 Review comment:
   It's better to add a private constructor for this util class

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot commented on issue #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration

Posted by GitBox <gi...@apache.org>.
flinkbot commented on issue #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration
URL: https://github.com/apache/flink/pull/10898#issuecomment-575984635
 
 
   Thanks a lot for your contribution to the Apache Flink project. I'm the @flinkbot. I help the community
   to review your pull request. We will use this comment to track the progress of the review.
   
   
   ## Automated Checks
   Last check on commit e6798ddfa86fb02239ee31e75b5865bf535fd5bf (Sun Jan 19 09:29:24 UTC 2020)
   
   **Warnings:**
    * No documentation files were touched! Remember to keep the Flink docs up to date!
   
   
   <sub>Mention the bot in a comment to re-run the automated checks.</sub>
   ## Review Progress
   
   * ❓ 1. The [description] looks good.
   * ❓ 2. There is [consensus] that the contribution should go into to Flink.
   * ❓ 3. Needs [attention] from.
   * ❓ 4. The change fits into the overall [architecture].
   * ❓ 5. Overall code [quality] is good.
   
   Please see the [Pull Request Review Guide](https://flink.apache.org/contributing/reviewing-prs.html) for a full explanation of the review process.<details>
    The Bot is tracking the review progress through labels. Labels are applied according to the order of the review items. For consensus, approval by a Flink committer of PMC member is required <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot approve description` to approve one or more aspects (aspects: `description`, `consensus`, `architecture` and `quality`)
    - `@flinkbot approve all` to approve all aspects
    - `@flinkbot approve-until architecture` to approve everything until `architecture`
    - `@flinkbot attention @username1 [@username2 ..]` to require somebody's attention
    - `@flinkbot disapprove architecture` to remove an approval you gave earlier
   </details>

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] wangyang0918 commented on a change in pull request #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration

Posted by GitBox <gi...@apache.org>.
wangyang0918 commented on a change in pull request #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration
URL: https://github.com/apache/flink/pull/10898#discussion_r368290749
 
 

 ##########
 File path: flink-kubernetes/src/main/java/org/apache/flink/kubernetes/entrypoint/KubernetesEntrypointUtils.java
 ##########
 @@ -0,0 +1,65 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.flink.kubernetes.entrypoint;
+
+import org.apache.flink.configuration.ConfigConstants;
+import org.apache.flink.configuration.Configuration;
+import org.apache.flink.configuration.GlobalConfiguration;
+import org.apache.flink.configuration.JobManagerOptions;
+import org.apache.flink.configuration.RestOptions;
+import org.apache.flink.kubernetes.utils.Constants;
+import org.apache.flink.runtime.jobmanager.HighAvailabilityMode;
+import org.apache.flink.util.Preconditions;
+
+/**
+ * This class contains utility methods for the {@link KubernetesSessionClusterEntrypoint}.
+ */
+class KubernetesEntrypointUtils {
+
+	/**
+	 * For non-HA cluster, jobmanager rpc address has be set to Kubernetes service name on client side. So the TaskManager
+	 * will use service address to connect with jobmanager.
+	 * For HA cluster, jobmanager rpc address will be set to ip address. The TaskManager use Zookeeper or other
+	 * high-availability service to find the address of jobmanager. The Kubernetes DNS creates A and SRV records only for
+	 * Services. It doesn't generate pods' A records. So the ip address, not hostname, will be used as jobmanager address.
+	 *
+	 * @return Updated configuration
+	 */
+	static Configuration loadConfiguration() {
+		final String configDir = System.getenv(ConfigConstants.ENV_FLINK_CONF_DIR);
+		Preconditions.checkNotNull(
+			configDir,
+			"Flink configuration directory (%s) in environment should not be null!",
+			ConfigConstants.ENV_FLINK_CONF_DIR);
+
+		final Configuration configuration = GlobalConfiguration.loadConfiguration(configDir);
+
+		if (HighAvailabilityMode.isHighAvailabilityModeActivated(configuration)) {
+			final String ipAddress =  System.getenv().get(Constants.ENV_FLINK_POD_IP_ADDRESS);
+			Preconditions.checkState(
+				ipAddress != null,
+				"JobManager ip address environment variable %s not set",
+				Constants.ENV_FLINK_POD_IP_ADDRESS);
+			configuration.setString(JobManagerOptions.ADDRESS, ipAddress);
 
 Review comment:
   In non-HA mode, we need to set the jobmanager rpc address to service name. So when the jobmanager failover, the taskmanager could register again.
   In HA mode, the taskmanager uses zookeeper to retrieve the jobmanager address. And there will be multiple jobmanagers in the future. So we set the ip address instead of jobmanager rpc address.
   
   So i think we could not always set `JobManagerOptions.ADDRESS` to ip address.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] zhuzhurk commented on a change in pull request #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration

Posted by GitBox <gi...@apache.org>.
zhuzhurk commented on a change in pull request #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration
URL: https://github.com/apache/flink/pull/10898#discussion_r368783995
 
 

 ##########
 File path: flink-kubernetes/src/main/java/org/apache/flink/kubernetes/KubernetesClusterDescriptor.java
 ##########
 @@ -168,6 +185,13 @@ public String getClusterDescription() {
 		final String nameSpace = flinkConfig.getString(KubernetesConfigOptions.NAMESPACE);
 		flinkConfig.setString(JobManagerOptions.ADDRESS, clusterId + "." + nameSpace);
 
+		if (HighAvailabilityMode.isHighAvailabilityModeActivated(flinkConfig)) {
+			flinkConfig.setString(HighAvailabilityOptions.HA_CLUSTER_ID, clusterId);
 
 Review comment:
   So this change is not related to this commit?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration
URL: https://github.com/apache/flink/pull/10898#issuecomment-575987880
 
 
   <!--
   Meta data
   Hash:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/145104314 TriggerType:PUSH TriggerID:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69
   Hash:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4470 TriggerType:PUSH TriggerID:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69
   Hash:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/145105232 TriggerType:PUSH TriggerID:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac
   Hash:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4473 TriggerType:PUSH TriggerID:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac
   Hash:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8 Status:PENDING URL:https://travis-ci.com/flink-ci/flink/builds/145112010 TriggerType:PUSH TriggerID:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8
   Hash:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8 Status:PENDING URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4481 TriggerType:PUSH TriggerID:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8
   -->
   ## CI report:
   
   * 09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/145104314) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4470) 
   * 93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/145105232) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4473) 
   * 84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8 Travis: [PENDING](https://travis-ci.com/flink-ci/flink/builds/145112010) Azure: [PENDING](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4481) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] wangyang0918 commented on issue #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration

Posted by GitBox <gi...@apache.org>.
wangyang0918 commented on issue #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration
URL: https://github.com/apache/flink/pull/10898#issuecomment-576557465
 
 
   @zhuzhurk Thanks for the second round of review. I have addressed all your comments and please take a look at your convenience.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration
URL: https://github.com/apache/flink/pull/10898#issuecomment-575987880
 
 
   <!--
   Meta data
   Hash:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/145104314 TriggerType:PUSH TriggerID:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69
   Hash:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4470 TriggerType:PUSH TriggerID:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69
   Hash:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/145105232 TriggerType:PUSH TriggerID:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac
   Hash:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4473 TriggerType:PUSH TriggerID:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac
   Hash:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145112010 TriggerType:PUSH TriggerID:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8
   Hash:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4481 TriggerType:PUSH TriggerID:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8
   Hash:46e510779736a390f71ac42f8294c81b6cbaa51c Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145157661 TriggerType:PUSH TriggerID:46e510779736a390f71ac42f8294c81b6cbaa51c
   Hash:46e510779736a390f71ac42f8294c81b6cbaa51c Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4493 TriggerType:PUSH TriggerID:46e510779736a390f71ac42f8294c81b6cbaa51c
   Hash:69f28f72014de47081ad433675b42d62356bb116 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/145301962 TriggerType:PUSH TriggerID:69f28f72014de47081ad433675b42d62356bb116
   Hash:69f28f72014de47081ad433675b42d62356bb116 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4517 TriggerType:PUSH TriggerID:69f28f72014de47081ad433675b42d62356bb116
   Hash:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145306247 TriggerType:PUSH TriggerID:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7
   Hash:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4522 TriggerType:PUSH TriggerID:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7
   Hash:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4522 TriggerType:MANUAL TriggerID:576526813
   Hash:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145306247 TriggerType:MANUAL TriggerID:576526813
   Hash:3da241511d5030cf3120c9f3e381b21fef0b4347 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4525 TriggerType:PUSH TriggerID:3da241511d5030cf3120c9f3e381b21fef0b4347
   Hash:3da241511d5030cf3120c9f3e381b21fef0b4347 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145316185 TriggerType:PUSH TriggerID:3da241511d5030cf3120c9f3e381b21fef0b4347
   Hash:d4624a807cb6639b2c68646b9fdb933c7560d0a6 Status:PENDING URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4528 TriggerType:PUSH TriggerID:d4624a807cb6639b2c68646b9fdb933c7560d0a6
   Hash:d4624a807cb6639b2c68646b9fdb933c7560d0a6 Status:PENDING URL:https://travis-ci.com/flink-ci/flink/builds/145321960 TriggerType:PUSH TriggerID:d4624a807cb6639b2c68646b9fdb933c7560d0a6
   -->
   ## CI report:
   
   * 09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/145104314) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4470) 
   * 93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/145105232) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4473) 
   * 84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/145112010) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4481) 
   * 46e510779736a390f71ac42f8294c81b6cbaa51c Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/145157661) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4493) 
   * 69f28f72014de47081ad433675b42d62356bb116 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/145301962) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4517) 
   * a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/145306247) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4522) 
   * 3da241511d5030cf3120c9f3e381b21fef0b4347 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/145316185) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4525) 
   * d4624a807cb6639b2c68646b9fdb933c7560d0a6 Travis: [PENDING](https://travis-ci.com/flink-ci/flink/builds/145321960) Azure: [PENDING](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4528) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration
URL: https://github.com/apache/flink/pull/10898#issuecomment-575987880
 
 
   <!--
   Meta data
   Hash:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/145104314 TriggerType:PUSH TriggerID:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69
   Hash:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4470 TriggerType:PUSH TriggerID:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69
   Hash:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/145105232 TriggerType:PUSH TriggerID:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac
   Hash:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4473 TriggerType:PUSH TriggerID:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac
   Hash:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145112010 TriggerType:PUSH TriggerID:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8
   Hash:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4481 TriggerType:PUSH TriggerID:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8
   Hash:46e510779736a390f71ac42f8294c81b6cbaa51c Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145157661 TriggerType:PUSH TriggerID:46e510779736a390f71ac42f8294c81b6cbaa51c
   Hash:46e510779736a390f71ac42f8294c81b6cbaa51c Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4493 TriggerType:PUSH TriggerID:46e510779736a390f71ac42f8294c81b6cbaa51c
   Hash:69f28f72014de47081ad433675b42d62356bb116 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/145301962 TriggerType:PUSH TriggerID:69f28f72014de47081ad433675b42d62356bb116
   Hash:69f28f72014de47081ad433675b42d62356bb116 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4517 TriggerType:PUSH TriggerID:69f28f72014de47081ad433675b42d62356bb116
   Hash:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145306247 TriggerType:PUSH TriggerID:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7
   Hash:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4522 TriggerType:PUSH TriggerID:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7
   Hash:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4522 TriggerType:MANUAL TriggerID:576526813
   Hash:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145306247 TriggerType:MANUAL TriggerID:576526813
   Hash:3da241511d5030cf3120c9f3e381b21fef0b4347 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4525 TriggerType:PUSH TriggerID:3da241511d5030cf3120c9f3e381b21fef0b4347
   Hash:3da241511d5030cf3120c9f3e381b21fef0b4347 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145316185 TriggerType:PUSH TriggerID:3da241511d5030cf3120c9f3e381b21fef0b4347
   Hash:d4624a807cb6639b2c68646b9fdb933c7560d0a6 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4528 TriggerType:PUSH TriggerID:d4624a807cb6639b2c68646b9fdb933c7560d0a6
   Hash:d4624a807cb6639b2c68646b9fdb933c7560d0a6 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145321960 TriggerType:PUSH TriggerID:d4624a807cb6639b2c68646b9fdb933c7560d0a6
   Hash:d4624a807cb6639b2c68646b9fdb933c7560d0a6 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145321960 TriggerType:MANUAL TriggerID:576584888
   Hash:d4624a807cb6639b2c68646b9fdb933c7560d0a6 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4528 TriggerType:MANUAL TriggerID:576584888
   Hash:18df29c4c4e6b174cb5d206ca2e4878be1e5d5dd Status:PENDING URL:https://travis-ci.com/flink-ci/flink/builds/145405186 TriggerType:PUSH TriggerID:18df29c4c4e6b174cb5d206ca2e4878be1e5d5dd
   Hash:18df29c4c4e6b174cb5d206ca2e4878be1e5d5dd Status:PENDING URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4544 TriggerType:PUSH TriggerID:18df29c4c4e6b174cb5d206ca2e4878be1e5d5dd
   -->
   ## CI report:
   
   * 09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/145104314) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4470) 
   * 93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/145105232) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4473) 
   * 84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/145112010) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4481) 
   * 46e510779736a390f71ac42f8294c81b6cbaa51c Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/145157661) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4493) 
   * 69f28f72014de47081ad433675b42d62356bb116 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/145301962) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4517) 
   * a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/145306247) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4522) 
   * 3da241511d5030cf3120c9f3e381b21fef0b4347 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/145316185) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4525) 
   * d4624a807cb6639b2c68646b9fdb933c7560d0a6 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/145321960) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4528) 
   * 18df29c4c4e6b174cb5d206ca2e4878be1e5d5dd Travis: [PENDING](https://travis-ci.com/flink-ci/flink/builds/145405186) Azure: [PENDING](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4544) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] zhuzhurk commented on a change in pull request #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration

Posted by GitBox <gi...@apache.org>.
zhuzhurk commented on a change in pull request #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration
URL: https://github.com/apache/flink/pull/10898#discussion_r368283688
 
 

 ##########
 File path: flink-kubernetes/src/main/java/org/apache/flink/kubernetes/KubernetesClusterDescriptor.java
 ##########
 @@ -84,6 +86,11 @@ public String getClusterDescription() {
 			if (restEndpoint != null) {
 				configuration.setString(RestOptions.ADDRESS, restEndpoint.getAddress());
 				configuration.setInteger(RestOptions.PORT, restEndpoint.getPort());
+				// Flink client will not use HA service to retrieve address of jobmanager. Instead, it always use Kubernetes
+				// service to contact with jobmanager via rest client.
+				if (HighAvailabilityMode.isHighAvailabilityModeActivated(flinkConfig)) {
 
 Review comment:
   This might work. However, the way is a bit hack and add some dependency/assumption to the behavior of non-HA mode.
   Is there a clean way we let the client retrieve jobmanager address from k8s service no matter what the HA mode is?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] zhuzhurk commented on a change in pull request #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration

Posted by GitBox <gi...@apache.org>.
zhuzhurk commented on a change in pull request #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration
URL: https://github.com/apache/flink/pull/10898#discussion_r368282379
 
 

 ##########
 File path: flink-kubernetes/src/main/java/org/apache/flink/kubernetes/entrypoint/KubernetesEntrypointUtils.java
 ##########
 @@ -0,0 +1,65 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.flink.kubernetes.entrypoint;
+
+import org.apache.flink.configuration.ConfigConstants;
+import org.apache.flink.configuration.Configuration;
+import org.apache.flink.configuration.GlobalConfiguration;
+import org.apache.flink.configuration.JobManagerOptions;
+import org.apache.flink.configuration.RestOptions;
+import org.apache.flink.kubernetes.utils.Constants;
+import org.apache.flink.runtime.jobmanager.HighAvailabilityMode;
+import org.apache.flink.util.Preconditions;
+
+/**
+ * This class contains utility methods for the {@link KubernetesSessionClusterEntrypoint}.
+ */
+class KubernetesEntrypointUtils {
+
+	/**
+	 * For non-HA cluster, jobmanager rpc address has be set to Kubernetes service name on client side. So the TaskManager
+	 * will use service address to connect with jobmanager.
+	 * For HA cluster, jobmanager rpc address will be set to ip address. The TaskManager use Zookeeper or other
+	 * high-availability service to find the address of jobmanager. The Kubernetes DNS creates A and SRV records only for
+	 * Services. It doesn't generate pods' A records. So the ip address, not hostname, will be used as jobmanager address.
+	 *
+	 * @return Updated configuration
+	 */
+	static Configuration loadConfiguration() {
+		final String configDir = System.getenv(ConfigConstants.ENV_FLINK_CONF_DIR);
+		Preconditions.checkNotNull(
+			configDir,
+			"Flink configuration directory (%s) in environment should not be null!",
+			ConfigConstants.ENV_FLINK_CONF_DIR);
+
+		final Configuration configuration = GlobalConfiguration.loadConfiguration(configDir);
+
+		if (HighAvailabilityMode.isHighAvailabilityModeActivated(configuration)) {
+			final String ipAddress =  System.getenv().get(Constants.ENV_FLINK_POD_IP_ADDRESS);
 
 Review comment:
   ```suggestion
   			final String ipAddress = System.getenv().get(Constants.ENV_FLINK_POD_IP_ADDRESS);
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] wangyang0918 commented on a change in pull request #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration

Posted by GitBox <gi...@apache.org>.
wangyang0918 commented on a change in pull request #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration
URL: https://github.com/apache/flink/pull/10898#discussion_r368290475
 
 

 ##########
 File path: flink-kubernetes/src/main/java/org/apache/flink/kubernetes/kubeclient/decorators/FlinkMasterDeploymentDecorator.java
 ##########
 @@ -138,13 +144,21 @@ private Container createJobManagerContainer(
 				new ContainerPortBuilder().withContainerPort(flinkConfig.getInteger(RestOptions.PORT)).build(),
 				new ContainerPortBuilder().withContainerPort(flinkConfig.getInteger(JobManagerOptions.PORT)).build(),
 				new ContainerPortBuilder().withContainerPort(blobServerPort).build()))
-			.withEnv(
-				BootstrapTools.getEnvironmentVariables(ResourceManagerOptions.CONTAINERIZED_MASTER_ENV_PREFIX, flinkConfig)
-					.entrySet()
-					.stream()
-					.map(kv -> new EnvVar(kv.getKey(), kv.getValue(), null))
-					.collect(Collectors.toList()))
+			.withEnv(buildEnvForContainer(flinkConfig)).withEnvFrom()
 
 Review comment:
   Aha, i forget to remove it and will fix it.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration
URL: https://github.com/apache/flink/pull/10898#issuecomment-575987880
 
 
   <!--
   Meta data
   Hash:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/145104314 TriggerType:PUSH TriggerID:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69
   Hash:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4470 TriggerType:PUSH TriggerID:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69
   Hash:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/145105232 TriggerType:PUSH TriggerID:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac
   Hash:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4473 TriggerType:PUSH TriggerID:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac
   Hash:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145112010 TriggerType:PUSH TriggerID:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8
   Hash:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4481 TriggerType:PUSH TriggerID:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8
   Hash:46e510779736a390f71ac42f8294c81b6cbaa51c Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145157661 TriggerType:PUSH TriggerID:46e510779736a390f71ac42f8294c81b6cbaa51c
   Hash:46e510779736a390f71ac42f8294c81b6cbaa51c Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4493 TriggerType:PUSH TriggerID:46e510779736a390f71ac42f8294c81b6cbaa51c
   Hash:69f28f72014de47081ad433675b42d62356bb116 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/145301962 TriggerType:PUSH TriggerID:69f28f72014de47081ad433675b42d62356bb116
   Hash:69f28f72014de47081ad433675b42d62356bb116 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4517 TriggerType:PUSH TriggerID:69f28f72014de47081ad433675b42d62356bb116
   Hash:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145306247 TriggerType:PUSH TriggerID:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7
   Hash:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4522 TriggerType:PUSH TriggerID:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7
   Hash:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4522 TriggerType:MANUAL TriggerID:576526813
   Hash:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145306247 TriggerType:MANUAL TriggerID:576526813
   Hash:3da241511d5030cf3120c9f3e381b21fef0b4347 Status:PENDING URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4525 TriggerType:PUSH TriggerID:3da241511d5030cf3120c9f3e381b21fef0b4347
   Hash:3da241511d5030cf3120c9f3e381b21fef0b4347 Status:PENDING URL:https://travis-ci.com/flink-ci/flink/builds/145316185 TriggerType:PUSH TriggerID:3da241511d5030cf3120c9f3e381b21fef0b4347
   Hash:d4624a807cb6639b2c68646b9fdb933c7560d0a6 Status:UNKNOWN URL:TBD TriggerType:PUSH TriggerID:d4624a807cb6639b2c68646b9fdb933c7560d0a6
   -->
   ## CI report:
   
   * 09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/145104314) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4470) 
   * 93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/145105232) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4473) 
   * 84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/145112010) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4481) 
   * 46e510779736a390f71ac42f8294c81b6cbaa51c Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/145157661) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4493) 
   * 69f28f72014de47081ad433675b42d62356bb116 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/145301962) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4517) 
   * a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/145306247) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4522) 
   * 3da241511d5030cf3120c9f3e381b21fef0b4347 Travis: [PENDING](https://travis-ci.com/flink-ci/flink/builds/145316185) Azure: [PENDING](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4525) 
   * d4624a807cb6639b2c68646b9fdb933c7560d0a6 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration
URL: https://github.com/apache/flink/pull/10898#issuecomment-575987880
 
 
   <!--
   Meta data
   Hash:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/145104314 TriggerType:PUSH TriggerID:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69
   Hash:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4470 TriggerType:PUSH TriggerID:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69
   Hash:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/145105232 TriggerType:PUSH TriggerID:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac
   Hash:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4473 TriggerType:PUSH TriggerID:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac
   Hash:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145112010 TriggerType:PUSH TriggerID:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8
   Hash:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4481 TriggerType:PUSH TriggerID:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8
   Hash:46e510779736a390f71ac42f8294c81b6cbaa51c Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145157661 TriggerType:PUSH TriggerID:46e510779736a390f71ac42f8294c81b6cbaa51c
   Hash:46e510779736a390f71ac42f8294c81b6cbaa51c Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4493 TriggerType:PUSH TriggerID:46e510779736a390f71ac42f8294c81b6cbaa51c
   Hash:69f28f72014de47081ad433675b42d62356bb116 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/145301962 TriggerType:PUSH TriggerID:69f28f72014de47081ad433675b42d62356bb116
   Hash:69f28f72014de47081ad433675b42d62356bb116 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4517 TriggerType:PUSH TriggerID:69f28f72014de47081ad433675b42d62356bb116
   Hash:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145306247 TriggerType:PUSH TriggerID:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7
   Hash:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4522 TriggerType:PUSH TriggerID:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7
   Hash:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4522 TriggerType:MANUAL TriggerID:576526813
   Hash:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145306247 TriggerType:MANUAL TriggerID:576526813
   Hash:3da241511d5030cf3120c9f3e381b21fef0b4347 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4525 TriggerType:PUSH TriggerID:3da241511d5030cf3120c9f3e381b21fef0b4347
   Hash:3da241511d5030cf3120c9f3e381b21fef0b4347 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145316185 TriggerType:PUSH TriggerID:3da241511d5030cf3120c9f3e381b21fef0b4347
   Hash:d4624a807cb6639b2c68646b9fdb933c7560d0a6 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4528 TriggerType:PUSH TriggerID:d4624a807cb6639b2c68646b9fdb933c7560d0a6
   Hash:d4624a807cb6639b2c68646b9fdb933c7560d0a6 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145321960 TriggerType:PUSH TriggerID:d4624a807cb6639b2c68646b9fdb933c7560d0a6
   Hash:d4624a807cb6639b2c68646b9fdb933c7560d0a6 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145321960 TriggerType:MANUAL TriggerID:576584888
   Hash:d4624a807cb6639b2c68646b9fdb933c7560d0a6 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4528 TriggerType:MANUAL TriggerID:576584888
   Hash:18df29c4c4e6b174cb5d206ca2e4878be1e5d5dd Status:UNKNOWN URL:TBD TriggerType:PUSH TriggerID:18df29c4c4e6b174cb5d206ca2e4878be1e5d5dd
   -->
   ## CI report:
   
   * 09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/145104314) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4470) 
   * 93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/145105232) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4473) 
   * 84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/145112010) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4481) 
   * 46e510779736a390f71ac42f8294c81b6cbaa51c Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/145157661) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4493) 
   * 69f28f72014de47081ad433675b42d62356bb116 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/145301962) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4517) 
   * a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/145306247) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4522) 
   * 3da241511d5030cf3120c9f3e381b21fef0b4347 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/145316185) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4525) 
   * d4624a807cb6639b2c68646b9fdb933c7560d0a6 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/145321960) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4528) 
   * 18df29c4c4e6b174cb5d206ca2e4878be1e5d5dd UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] wangyang0918 commented on issue #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration

Posted by GitBox <gi...@apache.org>.
wangyang0918 commented on issue #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration
URL: https://github.com/apache/flink/pull/10898#issuecomment-576526813
 
 
   @flinkbot run azure

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] wangyang0918 removed a comment on issue #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration

Posted by GitBox <gi...@apache.org>.
wangyang0918 removed a comment on issue #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration
URL: https://github.com/apache/flink/pull/10898#issuecomment-576526813
 
 
   @flinkbot run azure

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration
URL: https://github.com/apache/flink/pull/10898#issuecomment-575987880
 
 
   <!--
   Meta data
   Hash:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/145104314 TriggerType:PUSH TriggerID:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69
   Hash:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4470 TriggerType:PUSH TriggerID:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69
   Hash:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/145105232 TriggerType:PUSH TriggerID:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac
   Hash:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4473 TriggerType:PUSH TriggerID:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac
   Hash:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145112010 TriggerType:PUSH TriggerID:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8
   Hash:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4481 TriggerType:PUSH TriggerID:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8
   Hash:46e510779736a390f71ac42f8294c81b6cbaa51c Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145157661 TriggerType:PUSH TriggerID:46e510779736a390f71ac42f8294c81b6cbaa51c
   Hash:46e510779736a390f71ac42f8294c81b6cbaa51c Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4493 TriggerType:PUSH TriggerID:46e510779736a390f71ac42f8294c81b6cbaa51c
   Hash:69f28f72014de47081ad433675b42d62356bb116 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/145301962 TriggerType:PUSH TriggerID:69f28f72014de47081ad433675b42d62356bb116
   Hash:69f28f72014de47081ad433675b42d62356bb116 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4517 TriggerType:PUSH TriggerID:69f28f72014de47081ad433675b42d62356bb116
   Hash:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145306247 TriggerType:PUSH TriggerID:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7
   Hash:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4522 TriggerType:PUSH TriggerID:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7
   Hash:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4522 TriggerType:MANUAL TriggerID:576526813
   Hash:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145306247 TriggerType:MANUAL TriggerID:576526813
   Hash:3da241511d5030cf3120c9f3e381b21fef0b4347 Status:UNKNOWN URL:TBD TriggerType:PUSH TriggerID:3da241511d5030cf3120c9f3e381b21fef0b4347
   -->
   ## CI report:
   
   * 09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/145104314) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4470) 
   * 93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/145105232) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4473) 
   * 84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/145112010) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4481) 
   * 46e510779736a390f71ac42f8294c81b6cbaa51c Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/145157661) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4493) 
   * 69f28f72014de47081ad433675b42d62356bb116 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/145301962) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4517) 
   * a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/145306247) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4522) 
   * 3da241511d5030cf3120c9f3e381b21fef0b4347 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration
URL: https://github.com/apache/flink/pull/10898#issuecomment-575987880
 
 
   <!--
   Meta data
   Hash:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/145104314 TriggerType:PUSH TriggerID:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69
   Hash:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4470 TriggerType:PUSH TriggerID:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69
   Hash:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/145105232 TriggerType:PUSH TriggerID:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac
   Hash:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4473 TriggerType:PUSH TriggerID:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac
   Hash:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145112010 TriggerType:PUSH TriggerID:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8
   Hash:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4481 TriggerType:PUSH TriggerID:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8
   Hash:46e510779736a390f71ac42f8294c81b6cbaa51c Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145157661 TriggerType:PUSH TriggerID:46e510779736a390f71ac42f8294c81b6cbaa51c
   Hash:46e510779736a390f71ac42f8294c81b6cbaa51c Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4493 TriggerType:PUSH TriggerID:46e510779736a390f71ac42f8294c81b6cbaa51c
   Hash:69f28f72014de47081ad433675b42d62356bb116 Status:PENDING URL:https://travis-ci.com/flink-ci/flink/builds/145301962 TriggerType:PUSH TriggerID:69f28f72014de47081ad433675b42d62356bb116
   Hash:69f28f72014de47081ad433675b42d62356bb116 Status:PENDING URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4517 TriggerType:PUSH TriggerID:69f28f72014de47081ad433675b42d62356bb116
   -->
   ## CI report:
   
   * 09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/145104314) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4470) 
   * 93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/145105232) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4473) 
   * 84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/145112010) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4481) 
   * 46e510779736a390f71ac42f8294c81b6cbaa51c Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/145157661) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4493) 
   * 69f28f72014de47081ad433675b42d62356bb116 Travis: [PENDING](https://travis-ci.com/flink-ci/flink/builds/145301962) Azure: [PENDING](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4517) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration
URL: https://github.com/apache/flink/pull/10898#issuecomment-575987880
 
 
   <!--
   Meta data
   Hash:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/145104314 TriggerType:PUSH TriggerID:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69
   Hash:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4470 TriggerType:PUSH TriggerID:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69
   Hash:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/145105232 TriggerType:PUSH TriggerID:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac
   Hash:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4473 TriggerType:PUSH TriggerID:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac
   Hash:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145112010 TriggerType:PUSH TriggerID:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8
   Hash:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4481 TriggerType:PUSH TriggerID:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8
   Hash:46e510779736a390f71ac42f8294c81b6cbaa51c Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145157661 TriggerType:PUSH TriggerID:46e510779736a390f71ac42f8294c81b6cbaa51c
   Hash:46e510779736a390f71ac42f8294c81b6cbaa51c Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4493 TriggerType:PUSH TriggerID:46e510779736a390f71ac42f8294c81b6cbaa51c
   Hash:69f28f72014de47081ad433675b42d62356bb116 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/145301962 TriggerType:PUSH TriggerID:69f28f72014de47081ad433675b42d62356bb116
   Hash:69f28f72014de47081ad433675b42d62356bb116 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4517 TriggerType:PUSH TriggerID:69f28f72014de47081ad433675b42d62356bb116
   Hash:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145306247 TriggerType:PUSH TriggerID:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7
   Hash:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4522 TriggerType:PUSH TriggerID:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7
   Hash:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4522 TriggerType:MANUAL TriggerID:576526813
   Hash:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145306247 TriggerType:MANUAL TriggerID:576526813
   Hash:3da241511d5030cf3120c9f3e381b21fef0b4347 Status:PENDING URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4525 TriggerType:PUSH TriggerID:3da241511d5030cf3120c9f3e381b21fef0b4347
   Hash:3da241511d5030cf3120c9f3e381b21fef0b4347 Status:PENDING URL:https://travis-ci.com/flink-ci/flink/builds/145316185 TriggerType:PUSH TriggerID:3da241511d5030cf3120c9f3e381b21fef0b4347
   -->
   ## CI report:
   
   * 09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/145104314) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4470) 
   * 93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/145105232) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4473) 
   * 84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/145112010) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4481) 
   * 46e510779736a390f71ac42f8294c81b6cbaa51c Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/145157661) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4493) 
   * 69f28f72014de47081ad433675b42d62356bb116 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/145301962) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4517) 
   * a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/145306247) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4522) 
   * 3da241511d5030cf3120c9f3e381b21fef0b4347 Travis: [PENDING](https://travis-ci.com/flink-ci/flink/builds/145316185) Azure: [PENDING](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4525) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] wangyang0918 commented on a change in pull request #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration

Posted by GitBox <gi...@apache.org>.
wangyang0918 commented on a change in pull request #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration
URL: https://github.com/apache/flink/pull/10898#discussion_r368784996
 
 

 ##########
 File path: flink-kubernetes/src/main/java/org/apache/flink/kubernetes/KubernetesClusterDescriptor.java
 ##########
 @@ -168,6 +185,13 @@ public String getClusterDescription() {
 		final String nameSpace = flinkConfig.getString(KubernetesConfigOptions.NAMESPACE);
 		flinkConfig.setString(JobManagerOptions.ADDRESS, clusterId + "." + nameSpace);
 
+		if (HighAvailabilityMode.isHighAvailabilityModeActivated(flinkConfig)) {
+			flinkConfig.setString(HighAvailabilityOptions.HA_CLUSTER_ID, clusterId);
 
 Review comment:
   It is necessary when high-availability enabled. So do you mean to separate it to another commit?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] wangyang0918 commented on a change in pull request #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration

Posted by GitBox <gi...@apache.org>.
wangyang0918 commented on a change in pull request #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration
URL: https://github.com/apache/flink/pull/10898#discussion_r368556705
 
 

 ##########
 File path: flink-kubernetes/src/main/java/org/apache/flink/kubernetes/KubernetesClusterDescriptor.java
 ##########
 @@ -91,7 +104,11 @@ public String getClusterDescription() {
 			}
 
 			try {
-				return new RestClusterClient<>(configuration, clusterId);
+				return new RestClusterClient<>(
+					configuration,
+					clusterId,
+					new StandaloneClientHAServices(HighAvailabilityServicesUtils.getWebMonitorAddress(
 
 Review comment:
   I will add some comments here.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration
URL: https://github.com/apache/flink/pull/10898#issuecomment-575987880
 
 
   <!--
   Meta data
   Hash:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/145104314 TriggerType:PUSH TriggerID:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69
   Hash:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4470 TriggerType:PUSH TriggerID:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69
   Hash:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/145105232 TriggerType:PUSH TriggerID:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac
   Hash:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4473 TriggerType:PUSH TriggerID:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac
   Hash:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145112010 TriggerType:PUSH TriggerID:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8
   Hash:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4481 TriggerType:PUSH TriggerID:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8
   Hash:46e510779736a390f71ac42f8294c81b6cbaa51c Status:PENDING URL:https://travis-ci.com/flink-ci/flink/builds/145157661 TriggerType:PUSH TriggerID:46e510779736a390f71ac42f8294c81b6cbaa51c
   Hash:46e510779736a390f71ac42f8294c81b6cbaa51c Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4493 TriggerType:PUSH TriggerID:46e510779736a390f71ac42f8294c81b6cbaa51c
   -->
   ## CI report:
   
   * 09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/145104314) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4470) 
   * 93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/145105232) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4473) 
   * 84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/145112010) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4481) 
   * 46e510779736a390f71ac42f8294c81b6cbaa51c Travis: [PENDING](https://travis-ci.com/flink-ci/flink/builds/145157661) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4493) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration
URL: https://github.com/apache/flink/pull/10898#issuecomment-575987880
 
 
   <!--
   Meta data
   Hash:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/145104314 TriggerType:PUSH TriggerID:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69
   Hash:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4470 TriggerType:PUSH TriggerID:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69
   Hash:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/145105232 TriggerType:PUSH TriggerID:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac
   Hash:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4473 TriggerType:PUSH TriggerID:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac
   Hash:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145112010 TriggerType:PUSH TriggerID:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8
   Hash:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4481 TriggerType:PUSH TriggerID:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8
   Hash:46e510779736a390f71ac42f8294c81b6cbaa51c Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145157661 TriggerType:PUSH TriggerID:46e510779736a390f71ac42f8294c81b6cbaa51c
   Hash:46e510779736a390f71ac42f8294c81b6cbaa51c Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4493 TriggerType:PUSH TriggerID:46e510779736a390f71ac42f8294c81b6cbaa51c
   Hash:69f28f72014de47081ad433675b42d62356bb116 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/145301962 TriggerType:PUSH TriggerID:69f28f72014de47081ad433675b42d62356bb116
   Hash:69f28f72014de47081ad433675b42d62356bb116 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4517 TriggerType:PUSH TriggerID:69f28f72014de47081ad433675b42d62356bb116
   Hash:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145306247 TriggerType:PUSH TriggerID:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7
   Hash:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4522 TriggerType:PUSH TriggerID:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7
   Hash:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7 Status:PENDING URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4522 TriggerType:MANUAL TriggerID:576526813
   -->
   ## CI report:
   
   * 09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/145104314) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4470) 
   * 93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/145105232) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4473) 
   * 84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/145112010) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4481) 
   * 46e510779736a390f71ac42f8294c81b6cbaa51c Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/145157661) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4493) 
   * 69f28f72014de47081ad433675b42d62356bb116 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/145301962) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4517) 
   * a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/145306247) Azure: [PENDING](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4522) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration
URL: https://github.com/apache/flink/pull/10898#issuecomment-575987880
 
 
   <!--
   Meta data
   Hash:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/145104314 TriggerType:PUSH TriggerID:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69
   Hash:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4470 TriggerType:PUSH TriggerID:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69
   Hash:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/145105232 TriggerType:PUSH TriggerID:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac
   Hash:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4473 TriggerType:PUSH TriggerID:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac
   Hash:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145112010 TriggerType:PUSH TriggerID:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8
   Hash:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4481 TriggerType:PUSH TriggerID:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8
   Hash:46e510779736a390f71ac42f8294c81b6cbaa51c Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145157661 TriggerType:PUSH TriggerID:46e510779736a390f71ac42f8294c81b6cbaa51c
   Hash:46e510779736a390f71ac42f8294c81b6cbaa51c Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4493 TriggerType:PUSH TriggerID:46e510779736a390f71ac42f8294c81b6cbaa51c
   Hash:69f28f72014de47081ad433675b42d62356bb116 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/145301962 TriggerType:PUSH TriggerID:69f28f72014de47081ad433675b42d62356bb116
   Hash:69f28f72014de47081ad433675b42d62356bb116 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4517 TriggerType:PUSH TriggerID:69f28f72014de47081ad433675b42d62356bb116
   Hash:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145306247 TriggerType:PUSH TriggerID:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7
   Hash:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4522 TriggerType:PUSH TriggerID:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7
   -->
   ## CI report:
   
   * 09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/145104314) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4470) 
   * 93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/145105232) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4473) 
   * 84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/145112010) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4481) 
   * 46e510779736a390f71ac42f8294c81b6cbaa51c Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/145157661) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4493) 
   * 69f28f72014de47081ad433675b42d62356bb116 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/145301962) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4517) 
   * a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/145306247) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4522) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration
URL: https://github.com/apache/flink/pull/10898#issuecomment-575987880
 
 
   <!--
   Meta data
   Hash:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/145104314 TriggerType:PUSH TriggerID:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69
   Hash:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4470 TriggerType:PUSH TriggerID:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69
   Hash:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/145105232 TriggerType:PUSH TriggerID:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac
   Hash:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4473 TriggerType:PUSH TriggerID:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac
   Hash:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145112010 TriggerType:PUSH TriggerID:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8
   Hash:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4481 TriggerType:PUSH TriggerID:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8
   Hash:46e510779736a390f71ac42f8294c81b6cbaa51c Status:UNKNOWN URL:TBD TriggerType:PUSH TriggerID:46e510779736a390f71ac42f8294c81b6cbaa51c
   -->
   ## CI report:
   
   * 09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/145104314) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4470) 
   * 93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/145105232) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4473) 
   * 84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/145112010) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4481) 
   * 46e510779736a390f71ac42f8294c81b6cbaa51c UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] wangyang0918 commented on issue #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration

Posted by GitBox <gi...@apache.org>.
wangyang0918 commented on issue #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration
URL: https://github.com/apache/flink/pull/10898#issuecomment-576096658
 
 
   @zhuzhurk I have addressed all your comments. Could you please take a look again?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration
URL: https://github.com/apache/flink/pull/10898#issuecomment-575987880
 
 
   <!--
   Meta data
   Hash:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/145104314 TriggerType:PUSH TriggerID:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69
   Hash:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4470 TriggerType:PUSH TriggerID:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69
   Hash:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/145105232 TriggerType:PUSH TriggerID:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac
   Hash:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4473 TriggerType:PUSH TriggerID:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac
   Hash:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145112010 TriggerType:PUSH TriggerID:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8
   Hash:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4481 TriggerType:PUSH TriggerID:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8
   Hash:46e510779736a390f71ac42f8294c81b6cbaa51c Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145157661 TriggerType:PUSH TriggerID:46e510779736a390f71ac42f8294c81b6cbaa51c
   Hash:46e510779736a390f71ac42f8294c81b6cbaa51c Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4493 TriggerType:PUSH TriggerID:46e510779736a390f71ac42f8294c81b6cbaa51c
   -->
   ## CI report:
   
   * 09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/145104314) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4470) 
   * 93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/145105232) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4473) 
   * 84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/145112010) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4481) 
   * 46e510779736a390f71ac42f8294c81b6cbaa51c Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/145157661) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4493) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] zhuzhurk commented on a change in pull request #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration

Posted by GitBox <gi...@apache.org>.
zhuzhurk commented on a change in pull request #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration
URL: https://github.com/apache/flink/pull/10898#discussion_r368534005
 
 

 ##########
 File path: flink-kubernetes/src/main/java/org/apache/flink/kubernetes/KubernetesClusterDescriptor.java
 ##########
 @@ -91,7 +104,11 @@ public String getClusterDescription() {
 			}
 
 			try {
-				return new RestClusterClient<>(configuration, clusterId);
+				return new RestClusterClient<>(
+					configuration,
+					clusterId,
+					new StandaloneClientHAServices(HighAvailabilityServicesUtils.getWebMonitorAddress(
 
 Review comment:
   It would be better to leave a comment here for why we use StandaloneClientHAServices for k8s client.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration
URL: https://github.com/apache/flink/pull/10898#issuecomment-575987880
 
 
   <!--
   Meta data
   Hash:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/145104314 TriggerType:PUSH TriggerID:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69
   Hash:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4470 TriggerType:PUSH TriggerID:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69
   Hash:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/145105232 TriggerType:PUSH TriggerID:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac
   Hash:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4473 TriggerType:PUSH TriggerID:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac
   Hash:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8 Status:UNKNOWN URL:TBD TriggerType:PUSH TriggerID:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8
   -->
   ## CI report:
   
   * 09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/145104314) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4470) 
   * 93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/145105232) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4473) 
   * 84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration
URL: https://github.com/apache/flink/pull/10898#issuecomment-575987880
 
 
   <!--
   Meta data
   Hash:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/145104314 TriggerType:PUSH TriggerID:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69
   Hash:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4470 TriggerType:PUSH TriggerID:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69
   Hash:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/145105232 TriggerType:PUSH TriggerID:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac
   Hash:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4473 TriggerType:PUSH TriggerID:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac
   Hash:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145112010 TriggerType:PUSH TriggerID:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8
   Hash:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4481 TriggerType:PUSH TriggerID:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8
   Hash:46e510779736a390f71ac42f8294c81b6cbaa51c Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145157661 TriggerType:PUSH TriggerID:46e510779736a390f71ac42f8294c81b6cbaa51c
   Hash:46e510779736a390f71ac42f8294c81b6cbaa51c Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4493 TriggerType:PUSH TriggerID:46e510779736a390f71ac42f8294c81b6cbaa51c
   Hash:69f28f72014de47081ad433675b42d62356bb116 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/145301962 TriggerType:PUSH TriggerID:69f28f72014de47081ad433675b42d62356bb116
   Hash:69f28f72014de47081ad433675b42d62356bb116 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4517 TriggerType:PUSH TriggerID:69f28f72014de47081ad433675b42d62356bb116
   Hash:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145306247 TriggerType:PUSH TriggerID:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7
   Hash:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4522 TriggerType:PUSH TriggerID:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7
   Hash:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4522 TriggerType:MANUAL TriggerID:576526813
   Hash:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145306247 TriggerType:MANUAL TriggerID:576526813
   -->
   ## CI report:
   
   * 09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/145104314) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4470) 
   * 93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/145105232) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4473) 
   * 84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/145112010) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4481) 
   * 46e510779736a390f71ac42f8294c81b6cbaa51c Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/145157661) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4493) 
   * 69f28f72014de47081ad433675b42d62356bb116 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/145301962) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4517) 
   * a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/145306247) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4522) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration
URL: https://github.com/apache/flink/pull/10898#issuecomment-575987880
 
 
   <!--
   Meta data
   Hash:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Status:PENDING URL:https://travis-ci.com/flink-ci/flink/builds/145104314 TriggerType:PUSH TriggerID:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69
   Hash:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Status:PENDING URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4470 TriggerType:PUSH TriggerID:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69
   Hash:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Status:UNKNOWN URL:TBD TriggerType:PUSH TriggerID:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac
   -->
   ## CI report:
   
   * 09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Travis: [PENDING](https://travis-ci.com/flink-ci/flink/builds/145104314) Azure: [PENDING](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4470) 
   * 93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] wangyang0918 commented on a change in pull request #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration

Posted by GitBox <gi...@apache.org>.
wangyang0918 commented on a change in pull request #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration
URL: https://github.com/apache/flink/pull/10898#discussion_r368351293
 
 

 ##########
 File path: flink-kubernetes/src/main/java/org/apache/flink/kubernetes/KubernetesClusterDescriptor.java
 ##########
 @@ -84,6 +86,11 @@ public String getClusterDescription() {
 			if (restEndpoint != null) {
 				configuration.setString(RestOptions.ADDRESS, restEndpoint.getAddress());
 				configuration.setInteger(RestOptions.PORT, restEndpoint.getPort());
+				// Flink client will not use HA service to retrieve address of jobmanager. Instead, it always use Kubernetes
+				// service to contact with jobmanager via rest client.
+				if (HighAvailabilityMode.isHighAvailabilityModeActivated(flinkConfig)) {
 
 Review comment:
   I have a serious consideration and will find a more clean way. Maybe adding a new construct method for `RestClusterClient` could work.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration
URL: https://github.com/apache/flink/pull/10898#issuecomment-575987880
 
 
   <!--
   Meta data
   Hash:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/145104314 TriggerType:PUSH TriggerID:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69
   Hash:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4470 TriggerType:PUSH TriggerID:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69
   Hash:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/145105232 TriggerType:PUSH TriggerID:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac
   Hash:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4473 TriggerType:PUSH TriggerID:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac
   Hash:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145112010 TriggerType:PUSH TriggerID:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8
   Hash:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4481 TriggerType:PUSH TriggerID:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8
   Hash:46e510779736a390f71ac42f8294c81b6cbaa51c Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145157661 TriggerType:PUSH TriggerID:46e510779736a390f71ac42f8294c81b6cbaa51c
   Hash:46e510779736a390f71ac42f8294c81b6cbaa51c Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4493 TriggerType:PUSH TriggerID:46e510779736a390f71ac42f8294c81b6cbaa51c
   Hash:69f28f72014de47081ad433675b42d62356bb116 Status:UNKNOWN URL:TBD TriggerType:PUSH TriggerID:69f28f72014de47081ad433675b42d62356bb116
   -->
   ## CI report:
   
   * 09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/145104314) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4470) 
   * 93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/145105232) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4473) 
   * 84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/145112010) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4481) 
   * 46e510779736a390f71ac42f8294c81b6cbaa51c Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/145157661) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4493) 
   * 69f28f72014de47081ad433675b42d62356bb116 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] zhuzhurk commented on a change in pull request #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration

Posted by GitBox <gi...@apache.org>.
zhuzhurk commented on a change in pull request #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration
URL: https://github.com/apache/flink/pull/10898#discussion_r368283264
 
 

 ##########
 File path: flink-kubernetes/src/main/java/org/apache/flink/kubernetes/entrypoint/KubernetesEntrypointUtils.java
 ##########
 @@ -0,0 +1,65 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.flink.kubernetes.entrypoint;
+
+import org.apache.flink.configuration.ConfigConstants;
+import org.apache.flink.configuration.Configuration;
+import org.apache.flink.configuration.GlobalConfiguration;
+import org.apache.flink.configuration.JobManagerOptions;
+import org.apache.flink.configuration.RestOptions;
+import org.apache.flink.kubernetes.utils.Constants;
+import org.apache.flink.runtime.jobmanager.HighAvailabilityMode;
+import org.apache.flink.util.Preconditions;
+
+/**
+ * This class contains utility methods for the {@link KubernetesSessionClusterEntrypoint}.
+ */
+class KubernetesEntrypointUtils {
+
+	/**
+	 * For non-HA cluster, jobmanager rpc address has be set to Kubernetes service name on client side. So the TaskManager
+	 * will use service address to connect with jobmanager.
+	 * For HA cluster, jobmanager rpc address will be set to ip address. The TaskManager use Zookeeper or other
+	 * high-availability service to find the address of jobmanager. The Kubernetes DNS creates A and SRV records only for
+	 * Services. It doesn't generate pods' A records. So the ip address, not hostname, will be used as jobmanager address.
+	 *
+	 * @return Updated configuration
+	 */
+	static Configuration loadConfiguration() {
+		final String configDir = System.getenv(ConfigConstants.ENV_FLINK_CONF_DIR);
+		Preconditions.checkNotNull(
+			configDir,
+			"Flink configuration directory (%s) in environment should not be null!",
+			ConfigConstants.ENV_FLINK_CONF_DIR);
+
+		final Configuration configuration = GlobalConfiguration.loadConfiguration(configDir);
+
+		if (HighAvailabilityMode.isHighAvailabilityModeActivated(configuration)) {
+			final String ipAddress =  System.getenv().get(Constants.ENV_FLINK_POD_IP_ADDRESS);
+			Preconditions.checkState(
+				ipAddress != null,
+				"JobManager ip address environment variable %s not set",
+				Constants.ENV_FLINK_POD_IP_ADDRESS);
+			configuration.setString(JobManagerOptions.ADDRESS, ipAddress);
 
 Review comment:
   How about to set it to IP in all cases to avoid confusion, namely, change how we set `JobManagerOptions.ADDRESS` in `KubernetesClusterDescriptor#deployClusterInternal()`?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration
URL: https://github.com/apache/flink/pull/10898#issuecomment-575987880
 
 
   <!--
   Meta data
   Hash:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/145104314 TriggerType:PUSH TriggerID:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69
   Hash:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Status:PENDING URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4470 TriggerType:PUSH TriggerID:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69
   Hash:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Status:PENDING URL:https://travis-ci.com/flink-ci/flink/builds/145105232 TriggerType:PUSH TriggerID:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac
   Hash:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Status:PENDING URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4473 TriggerType:PUSH TriggerID:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac
   -->
   ## CI report:
   
   * 09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/145104314) Azure: [PENDING](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4470) 
   * 93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Travis: [PENDING](https://travis-ci.com/flink-ci/flink/builds/145105232) Azure: [PENDING](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4473) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration
URL: https://github.com/apache/flink/pull/10898#issuecomment-575987880
 
 
   <!--
   Meta data
   Hash:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/145104314 TriggerType:PUSH TriggerID:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69
   Hash:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4470 TriggerType:PUSH TriggerID:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69
   Hash:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/145105232 TriggerType:PUSH TriggerID:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac
   Hash:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4473 TriggerType:PUSH TriggerID:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac
   Hash:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145112010 TriggerType:PUSH TriggerID:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8
   Hash:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4481 TriggerType:PUSH TriggerID:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8
   Hash:46e510779736a390f71ac42f8294c81b6cbaa51c Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145157661 TriggerType:PUSH TriggerID:46e510779736a390f71ac42f8294c81b6cbaa51c
   Hash:46e510779736a390f71ac42f8294c81b6cbaa51c Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4493 TriggerType:PUSH TriggerID:46e510779736a390f71ac42f8294c81b6cbaa51c
   Hash:69f28f72014de47081ad433675b42d62356bb116 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/145301962 TriggerType:PUSH TriggerID:69f28f72014de47081ad433675b42d62356bb116
   Hash:69f28f72014de47081ad433675b42d62356bb116 Status:PENDING URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4517 TriggerType:PUSH TriggerID:69f28f72014de47081ad433675b42d62356bb116
   Hash:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7 Status:UNKNOWN URL:TBD TriggerType:PUSH TriggerID:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7
   -->
   ## CI report:
   
   * 09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/145104314) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4470) 
   * 93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/145105232) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4473) 
   * 84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/145112010) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4481) 
   * 46e510779736a390f71ac42f8294c81b6cbaa51c Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/145157661) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4493) 
   * 69f28f72014de47081ad433675b42d62356bb116 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/145301962) Azure: [PENDING](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4517) 
   * a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] wangyang0918 commented on issue #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration

Posted by GitBox <gi...@apache.org>.
wangyang0918 commented on issue #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration
URL: https://github.com/apache/flink/pull/10898#issuecomment-576584888
 
 
   @flinkbot run travis

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] wangyang0918 commented on a change in pull request #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration

Posted by GitBox <gi...@apache.org>.
wangyang0918 commented on a change in pull request #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration
URL: https://github.com/apache/flink/pull/10898#discussion_r368290417
 
 

 ##########
 File path: flink-kubernetes/src/main/java/org/apache/flink/kubernetes/entrypoint/KubernetesEntrypointUtils.java
 ##########
 @@ -0,0 +1,65 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.flink.kubernetes.entrypoint;
+
+import org.apache.flink.configuration.ConfigConstants;
+import org.apache.flink.configuration.Configuration;
+import org.apache.flink.configuration.GlobalConfiguration;
+import org.apache.flink.configuration.JobManagerOptions;
+import org.apache.flink.configuration.RestOptions;
+import org.apache.flink.kubernetes.utils.Constants;
+import org.apache.flink.runtime.jobmanager.HighAvailabilityMode;
+import org.apache.flink.util.Preconditions;
+
+/**
+ * This class contains utility methods for the {@link KubernetesSessionClusterEntrypoint}.
+ */
+class KubernetesEntrypointUtils {
 
 Review comment:
   Nice suggestion. I will fix it.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] zhuzhurk merged pull request #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration

Posted by GitBox <gi...@apache.org>.
zhuzhurk merged pull request #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration
URL: https://github.com/apache/flink/pull/10898
 
 
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration
URL: https://github.com/apache/flink/pull/10898#issuecomment-575987880
 
 
   <!--
   Meta data
   Hash:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/145104314 TriggerType:PUSH TriggerID:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69
   Hash:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4470 TriggerType:PUSH TriggerID:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69
   Hash:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/145105232 TriggerType:PUSH TriggerID:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac
   Hash:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4473 TriggerType:PUSH TriggerID:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac
   Hash:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145112010 TriggerType:PUSH TriggerID:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8
   Hash:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4481 TriggerType:PUSH TriggerID:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8
   Hash:46e510779736a390f71ac42f8294c81b6cbaa51c Status:PENDING URL:https://travis-ci.com/flink-ci/flink/builds/145157661 TriggerType:PUSH TriggerID:46e510779736a390f71ac42f8294c81b6cbaa51c
   Hash:46e510779736a390f71ac42f8294c81b6cbaa51c Status:PENDING URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4493 TriggerType:PUSH TriggerID:46e510779736a390f71ac42f8294c81b6cbaa51c
   -->
   ## CI report:
   
   * 09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/145104314) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4470) 
   * 93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/145105232) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4473) 
   * 84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/145112010) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4481) 
   * 46e510779736a390f71ac42f8294c81b6cbaa51c Travis: [PENDING](https://travis-ci.com/flink-ci/flink/builds/145157661) Azure: [PENDING](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4493) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration
URL: https://github.com/apache/flink/pull/10898#issuecomment-575987880
 
 
   <!--
   Meta data
   Hash:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/145104314 TriggerType:PUSH TriggerID:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69
   Hash:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4470 TriggerType:PUSH TriggerID:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69
   Hash:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/145105232 TriggerType:PUSH TriggerID:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac
   Hash:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4473 TriggerType:PUSH TriggerID:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac
   Hash:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145112010 TriggerType:PUSH TriggerID:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8
   Hash:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4481 TriggerType:PUSH TriggerID:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8
   -->
   ## CI report:
   
   * 09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/145104314) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4470) 
   * 93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/145105232) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4473) 
   * 84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/145112010) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4481) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] zhuzhurk commented on a change in pull request #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration

Posted by GitBox <gi...@apache.org>.
zhuzhurk commented on a change in pull request #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration
URL: https://github.com/apache/flink/pull/10898#discussion_r368525852
 
 

 ##########
 File path: flink-clients/src/main/java/org/apache/flink/client/program/rest/RestClusterClient.java
 ##########
 @@ -182,7 +206,7 @@ public RestClusterClient(Configuration config, T clusterId) throws Exception {
 		this.waitStrategy = checkNotNull(waitStrategy);
 		this.clusterId = checkNotNull(clusterId);
 
-		this.clientHAServices = HighAvailabilityServicesUtils.createClientHAService(configuration);
+		this.clientHAServices = clientHAServices;
 
 Review comment:
   better to `checkNotNull`

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration
URL: https://github.com/apache/flink/pull/10898#issuecomment-575987880
 
 
   <!--
   Meta data
   Hash:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/145104314 TriggerType:PUSH TriggerID:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69
   Hash:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4470 TriggerType:PUSH TriggerID:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69
   Hash:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/145105232 TriggerType:PUSH TriggerID:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac
   Hash:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4473 TriggerType:PUSH TriggerID:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac
   Hash:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145112010 TriggerType:PUSH TriggerID:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8
   Hash:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4481 TriggerType:PUSH TriggerID:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8
   Hash:46e510779736a390f71ac42f8294c81b6cbaa51c Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145157661 TriggerType:PUSH TriggerID:46e510779736a390f71ac42f8294c81b6cbaa51c
   Hash:46e510779736a390f71ac42f8294c81b6cbaa51c Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4493 TriggerType:PUSH TriggerID:46e510779736a390f71ac42f8294c81b6cbaa51c
   Hash:69f28f72014de47081ad433675b42d62356bb116 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/145301962 TriggerType:PUSH TriggerID:69f28f72014de47081ad433675b42d62356bb116
   Hash:69f28f72014de47081ad433675b42d62356bb116 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4517 TriggerType:PUSH TriggerID:69f28f72014de47081ad433675b42d62356bb116
   Hash:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145306247 TriggerType:PUSH TriggerID:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7
   Hash:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4522 TriggerType:PUSH TriggerID:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7
   Hash:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4522 TriggerType:MANUAL TriggerID:576526813
   Hash:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145306247 TriggerType:MANUAL TriggerID:576526813
   Hash:3da241511d5030cf3120c9f3e381b21fef0b4347 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4525 TriggerType:PUSH TriggerID:3da241511d5030cf3120c9f3e381b21fef0b4347
   Hash:3da241511d5030cf3120c9f3e381b21fef0b4347 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145316185 TriggerType:PUSH TriggerID:3da241511d5030cf3120c9f3e381b21fef0b4347
   Hash:d4624a807cb6639b2c68646b9fdb933c7560d0a6 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4528 TriggerType:PUSH TriggerID:d4624a807cb6639b2c68646b9fdb933c7560d0a6
   Hash:d4624a807cb6639b2c68646b9fdb933c7560d0a6 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145321960 TriggerType:PUSH TriggerID:d4624a807cb6639b2c68646b9fdb933c7560d0a6
   Hash:d4624a807cb6639b2c68646b9fdb933c7560d0a6 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145321960 TriggerType:MANUAL TriggerID:576584888
   Hash:d4624a807cb6639b2c68646b9fdb933c7560d0a6 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4528 TriggerType:MANUAL TriggerID:576584888
   Hash:18df29c4c4e6b174cb5d206ca2e4878be1e5d5dd Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145405186 TriggerType:PUSH TriggerID:18df29c4c4e6b174cb5d206ca2e4878be1e5d5dd
   Hash:18df29c4c4e6b174cb5d206ca2e4878be1e5d5dd Status:PENDING URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4544 TriggerType:PUSH TriggerID:18df29c4c4e6b174cb5d206ca2e4878be1e5d5dd
   -->
   ## CI report:
   
   * 09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/145104314) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4470) 
   * 93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/145105232) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4473) 
   * 84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/145112010) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4481) 
   * 46e510779736a390f71ac42f8294c81b6cbaa51c Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/145157661) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4493) 
   * 69f28f72014de47081ad433675b42d62356bb116 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/145301962) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4517) 
   * a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/145306247) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4522) 
   * 3da241511d5030cf3120c9f3e381b21fef0b4347 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/145316185) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4525) 
   * d4624a807cb6639b2c68646b9fdb933c7560d0a6 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/145321960) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4528) 
   * 18df29c4c4e6b174cb5d206ca2e4878be1e5d5dd Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/145405186) Azure: [PENDING](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4544) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration
URL: https://github.com/apache/flink/pull/10898#issuecomment-575987880
 
 
   <!--
   Meta data
   Hash:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/145104314 TriggerType:PUSH TriggerID:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69
   Hash:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4470 TriggerType:PUSH TriggerID:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69
   Hash:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/145105232 TriggerType:PUSH TriggerID:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac
   Hash:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4473 TriggerType:PUSH TriggerID:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac
   Hash:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145112010 TriggerType:PUSH TriggerID:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8
   Hash:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4481 TriggerType:PUSH TriggerID:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8
   Hash:46e510779736a390f71ac42f8294c81b6cbaa51c Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145157661 TriggerType:PUSH TriggerID:46e510779736a390f71ac42f8294c81b6cbaa51c
   Hash:46e510779736a390f71ac42f8294c81b6cbaa51c Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4493 TriggerType:PUSH TriggerID:46e510779736a390f71ac42f8294c81b6cbaa51c
   Hash:69f28f72014de47081ad433675b42d62356bb116 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/145301962 TriggerType:PUSH TriggerID:69f28f72014de47081ad433675b42d62356bb116
   Hash:69f28f72014de47081ad433675b42d62356bb116 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4517 TriggerType:PUSH TriggerID:69f28f72014de47081ad433675b42d62356bb116
   Hash:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145306247 TriggerType:PUSH TriggerID:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7
   Hash:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4522 TriggerType:PUSH TriggerID:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7
   Hash:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4522 TriggerType:MANUAL TriggerID:576526813
   Hash:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145306247 TriggerType:MANUAL TriggerID:576526813
   Hash:3da241511d5030cf3120c9f3e381b21fef0b4347 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4525 TriggerType:PUSH TriggerID:3da241511d5030cf3120c9f3e381b21fef0b4347
   Hash:3da241511d5030cf3120c9f3e381b21fef0b4347 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145316185 TriggerType:PUSH TriggerID:3da241511d5030cf3120c9f3e381b21fef0b4347
   Hash:d4624a807cb6639b2c68646b9fdb933c7560d0a6 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4528 TriggerType:PUSH TriggerID:d4624a807cb6639b2c68646b9fdb933c7560d0a6
   Hash:d4624a807cb6639b2c68646b9fdb933c7560d0a6 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145321960 TriggerType:PUSH TriggerID:d4624a807cb6639b2c68646b9fdb933c7560d0a6
   Hash:d4624a807cb6639b2c68646b9fdb933c7560d0a6 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145321960 TriggerType:MANUAL TriggerID:576584888
   Hash:d4624a807cb6639b2c68646b9fdb933c7560d0a6 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4528 TriggerType:MANUAL TriggerID:576584888
   -->
   ## CI report:
   
   * 09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/145104314) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4470) 
   * 93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/145105232) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4473) 
   * 84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/145112010) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4481) 
   * 46e510779736a390f71ac42f8294c81b6cbaa51c Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/145157661) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4493) 
   * 69f28f72014de47081ad433675b42d62356bb116 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/145301962) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4517) 
   * a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/145306247) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4522) 
   * 3da241511d5030cf3120c9f3e381b21fef0b4347 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/145316185) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4525) 
   * d4624a807cb6639b2c68646b9fdb933c7560d0a6 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/145321960) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4528) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] zhuzhurk commented on a change in pull request #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration

Posted by GitBox <gi...@apache.org>.
zhuzhurk commented on a change in pull request #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration
URL: https://github.com/apache/flink/pull/10898#discussion_r368282885
 
 

 ##########
 File path: flink-kubernetes/src/test/java/org/apache/flink/kubernetes/kubeclient/Fabric8ClientTest.java
 ##########
 @@ -189,7 +190,10 @@ public void testCreateFlinkMasterDeployment() {
 			jmContainer.getVolumeMounts().get(0).getMountPath());
 		assertEquals(FLINK_CONF_FILENAME, jmContainer.getVolumeMounts().get(0).getSubPath());
 
-		assertThat(jmContainer.getEnv(), Matchers.contains(new EnvVar(FLINK_MASTER_ENV_KEY, FLINK_MASTER_ENV_VALUE, null)));
+		EnvVar masterEnv = new EnvVar(FLINK_MASTER_ENV_KEY, FLINK_MASTER_ENV_VALUE, null);
 
 Review comment:
   This change seems to be unrelated? How about to do it in a separate commit?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration
URL: https://github.com/apache/flink/pull/10898#issuecomment-575987880
 
 
   <!--
   Meta data
   Hash:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/145104314 TriggerType:PUSH TriggerID:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69
   Hash:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4470 TriggerType:PUSH TriggerID:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69
   Hash:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/145105232 TriggerType:PUSH TriggerID:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac
   Hash:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4473 TriggerType:PUSH TriggerID:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac
   Hash:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145112010 TriggerType:PUSH TriggerID:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8
   Hash:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4481 TriggerType:PUSH TriggerID:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8
   Hash:46e510779736a390f71ac42f8294c81b6cbaa51c Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145157661 TriggerType:PUSH TriggerID:46e510779736a390f71ac42f8294c81b6cbaa51c
   Hash:46e510779736a390f71ac42f8294c81b6cbaa51c Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4493 TriggerType:PUSH TriggerID:46e510779736a390f71ac42f8294c81b6cbaa51c
   Hash:69f28f72014de47081ad433675b42d62356bb116 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/145301962 TriggerType:PUSH TriggerID:69f28f72014de47081ad433675b42d62356bb116
   Hash:69f28f72014de47081ad433675b42d62356bb116 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4517 TriggerType:PUSH TriggerID:69f28f72014de47081ad433675b42d62356bb116
   Hash:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145306247 TriggerType:PUSH TriggerID:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7
   Hash:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4522 TriggerType:PUSH TriggerID:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7
   Hash:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4522 TriggerType:MANUAL TriggerID:576526813
   Hash:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145306247 TriggerType:MANUAL TriggerID:576526813
   Hash:3da241511d5030cf3120c9f3e381b21fef0b4347 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4525 TriggerType:PUSH TriggerID:3da241511d5030cf3120c9f3e381b21fef0b4347
   Hash:3da241511d5030cf3120c9f3e381b21fef0b4347 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145316185 TriggerType:PUSH TriggerID:3da241511d5030cf3120c9f3e381b21fef0b4347
   Hash:d4624a807cb6639b2c68646b9fdb933c7560d0a6 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4528 TriggerType:PUSH TriggerID:d4624a807cb6639b2c68646b9fdb933c7560d0a6
   Hash:d4624a807cb6639b2c68646b9fdb933c7560d0a6 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145321960 TriggerType:PUSH TriggerID:d4624a807cb6639b2c68646b9fdb933c7560d0a6
   Hash:d4624a807cb6639b2c68646b9fdb933c7560d0a6 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145321960 TriggerType:MANUAL TriggerID:576584888
   Hash:d4624a807cb6639b2c68646b9fdb933c7560d0a6 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4528 TriggerType:MANUAL TriggerID:576584888
   Hash:18df29c4c4e6b174cb5d206ca2e4878be1e5d5dd Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145405186 TriggerType:PUSH TriggerID:18df29c4c4e6b174cb5d206ca2e4878be1e5d5dd
   Hash:18df29c4c4e6b174cb5d206ca2e4878be1e5d5dd Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4544 TriggerType:PUSH TriggerID:18df29c4c4e6b174cb5d206ca2e4878be1e5d5dd
   -->
   ## CI report:
   
   * 09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/145104314) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4470) 
   * 93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/145105232) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4473) 
   * 84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/145112010) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4481) 
   * 46e510779736a390f71ac42f8294c81b6cbaa51c Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/145157661) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4493) 
   * 69f28f72014de47081ad433675b42d62356bb116 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/145301962) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4517) 
   * a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/145306247) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4522) 
   * 3da241511d5030cf3120c9f3e381b21fef0b4347 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/145316185) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4525) 
   * d4624a807cb6639b2c68646b9fdb933c7560d0a6 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/145321960) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4528) 
   * 18df29c4c4e6b174cb5d206ca2e4878be1e5d5dd Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/145405186) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4544) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] zhuzhurk commented on issue #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration

Posted by GitBox <gi...@apache.org>.
zhuzhurk commented on issue #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration
URL: https://github.com/apache/flink/pull/10898#issuecomment-576560561
 
 
   Thanks for addressing the comments @wangyang0918 .
   The change looks good to me. Will merge it once travis gives green.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] wangyang0918 commented on a change in pull request #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration

Posted by GitBox <gi...@apache.org>.
wangyang0918 commented on a change in pull request #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration
URL: https://github.com/apache/flink/pull/10898#discussion_r368290487
 
 

 ##########
 File path: flink-kubernetes/src/test/java/org/apache/flink/kubernetes/kubeclient/Fabric8ClientTest.java
 ##########
 @@ -189,7 +190,10 @@ public void testCreateFlinkMasterDeployment() {
 			jmContainer.getVolumeMounts().get(0).getMountPath());
 		assertEquals(FLINK_CONF_FILENAME, jmContainer.getVolumeMounts().get(0).getSubPath());
 
-		assertThat(jmContainer.getEnv(), Matchers.contains(new EnvVar(FLINK_MASTER_ENV_KEY, FLINK_MASTER_ENV_VALUE, null)));
+		EnvVar masterEnv = new EnvVar(FLINK_MASTER_ENV_KEY, FLINK_MASTER_ENV_VALUE, null);
 
 Review comment:
   Make sense. I will put it into a separate commit.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration
URL: https://github.com/apache/flink/pull/10898#issuecomment-575987880
 
 
   <!--
   Meta data
   Hash:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/145104314 TriggerType:PUSH TriggerID:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69
   Hash:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4470 TriggerType:PUSH TriggerID:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69
   Hash:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/145105232 TriggerType:PUSH TriggerID:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac
   Hash:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4473 TriggerType:PUSH TriggerID:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac
   -->
   ## CI report:
   
   * 09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/145104314) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4470) 
   * 93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/145105232) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4473) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot commented on issue #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration

Posted by GitBox <gi...@apache.org>.
flinkbot commented on issue #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration
URL: https://github.com/apache/flink/pull/10898#issuecomment-575987880
 
 
   <!--
   Meta data
   Hash:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Status:UNKNOWN URL:TBD TriggerType:PUSH TriggerID:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69
   -->
   ## CI report:
   
   * 09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] wangyang0918 commented on a change in pull request #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration

Posted by GitBox <gi...@apache.org>.
wangyang0918 commented on a change in pull request #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration
URL: https://github.com/apache/flink/pull/10898#discussion_r368556538
 
 

 ##########
 File path: flink-kubernetes/src/main/java/org/apache/flink/kubernetes/KubernetesClusterDescriptor.java
 ##########
 @@ -168,6 +185,13 @@ public String getClusterDescription() {
 		final String nameSpace = flinkConfig.getString(KubernetesConfigOptions.NAMESPACE);
 		flinkConfig.setString(JobManagerOptions.ADDRESS, clusterId + "." + nameSpace);
 
+		if (HighAvailabilityMode.isHighAvailabilityModeActivated(flinkConfig)) {
+			flinkConfig.setString(HighAvailabilityOptions.HA_CLUSTER_ID, clusterId);
 
 Review comment:
   We should update the `HA_CLUSTER_ID` since it will be used to contruct the zk path and ha storage path for the Flink cluster.
   Yarn has the similar behavior in `FlinkYarnSessionCli#applyCommandLineOptionsToConfiguration`.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] zhuzhurk commented on a change in pull request #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration

Posted by GitBox <gi...@apache.org>.
zhuzhurk commented on a change in pull request #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration
URL: https://github.com/apache/flink/pull/10898#discussion_r368791105
 
 

 ##########
 File path: flink-kubernetes/src/main/java/org/apache/flink/kubernetes/KubernetesClusterDescriptor.java
 ##########
 @@ -168,6 +185,13 @@ public String getClusterDescription() {
 		final String nameSpace = flinkConfig.getString(KubernetesConfigOptions.NAMESPACE);
 		flinkConfig.setString(JobManagerOptions.ADDRESS, clusterId + "." + nameSpace);
 
+		if (HighAvailabilityMode.isHighAvailabilityModeActivated(flinkConfig)) {
+			flinkConfig.setString(HighAvailabilityOptions.HA_CLUSTER_ID, clusterId);
 
 Review comment:
   Yes. If it fixes another issue, we should make it a different commit.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration
URL: https://github.com/apache/flink/pull/10898#issuecomment-575987880
 
 
   <!--
   Meta data
   Hash:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/145104314 TriggerType:PUSH TriggerID:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69
   Hash:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4470 TriggerType:PUSH TriggerID:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69
   Hash:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/145105232 TriggerType:PUSH TriggerID:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac
   Hash:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Status:PENDING URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4473 TriggerType:PUSH TriggerID:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac
   -->
   ## CI report:
   
   * 09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/145104314) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4470) 
   * 93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/145105232) Azure: [PENDING](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4473) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration
URL: https://github.com/apache/flink/pull/10898#issuecomment-575987880
 
 
   <!--
   Meta data
   Hash:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/145104314 TriggerType:PUSH TriggerID:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69
   Hash:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4470 TriggerType:PUSH TriggerID:09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69
   Hash:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/145105232 TriggerType:PUSH TriggerID:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac
   Hash:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4473 TriggerType:PUSH TriggerID:93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac
   Hash:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145112010 TriggerType:PUSH TriggerID:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8
   Hash:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4481 TriggerType:PUSH TriggerID:84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8
   Hash:46e510779736a390f71ac42f8294c81b6cbaa51c Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/145157661 TriggerType:PUSH TriggerID:46e510779736a390f71ac42f8294c81b6cbaa51c
   Hash:46e510779736a390f71ac42f8294c81b6cbaa51c Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4493 TriggerType:PUSH TriggerID:46e510779736a390f71ac42f8294c81b6cbaa51c
   Hash:69f28f72014de47081ad433675b42d62356bb116 Status:FAILURE URL:https://travis-ci.com/flink-ci/flink/builds/145301962 TriggerType:PUSH TriggerID:69f28f72014de47081ad433675b42d62356bb116
   Hash:69f28f72014de47081ad433675b42d62356bb116 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4517 TriggerType:PUSH TriggerID:69f28f72014de47081ad433675b42d62356bb116
   Hash:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7 Status:PENDING URL:https://travis-ci.com/flink-ci/flink/builds/145306247 TriggerType:PUSH TriggerID:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7
   Hash:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7 Status:FAILURE URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4522 TriggerType:PUSH TriggerID:a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7
   -->
   ## CI report:
   
   * 09c6c4e6068e7d01c7c6f14370b9fbc6b0bdce69 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/145104314) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4470) 
   * 93fe86fa5b20c9ab53afc0fd3f664ac8af0383ac Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/145105232) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4473) 
   * 84bb6a6ec1c0fe6d7c62e4fa68cabef6937954a8 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/145112010) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4481) 
   * 46e510779736a390f71ac42f8294c81b6cbaa51c Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/145157661) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4493) 
   * 69f28f72014de47081ad433675b42d62356bb116 Travis: [FAILURE](https://travis-ci.com/flink-ci/flink/builds/145301962) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4517) 
   * a43bc2d6a72469aecc9c5b6dec1a70d14ea94fe7 Travis: [PENDING](https://travis-ci.com/flink-ci/flink/builds/145306247) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=4522) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] wangyang0918 commented on a change in pull request #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration

Posted by GitBox <gi...@apache.org>.
wangyang0918 commented on a change in pull request #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration
URL: https://github.com/apache/flink/pull/10898#discussion_r368293694
 
 

 ##########
 File path: flink-kubernetes/src/main/java/org/apache/flink/kubernetes/KubernetesClusterDescriptor.java
 ##########
 @@ -84,6 +86,11 @@ public String getClusterDescription() {
 			if (restEndpoint != null) {
 				configuration.setString(RestOptions.ADDRESS, restEndpoint.getAddress());
 				configuration.setInteger(RestOptions.PORT, restEndpoint.getPort());
+				// Flink client will not use HA service to retrieve address of jobmanager. Instead, it always use Kubernetes
+				// service to contact with jobmanager via rest client.
+				if (HighAvailabilityMode.isHighAvailabilityModeActivated(flinkConfig)) {
 
 Review comment:
   I do not think it is a temporary hack. 
   In Kubernetes deployment, when we want to get a ClusterClient, we should not retrieve it from the `ClientHAService`. Instead, we retrieve the rest endpoint from Kubernetes service. 
   
   Maybe removing the condition `if (HighAvailabilityMode.isHighAvailabilityModeActivated(flinkConfig))` will look better. 
   
   ```
   final Endpoint restEndpoint = client.getRestEndpoint(clusterId);
   if (restEndpoint != null) {
     configuration.setString(RestOptions.ADDRESS, restEndpoint.getAddress());
     configuration.setInteger(RestOptions.PORT, restEndpoint.getPort());
   }
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] zhuzhurk commented on a change in pull request #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration

Posted by GitBox <gi...@apache.org>.
zhuzhurk commented on a change in pull request #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration
URL: https://github.com/apache/flink/pull/10898#discussion_r368529197
 
 

 ##########
 File path: flink-kubernetes/src/main/java/org/apache/flink/kubernetes/KubernetesClusterDescriptor.java
 ##########
 @@ -168,6 +185,13 @@ public String getClusterDescription() {
 		final String nameSpace = flinkConfig.getString(KubernetesConfigOptions.NAMESPACE);
 		flinkConfig.setString(JobManagerOptions.ADDRESS, clusterId + "." + nameSpace);
 
+		if (HighAvailabilityMode.isHighAvailabilityModeActivated(flinkConfig)) {
+			flinkConfig.setString(HighAvailabilityOptions.HA_CLUSTER_ID, clusterId);
 
 Review comment:
   What's the config overriding for?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] zhuzhurk commented on a change in pull request #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration

Posted by GitBox <gi...@apache.org>.
zhuzhurk commented on a change in pull request #10898: [FLINK-15632][kubernetes] Make zookeeper HA service could work for active kubernetes integration
URL: https://github.com/apache/flink/pull/10898#discussion_r368282556
 
 

 ##########
 File path: flink-kubernetes/src/main/java/org/apache/flink/kubernetes/kubeclient/decorators/FlinkMasterDeploymentDecorator.java
 ##########
 @@ -138,13 +144,21 @@ private Container createJobManagerContainer(
 				new ContainerPortBuilder().withContainerPort(flinkConfig.getInteger(RestOptions.PORT)).build(),
 				new ContainerPortBuilder().withContainerPort(flinkConfig.getInteger(JobManagerOptions.PORT)).build(),
 				new ContainerPortBuilder().withContainerPort(blobServerPort).build()))
-			.withEnv(
-				BootstrapTools.getEnvironmentVariables(ResourceManagerOptions.CONTAINERIZED_MASTER_ENV_PREFIX, flinkConfig)
-					.entrySet()
-					.stream()
-					.map(kv -> new EnvVar(kv.getKey(), kv.getValue(), null))
-					.collect(Collectors.toList()))
+			.withEnv(buildEnvForContainer(flinkConfig)).withEnvFrom()
 
 Review comment:
   useless `withEnvFrom`?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services