hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean-Daniel Cryans (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-11011) Avoid extra getFileStatus() calls on Region startup
Date Thu, 17 Apr 2014 17:51:15 GMT

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

Jean-Daniel Cryans commented on HBASE-11011:

bq. In this case is not bad, is an "expected" situation, where the RS died before moving the
compacted file.

This might be, but the log message doesn't convey any of that. Taken out of context (so most
users reading our logs), it just says a file is missing.

bq. since is trying to lookup files in /table/region/family/ and if they are there are already
loaded for sure.

I'm trusting you on this one :)

> Avoid extra getFileStatus() calls on Region startup
> ---------------------------------------------------
>                 Key: HBASE-11011
>                 URL: https://issues.apache.org/jira/browse/HBASE-11011
>             Project: HBase
>          Issue Type: Bug
>          Components: regionserver
>    Affects Versions: 0.96.2, 0.98.1, 1.0.0
>            Reporter: Matteo Bertozzi
>            Assignee: Matteo Bertozzi
>            Priority: Minor
>             Fix For: 1.0.0, 0.98.2, 0.96.3
>         Attachments: HBASE-11011-v0.patch
> On load we already have a StoreFileInfo and we create it from the path,
> this will result in an extra fs.getFileStatus() call.
> In completeCompactionMarker() we do a fs.exists() and later a fs.getFileStatus()
> to create the StoreFileInfo, we can avoid the exists.

This message was sent by Atlassian JIRA

View raw message