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 2019/12/22 16:02:09 UTC

[GitHub] [flink] MGloder opened a new pull request #10658: [FLINK-15359] Remove unused YarnConfigOptions, Tests, Docs

MGloder opened a new pull request #10658: [FLINK-15359] Remove unused YarnConfigOptions, Tests, Docs
URL: https://github.com/apache/flink/pull/10658
 
 
   <!--
   *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
   
   This PR delete unused YarnConfigOptions code to avoid misunderstanding
   
   
   ## Brief change log
   
   Delete unused code from YarnConfigOptions, ConfigConstants and YARNSessionCapacitySchedulerITCase. Also regenerate the docs for unused options
   
   ## Verifying this change
   
   This change is a trivial rework / code cleanup without any test coverage.
   
   ## 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] tillrohrmann commented on a change in pull request #10658: [FLINK-15359] Remove unused YarnConfigOptions, Tests, Docs

Posted by GitBox <gi...@apache.org>.
tillrohrmann commented on a change in pull request #10658: [FLINK-15359] Remove unused YarnConfigOptions, Tests, Docs
URL: https://github.com/apache/flink/pull/10658#discussion_r364623782
 
 

 ##########
 File path: flink-core/src/main/java/org/apache/flink/configuration/ConfigConstants.java
 ##########
 @@ -434,17 +434,6 @@
 	@Deprecated
 	public static final String YARN_REALLOCATE_FAILED_CONTAINERS = "yarn.reallocate-failed";
 
-	/**
-	 * The maximum number of failed YARN containers before entirely stopping
-	 * the YARN session / job on YARN.
-	 *
-	 * <p>By default, we take the number of initially requested containers.
-	 *
-	 * @deprecated in favor of {@code YarnConfigOptions#MAX_FAILED_CONTAINERS}.
-	 */
-	@Deprecated
-	public static final String YARN_MAX_FAILED_CONTAINERS = "yarn.maximum-failed-containers";
-
 
 Review comment:
   You cannot simply remove static fields from a class which is annotated with `@Public`.

----------------------------------------------------------------
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] xintongsong commented on issue #10658: [FLINK-15359] Remove unused YarnConfigOptions, Tests, Docs

Posted by GitBox <gi...@apache.org>.
xintongsong commented on issue #10658: [FLINK-15359] Remove unused YarnConfigOptions, Tests, Docs
URL: https://github.com/apache/flink/pull/10658#issuecomment-568334978
 
 
   @TisonKun 
   I'm not aware of any reason for keeping the "maximum failed containers".
   I checked the git history, and it seems this option was last used by the legacy `YarnFlinkResourceManager`, which is removed in `e97967278904cb2706a6514ad0a13d50cc389b20`. The commit was actually authored by you and committed by @tillrohrmann.
   Maybe @tillrohrmann could help double check on this option?

----------------------------------------------------------------
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 #10658: [FLINK-15359] Remove unused YarnConfigOptions, Tests, Docs

Posted by GitBox <gi...@apache.org>.
flinkbot commented on issue #10658: [FLINK-15359] Remove unused YarnConfigOptions, Tests, Docs
URL: https://github.com/apache/flink/pull/10658#issuecomment-568275670
 
 
   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 cfc9c19a4ad9c29e6b97971613ca863c11e04b89 (Sun Dec 22 16:04:13 UTC 2019)
   
   **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] TisonKun edited a comment on issue #10658: [FLINK-15359] Remove unused YarnConfigOptions, Tests, Docs

Posted by GitBox <gi...@apache.org>.
TisonKun edited a comment on issue #10658: [FLINK-15359] Remove unused YarnConfigOptions, Tests, Docs
URL: https://github.com/apache/flink/pull/10658#issuecomment-568277513
 
 
   @xintongsong possibly the "maximum failed containers" is still useful(but no power now). Please also take a look if it is a bug we should fix or an outdated configuration we can remove.

