You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Jie Huang (JIRA)" <ji...@apache.org> on 2012/08/09 10:20:19 UTC

[jira] [Updated] (HBASE-6529) With HFile v2, the region server will always perform an extra copy of source files

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

Jie Huang updated HBASE-6529:
-----------------------------

    Attachment: hbase-6529.diff

Oh~~. That is why bulkload becomes quite slow since 0.94 version, even for those data storing over the same HDFS cluster. Here attaches the quick fix. 
                
> With HFile v2, the region server will always perform an extra copy of source files
> ----------------------------------------------------------------------------------
>
>                 Key: HBASE-6529
>                 URL: https://issues.apache.org/jira/browse/HBASE-6529
>             Project: HBase
>          Issue Type: Bug
>          Components: performance, regionserver
>    Affects Versions: 0.94.0, 0.96.0
>            Reporter: Jason Dai
>         Attachments: hbase-6529.diff
>
>
> With HFile v2 implementation in HBase 0.94 & 0.96, the region server will use HFileSystem as its {color:blue}fs{color}. When it performs bulk load in Store.bulkLoadHFile(), it checks if its {color:blue}fs{color} is the same as {color:blue}srcFs{color}, which however will be DistributedFileSystem. Consequently, it will always perform an extra copy of source files.

--
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