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 DE5C08F16 for ; Wed, 10 Aug 2011 10:35:14 +0000 (UTC) Received: (qmail 20716 invoked by uid 500); 10 Aug 2011 10:35:14 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 20253 invoked by uid 500); 10 Aug 2011 10:34:58 -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 20224 invoked by uid 99); 10 Aug 2011 10:34:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Aug 2011 10:34:52 +0000 X-ASF-Spam-Status: No, hits=-2000.8 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; Wed, 10 Aug 2011 10:34:49 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 9FD76B55E9 for ; Wed, 10 Aug 2011 10:34:27 +0000 (UTC) Date: Wed, 10 Aug 2011 10:34:27 +0000 (UTC) From: "Amareshwari Sriramadasu (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: <1444204821.23473.1312972467651.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (MAPREDUCE-111) JobTracker.getSystemDir throws NPE if it is called during intialization MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/MAPREDUCE-111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13082278#comment-13082278 ] Amareshwari Sriramadasu commented on MAPREDUCE-111: --------------------------------------------------- NPE occurs only during initialization. The issue says we should throw IllegalStateException instead of NPE, in such case. > JobTracker.getSystemDir throws NPE if it is called during intialization > ----------------------------------------------------------------------- > > Key: MAPREDUCE-111 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-111 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: jobtracker > Reporter: Amareshwari Sriramadasu > > JobTracker.getSystemDir throws NPE if it is called during intialization. > It should check if fileSystem is null and throw IllegalStateException, as in getFilesystemName method. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira