You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Ravi Gummadi (JIRA)" <ji...@apache.org> on 2009/03/18 06:04:50 UTC

[jira] Updated: (HADOOP-5521) Remove dependency of testcases on RESTART_COUNT

     [ https://issues.apache.org/jira/browse/HADOOP-5521?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ravi Gummadi updated HADOOP-5521:
---------------------------------

    Attachment: HADOOP-5521.patch

Earlier TestJobHistory was using RESTART_COUNT logged in history file to know that JT was restarted. Since HADOOP-5394 is removing RESTART_COUNT from history file, the new TestJobHistory assumes JT restart when launch of job is seen in history log file 2nd time.

Attaching patch that makes TestJobHistory and its dependent testcases independent of RESTART_COUNT.

Please review and provide your comments.

> Remove dependency of testcases on RESTART_COUNT
> -----------------------------------------------
>
>                 Key: HADOOP-5521
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5521
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: test
>    Affects Versions: 0.21.0
>            Reporter: Amar Kamat
>            Assignee: Ravi Gummadi
>             Fix For: 0.21.0
>
>         Attachments: HADOOP-5521.patch
>
>
> There are 2 usecases for this :
> # RESTART_COUNT is not guaranteed to be flushed to fs.
> # HADOOP-5394 plans to discontinue logging restart-count to job history file.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.