----------------------------------------------------------------
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] TisonKun commented on a change in pull request #10658: [FLINK-15359] Remove unused YarnConfigOptions, Tests, Docs

Posted by GitBox <gi...@apache.org>.
TisonKun commented on a change in pull request #10658: [FLINK-15359] Remove unused YarnConfigOptions, Tests, Docs
URL: https://github.com/apache/flink/pull/10658#discussion_r364632604
 
 

 ##########
 File path: flink-core/src/main/java/org/apache/flink/configuration/ConfigConstants.java
 ##########
 @@ -434,17 +434,6 @@
 	@Deprecated
 	public static final String YARN_REALLOCATE_FAILED_CONTAINERS = "yarn.reallocate-failed";
 
-	/**
-	 * The maximum number of failed YARN containers before entirely stopping
-	 * the YARN session / job on YARN.
-	 *
-	 * <p>By default, we take the number of initially requested containers.
-	 *
-	 * @deprecated in favor of {@code YarnConfigOptions#MAX_FAILED_CONTAINERS}.
-	 */
-	@Deprecated
-	public static final String YARN_MAX_FAILED_CONTAINERS = "yarn.maximum-failed-containers";
-
 
 Review comment:
   Another thought is that per @aljoscha mentioned before remove an option with no power notify the user about a problematic settings. But well, here the concern is b/w promise provided by `@Public`

----------------------------------------------------------------
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 #10658: [FLINK-15359] Remove unused YarnConfigOptions, Tests, Docs

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #10658: [FLINK-15359] Remove unused YarnConfigOptions, Tests, Docs
URL: https://github.com/apache/flink/pull/10658#issuecomment-568278789
 
 
   <!--
   Meta data
   Hash:cfc9c19a4ad9c29e6b97971613ca863c11e04b89 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/142048557 TriggerType:PUSH TriggerID:cfc9c19a4ad9c29e6b97971613ca863c11e04b89
   Hash:cfc9c19a4ad9c29e6b97971613ca863c11e04b89 Status:PENDING URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=3845 TriggerType:PUSH TriggerID:cfc9c19a4ad9c29e6b97971613ca863c11e04b89
   -->
   ## CI report:
   
   * cfc9c19a4ad9c29e6b97971613ca863c11e04b89 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/142048557) Azure: [PENDING](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=3845) 
   
   <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] TisonKun commented on a change in pull request #10658: [FLINK-15359] Remove unused YarnConfigOptions, Tests, Docs

Posted by GitBox <gi...@apache.org>.
TisonKun commented on a change in pull request #10658: [FLINK-15359] Remove unused YarnConfigOptions, Tests, Docs
URL: https://github.com/apache/flink/pull/10658#discussion_r364630402
 
 

 ##########
 File path: flink-core/src/main/java/org/apache/flink/configuration/ConfigConstants.java
 ##########
 @@ -434,17 +434,6 @@
 	@Deprecated
 	public static final String YARN_REALLOCATE_FAILED_CONTAINERS = "yarn.reallocate-failed";
 
-	/**
-	 * The maximum number of failed YARN containers before entirely stopping
-	 * the YARN session / job on YARN.
-	 *
-	 * <p>By default, we take the number of initially requested containers.
-	 *
-	 * @deprecated in favor of {@code YarnConfigOptions#MAX_FAILED_CONTAINERS}.
-	 */
-	@Deprecated
-	public static final String YARN_MAX_FAILED_CONTAINERS = "yarn.maximum-failed-containers";
-
 
 Review comment:
   Thanks for the explanation. I will push a commit to revert the removal of `ConfigConstants#YARN_MAX_FAILED_CONTAINERS` and be careful changes in `@Public`.
   
   Besides, I'd like to know the reason we turn off japicmp plugin for `ConfigConstants`.

----------------------------------------------------------------
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] TisonKun commented on issue #10658: [FLINK-15359] Remove unused YarnConfigOptions, Tests, Docs

