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 529408DF2 for ; Wed, 10 Aug 2011 09:30:03 +0000 (UTC) Received: (qmail 97852 invoked by uid 500); 10 Aug 2011 09:30:01 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 96996 invoked by uid 500); 10 Aug 2011 09:29:53 -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 96945 invoked by uid 99); 10 Aug 2011 09:29:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Aug 2011 09:29:49 +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 09:29:47 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 7D6D0B4E35 for ; Wed, 10 Aug 2011 09:29:27 +0000 (UTC) Date: Wed, 10 Aug 2011 09:29:27 +0000 (UTC) From: "Subroto Sanyal (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: <1146536266.23376.1312968567510.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 [ https://issues.apache.org/jira/browse/MAPREDUCE-111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13082252#comment-13082252 ] Subroto Sanyal commented on MAPREDUCE-111: ------------------------------------------ Hi Amreshwari, This issue seems to be invalid to me as, the constructor of JobTracker will make sure that the FileSystem is initialized i.e. the constructor takes the full responsibility of initializing the FileSystem. The initialization is in an infinite loop which will make sure FileSystem is not null. > 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