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 7D762969C for ; Mon, 19 Sep 2011 15:57:30 +0000 (UTC) Received: (qmail 55373 invoked by uid 500); 19 Sep 2011 15:57:30 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 55344 invoked by uid 500); 19 Sep 2011 15:57:30 -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 55336 invoked by uid 99); 19 Sep 2011 15:57:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Sep 2011 15:57:30 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,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; Mon, 19 Sep 2011 15:57:29 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id E27BAA2C49 for ; Mon, 19 Sep 2011 15:57:08 +0000 (UTC) Date: Mon, 19 Sep 2011 15:57:08 +0000 (UTC) From: "Venu Gopala Rao (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: <595344261.42609.1316447828924.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1573893228.7977.1315575608926.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (MAPREDUCE-2970) Null Pointer Exception while submitting a Job, If mapreduce.framework.name property is not set. 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-2970?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Venu Gopala Rao updated MAPREDUCE-2970: --------------------------------------- Attachment: MAPREDUCE-2970.1.patch > Null Pointer Exception while submitting a Job, If mapreduce.framework.name property is not set. > ----------------------------------------------------------------------------------------------- > > Key: MAPREDUCE-2970 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-2970 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: job submission > Affects Versions: 0.24.0 > Reporter: Venu Gopala Rao > Assignee: Venu Gopala Rao > Fix For: 0.24.0 > > Attachments: MAPREDUCE-2970.1.patch, MAPREDUCE-2970.patch > > > If mapreduce.framework.name property is not set in mapred-site.xml, Null pointer Exception is thrown. > java.lang.NullPointerException > at org.apache.hadoop.mapreduce.Cluster$1.run(Cluster.java:133) > at org.apache.hadoop.mapreduce.Cluster$1.run(Cluster.java:1) > 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:1135) > at org.apache.hadoop.mapreduce.Cluster.getFileSystem(Cluster.java:131) > at org.apache.hadoop.mapreduce.Job.submit(Job.java:1067) > at org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:1089) > at org.apache.hadoop.examples.WordCount.main(WordCount.java:84) > 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.ProgramDriver$ProgramDescription.invoke(ProgramDriver.java:72) > at org.apache.hadoop.util.ProgramDriver.driver(ProgramDriver.java:144) > at org.apache.hadoop.examples.ExampleDriver.main(ExampleDriver.java:68) > 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:189) -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira