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 3C888DC44 for ; Thu, 6 Sep 2012 07:02:10 +0000 (UTC) Received: (qmail 77051 invoked by uid 500); 6 Sep 2012 07:02:09 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 76765 invoked by uid 500); 6 Sep 2012 07:02:09 -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 76349 invoked by uid 99); 6 Sep 2012 07:02:08 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Sep 2012 07:02:08 +0000 Date: Thu, 6 Sep 2012 18:02:08 +1100 (NCT) From: "Todd Lipcon (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <403737654.43360.1346914928664.JavaMail.jiratomcat@arcas> In-Reply-To: <700723003.104245.1343264914539.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Resolved] (HDFS-3726) QJM: if a logger misses an RPC, don't retry that logger until next segment 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-3726?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Todd Lipcon resolved HDFS-3726. ------------------------------- Resolution: Fixed Fix Version/s: QuorumJournalManager (HDFS-3077) Hadoop Flags: Reviewed Committed to branch, thanks for the review. > QJM: if a logger misses an RPC, don't retry that logger until next segment > -------------------------------------------------------------------------- > > Key: HDFS-3726 > URL: https://issues.apache.org/jira/browse/HDFS-3726 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: ha > Affects Versions: QuorumJournalManager (HDFS-3077) > Reporter: Todd Lipcon > Assignee: Todd Lipcon > Fix For: QuorumJournalManager (HDFS-3077) > > Attachments: hdfs-3726.txt, hdfs-3726.txt > > > Currently, if a logger misses an RPC in the middle of a log segment, or misses the {{startLogSegment}} RPC (eg it was down or network was disconnected during that time period), then it will throw an exception on every subsequent {{journal()}} call in that segment, since it knows that it missed some edits in the middle. > We should change this exception to a specific IOE subclass, and have the client side of QJM detect the situation and stop sending IPCs until the next {{startLogSegment}} call. > This isn't critical for correctness but will help reduce log spew on both sides. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira