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

Duo Zhang resolved HBASE-27305.
-------------------------------
    Fix Version/s: 2.5.0
     Hadoop Flags: Reviewed
     Release Note: Add a 'hbase.loadincremental.fail.if.need.split.hfile' 
configuration. If set to true, th bulk load operation will fail immediately if 
we need to split the hfiles. This can be used to prevent unexpected time 
consuming bulk load operation.
       Resolution: Fixed

Pushed to branch-2.5+.

Thanks [~frostruan] for contributing!

> add an option to skip file splitting when bulkload hfiles
> ---------------------------------------------------------
>
>                 Key: HBASE-27305
>                 URL: https://issues.apache.org/jira/browse/HBASE-27305
>             Project: HBase
>          Issue Type: Improvement
>          Components: tooling
>    Affects Versions: 3.0.0-alpha-3
>            Reporter: ruanhui
>            Assignee: ruanhui
>            Priority: Minor
>             Fix For: 2.5.0, 3.0.0-alpha-4
>
>
> When bulkload hfiles, if the key range of the hfile does not match the key 
> range of the region, the BulkLoadHFilesTool will split hfile to fit make the 
> key range of the new file match the key range of the region. If there are 
> many files to be split, the load on the BulkLoadHFilesTool will be very high. 
> Sometimes we want to avoid this situation, just directly fail and regenerate 
> new hfiles. Here we try to introduce a new option, When the above problem is 
> encountered, an exception will be thrown and let the upper client handle it.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to