Return-Path: X-Original-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E801D9E11 for ; Wed, 8 Feb 2012 13:18:22 +0000 (UTC) Received: (qmail 25865 invoked by uid 500); 8 Feb 2012 13:18:22 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 25584 invoked by uid 500); 8 Feb 2012 13:18:21 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 25567 invoked by uid 99); 8 Feb 2012 13:18:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Feb 2012 13:18:21 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Feb 2012 13:18:20 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 6770A1AAB3A for ; Wed, 8 Feb 2012 13:18:00 +0000 (UTC) Date: Wed, 8 Feb 2012 13:18:00 +0000 (UTC) From: "Hudson (Commented) (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: <1191310039.14666.1328707080425.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <717321888.10746.1327992910370.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (MAPREDUCE-3770) [Rumen] Zombie.getJobConf() results into NPE MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MAPREDUCE-3770?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13203566#comment-13203566 ] Hudson commented on MAPREDUCE-3770: ----------------------------------- Integrated in Hadoop-Mapreduce-0.23-Build #185 (See [https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Build/185/]) MAPREDUCE-3770. Zombie.getJobConf() results into NPE. (amarrk) amarrk : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1241865 Files : * /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt * /hadoop/common/branches/branch-0.23/hadoop-tools/hadoop-rumen/src/main/java/org/apache/hadoop/tools/rumen/ZombieJob.java > [Rumen] Zombie.getJobConf() results into NPE > -------------------------------------------- > > Key: MAPREDUCE-3770 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-3770 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: tools/rumen > Affects Versions: 0.23.0, 0.24.0 > Reporter: Amar Kamat > Assignee: Amar Kamat > Priority: Critical > Labels: job-name, rumen > Fix For: 0.23.1 > > Attachments: GridmixJobNameBug-v1.0.patch > > > The error trace is as follows > {code} > java.lang.NullPointerException > at java.util.Hashtable.put(Hashtable.java:394) > at java.util.Properties.setProperty(Properties.java:143) > at org.apache.hadoop.conf.Configuration.set(Configuration.java:623) > at org.apache.hadoop.mapred.JobConf.setJobName(JobConf.java:1322) > at org.apache.hadoop.tools.rumen.ZombieJob.getJobConf(ZombieJob.java:139) > at org.apache.hadoop.mapred.gridmix.DistributedCacheEmulator.updateHDFSDistCacheFilesList(DistributedCacheEmulator.java:315) > at org.apache.hadoop.mapred.gridmix.DistributedCacheEmulator.buildDistCacheFilesList(DistributedCacheEmulator.java:280) > at org.apache.hadoop.mapred.gridmix.DistributedCacheEmulator.setupGenerateDistCacheData(DistributedCacheEmulator.java:253) > at org.apache.hadoop.mapred.gridmix.Gridmix.setupDistCacheEmulation(Gridmix.java:528) > at org.apache.hadoop.mapred.gridmix.Gridmix.setupEmulation(Gridmix.java:501) > at org.apache.hadoop.mapred.gridmix.Gridmix.start(Gridmix.java:433) > at org.apache.hadoop.mapred.gridmix.Gridmix.runJob(Gridmix.java:380) > at org.apache.hadoop.mapred.gridmix.Gridmix.access$000(Gridmix.java:56) > at org.apache.hadoop.mapred.gridmix.Gridmix$1.run(Gridmix.java:313) > at org.apache.hadoop.mapred.gridmix.Gridmix$1.run(Gridmix.java:311) > at java.security.AccessController.doPrivileged(Native Method) > at javax.security.auth.Subject.doAs(Subject.java:396) > at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1157) > at org.apache.hadoop.mapred.gridmix.Gridmix.run(Gridmix.java:311) > at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:69) > at org.apache.hadoop.mapred.gridmix.Gridmix.main(Gridmix.java:606) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at org.apache.hadoop.util.RunJar.main(RunJar.java:200) > {code} > The bug seems to be in {{ZombieJob#getName()}} where a not-null check for jobName.getValue() is missing. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira