hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hemanth Yamijala (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-4288) java.lang.NullPointerException is observed in Jobtracker log while call heartbeat
Date Tue, 30 Sep 2008 05:25:44 GMT

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

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

bq. At present, we limit users only by the particular user's total number of tasks and as
such, numJobsByUser is not useful at all.

We use number of jobs per user to compute limits. The computation of limit is as follows:
{code}
  int limit = Math.max((int)(Math.ceil((double)currentCapacity/
          (double)qsi.numJobsByUser.size())), 
          (int)(Math.ceil((double)(qsi.ulMin*currentCapacity)/100.0)));
{code}

So, I think it is required to hold this structure. Therefore, the patch also seems fine. But
I think we need a unit test for this.

> 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
>
>   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.


Mime
View raw message