[ 
https://issues.apache.org/jira/browse/APEXCORE-496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15413831#comment-15413831
 ] 

ASF GitHub Bot commented on APEXCORE-496:
-----------------------------------------

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

    https://github.com/apache/apex-core/pull/361#discussion_r74098254
  
    --- Diff: api/src/main/java/com/datatorrent/api/StatsListener.java ---
    @@ -115,6 +115,28 @@
         List<OperatorResponse> getOperatorResponse();
       }
     
    +  /**
    +   * An interface to the DAG. Stats listener can get information about
    +   * operator or other elements in the DAG through this interface. 
currerntly
    +   * we only provide method to extract the operator name based on the 
physical
    +   * id of the operator. In future more methods can be added.
    +   *
    +   */
    --- End diff --
    
    For the batch scheduling support, having the DAG view available for the 
operator will be useful. Users should be able to extract the information from 
the DAG view. Exposing the method for every information may not be ideal.


> Provide Operator name to StatsListener
> --------------------------------------
>
>                 Key: APEXCORE-496
>                 URL: https://issues.apache.org/jira/browse/APEXCORE-496
>             Project: Apache Apex Core
>          Issue Type: Task
>            Reporter: Tushar Gosavi
>            Assignee: Tushar Gosavi
>
> In case of shared statslistener it becomes difficult to identify for which 
> operator
> s stats are being processed. we could provide operator name in 
> BatchedOperatorStats to easily identify the operator. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to