Posted by GitBox <gi...@apache.org>.
TisonKun commented on issue #10658: [FLINK-15359] Remove unused YarnConfigOptions, Tests, Docs
URL: https://github.com/apache/flink/pull/10658#issuecomment-568669127
 
 
   @xintongsong Yes it is ever used in pre FLIP-6 framework. If we keep current dynamically allocate container mechanism it possibly meaningless. We can always add back the configuration when we implement similar logic in the future but given it has no power now remove them could reduce misleading.

----------------------------------------------------------------
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] TisonKun commented on a change in pull request #10658: [FLINK-15359] Remove unused YarnConfigOptions, Tests, Docs

Posted by GitBox <gi...@apache.org>.
TisonKun commented on a change in pull request #10658: [FLINK-15359] Remove unused YarnConfigOptions, Tests, Docs
URL: https://github.com/apache/flink/pull/10658#discussion_r364629166
 
 

 ##########
 File path: flink-core/src/main/java/org/apache/flink/configuration/ConfigConstants.java
 ##########
 @@ -434,17 +434,6 @@
 	@Deprecated
 	public static final String YARN_REALLOCATE_FAILED_CONTAINERS = "yarn.reallocate-failed";
 
-	/**
-	 * The maximum number of failed YARN containers before entirely stopping
-	 * the YARN session / job on YARN.
-	 *
-	 * <p>By default, we take the number of initially requested containers.
-	 *
-	 * @deprecated in favor of {@code YarnConfigOptions#MAX_FAILED_CONTAINERS}.
-	 */
-	@Deprecated
-	public static final String YARN_MAX_FAILED_CONTAINERS = "yarn.maximum-failed-containers";
-
 
 Review comment:
   OK. Will push a revert commit. Why the CI system give green to the change. IIRC japi checks are integrated.

----------------------------------------------------------------
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] TisonKun commented on a change in pull request #10658: [FLINK-15359] Remove unused YarnConfigOptions, Tests, Docs

Posted by GitBox <gi...@apache.org>.
TisonKun commented on a change in pull request #10658: [FLINK-15359] Remove unused YarnConfigOptions, Tests, Docs
URL: https://github.com/apache/flink/pull/10658#discussion_r364629166
 
 

 ##########
 File path: flink-core/src/main/java/org/apache/flink/configuration/ConfigConstants.java
 ##########
 @@ -434,17 +434,6 @@
 	@Deprecated
 	public static final String YARN_REALLOCATE_FAILED_CONTAINERS = "yarn.reallocate-failed";
 
-	/**
-	 * The maximum number of failed YARN containers before entirely stopping
-	 * the YARN session / job on YARN.
-	 *
-	 * <p>By default, we take the number of initially requested containers.
-	 *
-	 * @deprecated in favor of {@code YarnConfigOptions#MAX_FAILED_CONTAINERS}.
-	 */
-	@Deprecated
-	public static final String YARN_MAX_FAILED_CONTAINERS = "yarn.maximum-failed-containers";
-
 
 Review comment:
   OK. Will push a revert commit. Why the CI system give green to the change. IIRC japi checks are integrated.

----------------------------------------------------------------
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] TisonKun commented on a change in pull request #10658: [FLINK-15359] Remove unused YarnConfigOptions, Tests, Docs

Posted by GitBox <gi...@apache.org>.
TisonKun commented on a change in pull request #10658: [FLINK-15359] Remove unused YarnConfigOptions, Tests, Docs
URL: https://github.com/apache/flink/pull/10658#discussion_r364632604
 
 

 ##########
 File path: flink-core/src/main/java/org/apache/flink/configuration/ConfigConstants.java
 ##########
 @@ -434,17 +434,6 @@
 	@Deprecated
 	public static final String YARN_REALLOCATE_FAILED_CONTAINERS = "yarn.reallocate-failed";
 
