apex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amberarrow <...@git.apache.org>
Subject [GitHub] incubator-apex-core pull request: APEXCORE-439 Fixing operator red...
Date Sun, 24 Apr 2016 16:19:11 GMT
Github user amberarrow commented on a diff in the pull request:

    --- Diff: engine/src/main/java/com/datatorrent/stram/plan/physical/PhysicalPlan.java ---
    @@ -979,6 +998,14 @@ public void deployChanges() {
    --- End diff --
    If I understand @tweise correctly, he is suggesting that the existing code be augmented
_only_ by the highlighted fragment below (since he says "remove everything added new"):
        /* begin new code */
        // redeploy dependencies of the new operators excluding the new operators themselves
        /* end new code */
        //make sure all the new operators are included in deploy operator list
        // include downstream dependencies of affected operators into redeploy
        Set<PTOperator> deployOperators = this.getDependents(this.deployOpers);
        ctx.deploy(releaseContainers, this.undeployOpers, newContainers, deployOperators);
    This works for _undeployOpers_ since the argument set (newOpers) is removed just after
the new code. However, this change alone does not add dependents to _deployOpers_ as the proposed
fix does -- not sure if this makes a difference.

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