You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by greghogan <gi...@git.apache.org> on 2016/04/04 17:26:55 UTC

[GitHub] flink pull request: [FLINK-3589] Allow setting Operator parallelis...

Github user greghogan commented on a diff in the pull request:

    https://github.com/apache/flink/pull/1778#discussion_r58394697
  
    --- Diff: flink-core/src/main/java/org/apache/flink/api/common/ExecutionConfig.java ---
    @@ -64,10 +64,15 @@
     
     	/**
     	 * The constant to use for the parallelism, if the system should use the number
    -	 *  of currently available slots.
    +	 * of currently available slots.
     	 */
     	public static final int PARALLELISM_AUTO_MAX = Integer.MAX_VALUE;
     
    +	/**
    +	 * The flag value indicating an unknown or unset parallelism.
    +	 */
    +	public static final int PARALLELISM_UNKNOWN = -1;
    --- End diff --
    
    The parallelism may be overridden elsewhere and we are not resetting it back to the default. This flag simply indicates a value for which the parallelism will not be overridden.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---