Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 59EF79A60 for ; Sun, 22 Jul 2012 21:26:37 +0000 (UTC) Received: (qmail 6896 invoked by uid 500); 22 Jul 2012 21:26:37 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 6867 invoked by uid 500); 22 Jul 2012 21:26:37 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 6855 invoked by uid 99); 22 Jul 2012 21:26:37 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Jul 2012 21:26:37 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id A665C1427F2 for ; Sun, 22 Jul 2012 21:26:36 +0000 (UTC) Date: Sun, 22 Jul 2012 21:26:36 +0000 (UTC) From: "stack (JIRA)" To: issues@hbase.apache.org Message-ID: <2114092470.88808.1342992396683.JavaMail.jiratomcat@issues-vm> In-Reply-To: <1634995768.88275.1342983154466.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Commented] (HBASE-6440) SplitLogManager - log the exception when failed to move recovered edits. 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/HBASE-6440?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13420334#comment-13420334 ] stack commented on HBASE-6440: ------------------------------ +1 on patch. This diff could not have caused the above fails. > SplitLogManager - log the exception when failed to move recovered edits. > ------------------------------------------------------------------------ > > Key: HBASE-6440 > URL: https://issues.apache.org/jira/browse/HBASE-6440 > Project: HBase > Issue Type: Bug > Reporter: Jimmy Xiang > Assignee: Jimmy Xiang > Attachments: hbase-6440.patch > > > We should log the exception itself too: > {noformat} > try { > HLogSplitter.moveRecoveredEditsFromTemp(tmpname, logfile, conf); > } catch (IOException e) { > LOG.warn("Could not finish splitting of log file " + logfile); > return Status.ERR; > } > {noformat} -- 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