-	/**
-	 * The maximum number of failed YARN containers before entirely stopping
-	 * the YARN session / job on YARN.
-	 *
-	 * <p>By default, we take the number of initially requested containers.
-	 *
-	 * @deprecated in favor of {@code YarnConfigOptions#MAX_FAILED_CONTAINERS}.
-	 */
-	@Deprecated
-	public static final String YARN_MAX_FAILED_CONTAINERS = "yarn.maximum-failed-containers";
-
 
 Review comment:
   Another thought is that per @aljoscha mentioned before: remove an option with no power notify the user about a problematic settings. But well, here the concern is b/w promise provided by `@Public`

----------------------------------------------------------------
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] TisonKun edited a comment on issue #10658: [FLINK-15359] Remove unused YarnConfigOptions, Tests, Docs

Posted by GitBox <gi...@apache.org>.
TisonKun edited a comment on issue #10658: [FLINK-15359] Remove unused YarnConfigOptions, Tests, Docs
URL: https://github.com/apache/flink/pull/10658#issuecomment-568277513
 
 
   @xintongsong possibly the "maximum failed containers" is still useful(but no power). Please also take a look if it is a bug we should fix or an outdated configuration we can remove.

----------------------------------------------------------------
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] TisonKun commented on issue #10658: [FLINK-15359] Remove unused YarnConfigOptions, Tests, Docs

Posted by GitBox <gi...@apache.org>.
TisonKun commented on issue #10658: [FLINK-15359] Remove unused YarnConfigOptions, Tests, Docs
URL: https://github.com/apache/flink/pull/10658#issuecomment-568277513
 
 
   @xintongsong possibly the "maximum failed containers" is still useful(but no power). Please also take a look if it is a bug we should fix or a outdated configuration we can remove.

----------------------------------------------------------------
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 #10658: [FLINK-15359] Remove unused YarnConfigOptions, Tests, Docs

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #10658: [FLINK-15359] Remove unused YarnConfigOptions, Tests, Docs
URL: https://github.com/apache/flink/pull/10658#issuecomment-568278789
 
 
   <!--
   Meta data
   Hash:cfc9c19a4ad9c29e6b97971613ca863c11e04b89 Status:PENDING URL:https://travis-ci.com/flink-ci/flink/builds/142048557 TriggerType:PUSH TriggerID:cfc9c19a4ad9c29e6b97971613ca863c11e04b89
   Hash:cfc9c19a4ad9c29e6b97971613ca863c11e04b89 Status:PENDING URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=3845 TriggerType:PUSH TriggerID:cfc9c19a4ad9c29e6b97971613ca863c11e04b89
   -->
   ## CI report:
   
   * cfc9c19a4ad9c29e6b97971613ca863c11e04b89 Travis: [PENDING](https://travis-ci.com/flink-ci/flink/builds/142048557) Azure: [PENDING](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=3845) 
   
   <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] TisonKun merged pull request #10658: [FLINK-15359] Remove unused YarnConfigOptions, Tests, Docs

Posted by GitBox <gi...@apache.org>.
TisonKun merged pull request #10658: [FLINK-15359] Remove unused YarnConfigOptions, Tests, Docs
URL: https://github.com/apache/flink/pull/10658
 
 
   

----------------------------------------------------------------
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] TisonKun commented on a change in pull request #10658: [FLINK-15359] Remove unused YarnConfigOptions, Tests, Docs

Posted by GitBox <gi...@apache.org>.
TisonKun commented on a change in pull request #10658: [FLINK-15359] Remove unused YarnConfigOptions, Tests, Docs
URL: https://github.com/apache/flink/pull/10658#discussion_r364630402
 
 

 ##########
 File path: flink-core/src/main/java/org/apache/flink/configuration/ConfigConstants.java
 ##########
 @@ -434,17 +434,6 @@
 	@Deprecated
 	public static final String YARN_REALLOCATE_FAILED_CONTAINERS = "yarn.reallocate-failed";
 
