Return-Path: X-Original-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BF30ADB03 for ; Mon, 13 Aug 2012 22:48:42 +0000 (UTC) Received: (qmail 11270 invoked by uid 500); 13 Aug 2012 22:48:39 -0000 Delivered-To: apmail-hadoop-hdfs-dev-archive@hadoop.apache.org Received: (qmail 11136 invoked by uid 500); 13 Aug 2012 22:48:38 -0000 Mailing-List: contact hdfs-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-dev@hadoop.apache.org Delivered-To: mailing list hdfs-dev@hadoop.apache.org Received: (qmail 10622 invoked by uid 99); 13 Aug 2012 22:48:38 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Aug 2012 22:48:38 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 218632C5AD0 for ; Mon, 13 Aug 2012 22:48:38 +0000 (UTC) Date: Tue, 14 Aug 2012 09:48:38 +1100 (NCT) From: "Todd Lipcon (JIRA)" To: hdfs-dev@hadoop.apache.org Message-ID: <1700087723.4795.1344898118138.JavaMail.jiratomcat@arcas> Subject: [jira] [Created] (HDFS-3798) Avoid throwing NPE when finalizeSegment() is called on invalid segment MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Todd Lipcon created HDFS-3798: --------------------------------- Summary: Avoid throwing NPE when finalizeSegment() is called on invalid segment Key: HDFS-3798 URL: https://issues.apache.org/jira/browse/HDFS-3798 Project: Hadoop HDFS Issue Type: Sub-task Components: ha Affects Versions: QuorumJournalManager (HDFS-3077) Reporter: Todd Lipcon Assignee: Todd Lipcon Priority: Trivial Currently, if the client calls finalizeLogSegment() on a segment which doesn't exist on the JournalNode side, it throws an NPE. Instead it should throw a more intelligible exception. -- 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