[jira] [Created] (FLINK-2524) Add "getTaskNameWithSubtasks()" to RuntimeContext

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-2524) Add "getTaskNameWithSubtasks()" to RuntimeContext

Shang Yuanchun (Jira)
Stephan Ewen created FLINK-2524:
-----------------------------------

             Summary: Add "getTaskNameWithSubtasks()" to RuntimeContext
                 Key: FLINK-2524
                 URL: https://issues.apache.org/jira/browse/FLINK-2524
             Project: Flink
          Issue Type: Improvement
          Components: Local Runtime
    Affects Versions: 0.10
            Reporter: Stephan Ewen
             Fix For: 0.10


When printing information to logs or debug output, one frequently needs to identify the statement with the originating task (task name and which subtask).

In many places, the system and user code manually construct something like "MyTask (2/7)".

The {{RuntimeContext}} should offer this, because it is too frequently needed.



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