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

Amar Kamat updated HADOOP-4288:
-------------------------------

    Attachment: HADOOP-4288-v4.patch

Adding a patch that incorporates Hemanth's comments. 
bq. The code adds a debug LOG statement that could print a null value of the 
variable i in 
+1.

bq. The test case does not seem to test that when job is removed, the 
associated structures are correctly cleaned up
The internal structures are not visible in the test case. Since this issue is 
about getting NPE when two jobs are submitted by the same user and one of them 
finishes, I have written the test case just to check if {{assignTasks()}} works 
when expected. If {{assignTasks}} works then I assume internal structures 
should be fine.

> 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, HADOOP-4288-v4.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([EMAIL PROTECTED], 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.

Reply via email to