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

    https://github.com/apache/incubator-apex-core/pull/185#discussion_r48211484
  
    --- 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 --
    
    @davidyan74 : Why can't delay operator have thread local locality?


---
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