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 "Hemanth Yamijala (JIRA)" <ji...@apache.org> on 2008/10/06 06:53:46 UTC

[jira] Commented: (HADOOP-4288) java.lang.NullPointerException is observed in Jobtracker log while call heartbeat

    [ https://issues.apache.org/jira/browse/HADOOP-4288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12636997#action_12636997 ] 

Hemanth Yamijala commented on HADOOP-4288:
------------------------------------------

- The code adds a debug LOG statement that could print a null value of the variable {{i}} in {{CapacityTaskScheduler.jobAdded}}. This will not cause any problem, but will not give the right information (that there is 1 job for the user).
- The test case does not seem to test that when job is removed, the associated structures are correctly cleaned up. Isn't that what should be tested? Also, I think the test case can be named something more relevant like {{testJobRemoval}} or something like that.

> java.lang.NullPointerException is observed in Jobtracker log while   call heartbeat
> -----------------------------------------------------------------------------------
>
>                 Key: HADOOP-4288
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4288
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: contrib/capacity-sched
>    Affects Versions: 0.19.0
>            Reporter: Karam Singh
>            Assignee: Amar Kamat
>            Priority: Blocker
>         Attachments: HADOOP-4288-v1.patch, HADOOP-4288-v2.patch, HADOOP-4288-v3.patch
>
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> 2008-09-26 09:33:08,190 INFO org.apache.hadoop.ipc.Server: IPC Server handler 5 on 34441, call heartbeat(org.apache.hadoop.mapred.TaskTrackerStatus@177a878, false, true, 100) from <ipaddress:port>: error: java.io.IOException: java.lang.NullPointerException  
> is observed in Jobtracker log.

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