apex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From PramodSSImmaneni <...@git.apache.org>
Subject [GitHub] incubator-apex-core pull request: APEXCORE-439 Fixing operator red...
Date Sun, 24 Apr 2016 15:46:18 GMT
Github user PramodSSImmaneni 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 --
    @tweise The getDependents also includes the operators in the argument set, since they
are new we don't want to undeploy them. So it should be this
    Set<PTOperator> ndeps = getDependents(newOpers.keySet());
    As you pointed out ndeps doesn't have to be added to deployOpers as it is already being
done in the next line.
    I had a line in there 
    to ensure that operators that are already scheduled to be undeployed (removed completely)
don't get re-deployed because of this but on further thought this probably is not required
because if some operators are already going to be undeployed they will not be in the dependency
chain for newly deployable operators, is that assumption valid?

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