You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by StephanEwen <gi...@git.apache.org> on 2015/12/02 14:09:53 UTC

[GitHub] flink pull request: [FLINK-2488] Expose Attempt Number in RuntimeC...

Github user StephanEwen commented on the pull request:

    https://github.com/apache/flink/pull/1386#issuecomment-161286037
  
    This generally looks good and pretty straight forward.
    As such it is actually good to merge. 
    
    I remember that a while back, we were discussing to create a `TaskInfo` object that would contain "subtaskIndex", "parallelism", "name", "name-with-subtask", "attempt", "vertex id", "attempt id", etc...
    Having such an object would allow to pass all these elements simply from the TaskDeploymentDescriptor to the Task to the RuntimeContext. And whenever we add another field, we need not propagate it manually through all the functions calls, but simply add it to the TaskInfo.
    
    What do you think?


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