Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-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 A8B84939C for ; Fri, 30 Dec 2011 12:53:53 +0000 (UTC) Received: (qmail 94643 invoked by uid 500); 30 Dec 2011 12:53:53 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 94562 invoked by uid 500); 30 Dec 2011 12:53:52 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 94550 invoked by uid 99); 30 Dec 2011 12:53:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Dec 2011 12:53:52 +0000 X-ASF-Spam-Status: No, hits=-2001.3 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; Fri, 30 Dec 2011 12:53:51 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 084B013061F for ; Fri, 30 Dec 2011 12:53:31 +0000 (UTC) Date: Fri, 30 Dec 2011 12:53:31 +0000 (UTC) From: "Hudson (Commented) (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <1229741562.53859.1325249611035.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <748815430.36171.1324489532047.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HDFS-2714) HA: Fix test cases which use standalone FSNamesystems 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/HDFS-2714?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13177631#comment-13177631 ] Hudson commented on HDFS-2714: ------------------------------ Integrated in Hadoop-Hdfs-HAbranch-build #32 (See [https://builds.apache.org/job/Hadoop-Hdfs-HAbranch-build/32/]) HDFS-2714. Fix test cases which use standalone FSNamesystems. Contributed by Todd Lipcon. todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1225708 Files : * /hadoop/common/branches/HDFS-1623/hadoop-hdfs-project/hadoop-hdfs/CHANGES.HDFS-1623.txt * /hadoop/common/branches/HDFS-1623/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java * /hadoop/common/branches/HDFS-1623/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestEditLogRace.java > HA: Fix test cases which use standalone FSNamesystems > ----------------------------------------------------- > > Key: HDFS-2714 > URL: https://issues.apache.org/jira/browse/HDFS-2714 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: ha, test > Affects Versions: HA branch (HDFS-1623) > Reporter: Todd Lipcon > Assignee: Todd Lipcon > Priority: Trivial > Fix For: HA branch (HDFS-1623) > > Attachments: hdfs-2714.txt > > > Several tests (eg TestEditLog, TestSaveNamespace) failed in the most recent build with an NPE inside of FSNamesystem.checkOperation. These tests set up a standalone FSN that isn't fully initialized. We just need to add a null check to deal with this case in checkOperation. -- 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