Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 28706 invoked from network); 2 Mar 2009 11:04:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Mar 2009 11:04:36 -0000 Received: (qmail 26445 invoked by uid 500); 2 Mar 2009 11:04:33 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 26421 invoked by uid 500); 2 Mar 2009 11:04:33 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 26410 invoked by uid 99); 2 Mar 2009 11:04:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Mar 2009 03:04:33 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Mar 2009 11:04:33 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id BABBA234C4AC for ; Mon, 2 Mar 2009 03:04:12 -0800 (PST) Message-ID: <1902370768.1235991852763.JavaMail.jira@brutus> Date: Mon, 2 Mar 2009 03:04:12 -0800 (PST) From: "Vinod K V (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Commented: (HADOOP-5374) NPE in JobTracker.getTasksToSave() method In-Reply-To: <452382532.1235991492799.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-5374?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12677955#action_12677955 ] Vinod K V commented on HADOOP-5374: ----------------------------------- This affects heartbeats. I see a lot of the following in the JT's logs. {code} 2009-02-28 08:12:10,332 INFO org.apache.hadoop.ipc.Server: IPC Server handler 34 on 52000, call heartbeat(org.apache.hadoop.mapred.TaskTrackerStatus@4b68032e, false, false, true, 5832) f rom : error: java.io.IOException: java.lang.NullPointerException java.io.IOException: java.lang.NullPointerException at org.apache.hadoop.mapred.TaskInProgress.shouldCommit(TaskInProgress.java:420) at org.apache.hadoop.mapred.JobTracker.getTasksToSave(JobTracker.java:2585) at org.apache.hadoop.mapred.JobTracker.heartbeat(JobTracker.java:2334) 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) 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} An offline discussion with Amareshwari concluded that in getTasksToSave() method, the task's state on the JT should also be checked along with the state as reported by the TT. > NPE in JobTracker.getTasksToSave() method > ----------------------------------------- > > Key: HADOOP-5374 > URL: https://issues.apache.org/jira/browse/HADOOP-5374 > Project: Hadoop Core > Issue Type: Bug > Components: mapred > Affects Versions: 0.20.0 > 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.