-	/**
-	 * The maximum number of failed YARN containers before entirely stopping
-	 * the YARN session / job on YARN.
-	 *
-	 * <p>By default, we take the number of initially requested containers.
-	 *
-	 * @deprecated in favor of {@code YarnConfigOptions#MAX_FAILED_CONTAINERS}.
-	 */
-	@Deprecated
-	public static final String YARN_MAX_FAILED_CONTAINERS = "yarn.maximum-failed-containers";
-
 
 Review comment:
   Thanks for the explanation. I will push a commit to revert the removal of `ConfigConstants#YARN_MAX_FAILED_CONTAINERS` and will be careful changes in `@Public` the next time.
   
   Besides, I'd like to know the reason we turn off japicmp plugin for `ConfigConstants`.

----------------------------------------------------------------
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 #10658: [FLINK-15359] Remove unused YarnConfigOptions, Tests, Docs

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #10658: [FLINK-15359] Remove unused YarnConfigOptions, Tests, Docs
URL: https://github.com/apache/flink/pull/10658#issuecomment-568278789
 
 
   <!--
   Meta data
   Hash:cfc9c19a4ad9c29e6b97971613ca863c11e04b89 Status:SUCCESS URL:https://travis-ci.com/flink-ci/flink/builds/142048557 TriggerType:PUSH TriggerID:cfc9c19a4ad9c29e6b97971613ca863c11e04b89
   Hash:cfc9c19a4ad9c29e6b97971613ca863c11e04b89 Status:SUCCESS URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=3845 TriggerType:PUSH TriggerID:cfc9c19a4ad9c29e6b97971613ca863c11e04b89
   -->
   ## CI report:
   
   * cfc9c19a4ad9c29e6b97971613ca863c11e04b89 Travis: [SUCCESS](https://travis-ci.com/flink-ci/flink/builds/142048557) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=3845) 
   
   <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 #10658: [FLINK-15359] Remove unused YarnConfigOptions, Tests, Docs

Posted by GitBox <gi...@apache.org>.
flinkbot commented on issue #10658: [FLINK-15359] Remove unused YarnConfigOptions, Tests, Docs
URL: https://github.com/apache/flink/pull/10658#issuecomment-568278789
 
 
   <!--
   Meta data
   Hash:cfc9c19a4ad9c29e6b97971613ca863c11e04b89 Status:UNKNOWN URL:TBD TriggerType:PUSH TriggerID:cfc9c19a4ad9c29e6b97971613ca863c11e04b89
   -->
   ## CI report:
   
   * cfc9c19a4ad9c29e6b97971613ca863c11e04b89 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] tillrohrmann commented on a change in pull request #10658: [FLINK-15359] Remove unused YarnConfigOptions, Tests, Docs

Posted by GitBox <gi...@apache.org>.
tillrohrmann commented on a change in pull request #10658: [FLINK-15359] Remove unused YarnConfigOptions, Tests, Docs
URL: https://github.com/apache/flink/pull/10658#discussion_r365352138
 
 

 ##########
 File path: flink-core/src/main/java/org/apache/flink/configuration/ConfigConstants.java
 ##########
 @@ -434,17 +434,6 @@
 	@Deprecated
 	public static final String YARN_REALLOCATE_FAILED_CONTAINERS = "yarn.reallocate-failed";
 
-	/**
-	 * The maximum number of failed YARN containers before entirely stopping
-	 * the YARN session / job on YARN.
-	 *
-	 * <p>By default, we take the number of initially requested containers.
-	 *
-	 * @deprecated in favor of {@code YarnConfigOptions#MAX_FAILED_CONTAINERS}.
-	 */
-	@Deprecated
-	public static final String YARN_MAX_FAILED_CONTAINERS = "yarn.maximum-failed-containers";
-
 
 Review comment:
   Turning off the japicmp plugin check for `ConfigConstants` was a mistake.
   
   One could introduce a special `ConfigOption` which throws an exception if being used. That would have the same effect as breaking a program build after upgrading.

----------------------------------------------------------------
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