You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Andrew Purtell (JIRA)" <ji...@apache.org> on 2014/07/17 01:11:06 UTC

[jira] [Resolved] (HBASE-3084) HLog splitLog : Properly Handle User Interrupts

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

Andrew Purtell resolved HBASE-3084.
-----------------------------------

    Resolution: Not a Problem
      Assignee:     (was: Hairong Kuang)

Nothing happened

> HLog splitLog : Properly Handle User Interrupts
> -----------------------------------------------
>
>                 Key: HBASE-3084
>                 URL: https://issues.apache.org/jira/browse/HBASE-3084
>             Project: HBase
>          Issue Type: Bug
>          Components: io, master
>    Affects Versions: 0.89.20100924, 0.90.0, 0.92.0
>            Reporter: stack
>
> Nicolas reviewed HBASE-2437 after it had been committed and raised some issues that need addressing.  The main issue is that splitLog will ignore user interrupts (aka: InterruptException).  Currently, data loss can occur (with 'skip.errors' == true) if a user calls 'kill <master-pid>" during splits because the code will consider the interrupted file completely split.  If the master receives an interrupt during splitLog, it needs to abort splitting, delete all partially-complete split files, and exit gracefully.  



--
This message was sent by Atlassian JIRA
(v6.2#6252)