flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From greghogan <...@git.apache.org>
Subject [GitHub] flink pull request: [FLINK-3589] Allow setting Operator parallelis...
Date Mon, 04 Apr 2016 15:26:55 GMT
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.
---

Mime
View raw message