hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jimmy Xiang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-6440) SplitLogManager - log the exception when failed to finish split log file
Date Sun, 22 Jul 2012 21:38:34 GMT

     [ https://issues.apache.org/jira/browse/HBASE-6440?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jimmy Xiang updated HBASE-6440:
-------------------------------

    Summary: SplitLogManager - log the exception when failed to finish split log file  (was:
SplitLogManager - log the exception when failed to move recovered edits.)

Change the title to match the code better.
                
> SplitLogManager - log the exception when failed to finish split log file
> ------------------------------------------------------------------------
>
>                 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

        

Mime
View raw message