flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-2488) Expose attemptNumber in RuntimeContext
Date Sun, 16 Aug 2015 10:15:47 GMT

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

ASF GitHub Bot commented on FLINK-2488:
---------------------------------------

GitHub user sachingoel0101 opened a pull request:

    https://github.com/apache/flink/pull/1026

    [FLINK-2488][FLINK-2496] Expose Task Manager configuration and Task attempt number to
Runtime context

    This PR fixes these issues:
    1. [FLINK-2496]Expose Task Manager configuration to Runtime Context 
    2. [FLINK-2488]Expose attempt number of task to Runtime Context
    3. [FLINK-2524]Add getTaskNameWithSubtasks to Runtime Context
    
    Depends on #970 for simplistic constructors for `RuntimeContext`.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/sachingoel0101/flink flink-2488

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/1026.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1026
    
----
commit a8d138519bfcf24fb63028b6ecae3e384a05b69d
Author: Sachin Goel <sachingoel0101@gmail.com>
Date:   2015-08-01T13:55:42Z

    [FLINK-2458]Access distributed cache entries from Iteration contexts.
    [FLINK-2449]Allow use of distributed cache from Collection Environments

commit 5fbdebe5742b26683a2755d80681cc505962fc02
Author: Sachin Goel <sachingoel0101@gmail.com>
Date:   2015-08-16T07:44:39Z

    [FLINK-2496]Expose Task Manager configuration to Runtime Context
    [FLINK-2488]Expose attempt number of task to Runtime Context
    [FLINK-2524]Add getTaskNameWithSubtasks to Runtime Context

----


> Expose attemptNumber in RuntimeContext
> --------------------------------------
>
>                 Key: FLINK-2488
>                 URL: https://issues.apache.org/jira/browse/FLINK-2488
>             Project: Flink
>          Issue Type: Improvement
>          Components: JobManager, TaskManager
>    Affects Versions: 0.10
>            Reporter: Robert Metzger
>            Assignee: Sachin Goel
>            Priority: Minor
>
> It would be nice to expose the attemptNumber of a task in the {{RuntimeContext}}. 
> This would allow user code to behave differently in restart scenarios.



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

Mime
View raw message