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

    https://github.com/apache/incubator-apex-core/pull/185#discussion_r48285212
  
    --- Diff: 
engine/src/main/java/com/datatorrent/stram/plan/logical/LogicalPlan.java ---
    @@ -1495,6 +1509,11 @@ private void validateThreadLocal(OperatorMeta om) {
           return;
         }
     
    +    if (om.getOperator() instanceof Operator.DelayOperator) {
    +      String msg = String.format("Locality %s invalid for delay operator 
%s", Locality.THREAD_LOCAL, om);
    +      throw new ValidationException(msg);
    --- End diff --
    
    Yes, but since the DelayOperator can actually go back to itself, this will 
have some complication.  We will address this in the future.


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to