[jira] Created: (ABDERA-245) Testcases faking TaskTrackerManager might result into NPE

View: New views
2 Messages — Rating Filter:   Alert me  

[jira] Created: (ABDERA-245) Testcases faking TaskTrackerManager might result into NPE

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Testcases faking TaskTrackerManager might result into NPE
---------------------------------------------------------

                 Key: ABDERA-245
                 URL: https://issues.apache.org/jira/browse/ABDERA-245
             Project: Abdera
          Issue Type: Bug
            Reporter: Amar Kamat


JobInProgress uses JobTracker.getClock() assuming that the JobTracker is initialized before creating JobInProgress. This might not be true as the testcase might fake TaskTrackerManager. In such cases the JobInProgress might result into NPE.

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


[jira] Closed: (ABDERA-245) Testcases faking TaskTrackerManager might result into NPE

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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

Amar Kamat closed ABDERA-245.
-----------------------------

    Resolution: Fixed

This was meant for MAPREDUCE. Sorry.

> Testcases faking TaskTrackerManager might result into NPE
> ---------------------------------------------------------
>
>                 Key: ABDERA-245
>                 URL: https://issues.apache.org/jira/browse/ABDERA-245
>             Project: Abdera
>          Issue Type: Bug
>            Reporter: Amar Kamat
>
> JobInProgress uses JobTracker.getClock() assuming that the JobTracker is initialized before creating JobInProgress. This might not be true as the testcase might fake TaskTrackerManager. In such cases the JobInProgress might result into NPE.

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