[ 
https://issues.apache.org/jira/browse/CHUKWA-40?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12683309#action_12683309
 ] 

Vinod K V commented on CHUKWA-40:
---------------------------------


I see a lot of these in the JobTracker's log as well as stdout, when 
ChukwaJobTrackerInstrumentation is used for JT.
{code}
2009-03-19 04:08:57,252 WARN 
org.apache.hadoop.mapred.JobTrackerInstrumentation: could not remove adaptor 
for this job: job_200903180931_1837
java.lang.NullPointerException
        at 
org.apache.hadoop.chukwa.datacollection.controller.ChukwaAgentController.remove(ChukwaAgentController.java:259)
        at 
org.apache.hadoop.mapred.ChukwaJobTrackerInstrumentation.completeJob(ChukwaJobTrackerInstrumentation.java:93)
        at 
org.apache.hadoop.mapred.JobInProgress.jobComplete(JobInProgress.java:2109)
        at 
org.apache.hadoop.mapred.JobInProgress.completedTask(JobInProgress.java:2050)
        at 
org.apache.hadoop.mapred.JobInProgress.updateTaskStatus(JobInProgress.java:867)
        at 
org.apache.hadoop.mapred.JobTracker.updateTaskStatuses(JobTracker.java:3252)
        at 
org.apache.hadoop.mapred.JobTracker.processHeartbeat(JobTracker.java:2553)
        at org.apache.hadoop.mapred.JobTracker.heartbeat(JobTracker.java:2348)
        at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:508)
        at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:959)
        at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:955)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAs(Subject.java:396)
        at org.apache.hadoop.ipc.Server$Handler.run(Server.java:953)
{code}

The instrumentation update arises out of JobTracker's heartbeat, but the 
hearbeat doesn't seem to be affected as all Throwables are caught inside the 
method.
Don't know for sure if this exception causes some problems with metrics or even 
if this is harmful.

> NPE in ChukwaJobTrackerInstrumentation.completeJob()
> ----------------------------------------------------
>
>                 Key: CHUKWA-40
>                 URL: https://issues.apache.org/jira/browse/CHUKWA-40
>             Project: Hadoop Chukwa
>          Issue Type: Bug
>            Reporter: Vinod K V
>


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