flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zentol <...@git.apache.org>
Subject [GitHub] flink pull request #3770: [FLINK-5892] Restore state on the operator level
Date Wed, 26 Apr 2017 15:23:00 GMT
Github user zentol commented on a diff in the pull request:

    --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/jobgraph/JobVertex.java
    @@ -133,11 +142,15 @@ public JobVertex(String name, JobVertexID id) {
     	 * @param name The name of the new job vertex.
     	 * @param primaryId The id of the job vertex.
     	 * @param alternativeIds The alternative ids of the job vertex.
    +	 * @param operatorIds The ids of all operators contained in this job vertex.
    +	 * @param alternativeOperatorIds The alternative ids of all operators contained in this
job vertex-
    -	public JobVertex(String name, JobVertexID primaryId, List<JobVertexID> alternativeIds)
    +	public JobVertex(String name, JobVertexID primaryId, List<OperatorID> alternativeIds,
List<OperatorID> operatorIds, List<OperatorID> alternativeOperatorIds) {
    --- End diff --
    We don't know at the time job JobVertex generation whether we need them, so we have to
provide them eagerly.

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.

View raw message