hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-11011) Avoid extra getFileStatus() calls on Region startup
Date Fri, 18 Apr 2014 21:54:23 GMT

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

Hudson commented on HBASE-11011:
--------------------------------

FAILURE: Integrated in HBase-TRUNK #5097 (See [https://builds.apache.org/job/HBase-TRUNK/5097/])
HBASE-11011 Avoid extra getFileStatus() calls on Region startup (mbertozzi: rev 1588517)
* /hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.java
* /hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HStore.java
* /hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/StoreFile.java


> 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, HBASE-11011-v1.patch, HBASE-11011-v2.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
(v6.2#6252)

Mime
View raw message