hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Elliott Clark (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-13331) Exceptions from DFS client can cause CatalogJanitor to delete referenced files
Date Tue, 24 Mar 2015 22:59:53 GMT

    [ https://issues.apache.org/jira/browse/HBASE-13331?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14378858#comment-14378858

Elliott Clark commented on HBASE-13331:

When I went to open the daughter region that failed. The daughter region contained references
to the parent. HMaster had deleted the parent because it couldn't open the daughter region
and assumed that was because it didn't exist. That's because the best way to signal that a
directory doesn't exist is obviously to throw a generic exception.

I added the !FSUtils.isExists to explicitly handle the case of the janitor not running before
there is another split that removes the daughter region.

> Exceptions from DFS client can cause CatalogJanitor to delete referenced files
> ------------------------------------------------------------------------------
>                 Key: HBASE-13331
>                 URL: https://issues.apache.org/jira/browse/HBASE-13331
>             Project: HBase
>          Issue Type: Bug
>          Components: master
>    Affects Versions: 1.0.0, 0.98.12
>            Reporter: Elliott Clark
>            Assignee: Elliott Clark
>            Priority: Blocker
>             Fix For: 2.0.0, 1.0.1, 1.1.0, 0.98.13
>         Attachments: HBASE-13331.patch
> CatalogJanitor#checkDaughterInFs assumes that there are no references whenever HRegionFileSystem.openRegionFromFileSystem
throws IOException. Well Hadoop and HBase throw IOExceptions whenever someone looks in their
general direction.

This message was sent by Atlassian JIRA

View raw message