[
https://issues.apache.org/jira/browse/HBASE-26707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17482502#comment-17482502
]
Szabolcs Bukros commented on HBASE-26707:
-----------------------------------------
During implementation I have found an issue with
bulkLoadListener.failedBulkLoad at
[https://github.com/apache/hbase/blob/master/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java#L7320]
The passed param is the staged path, but the method expects the file's original
location. This could lead to leaving the hfile in the staging dir after failing
a bulkload and because cleanup deletes staging loosing the hfile.
This is also fixed in the attached PR.
> Reduce number of renames during bulkload
> ----------------------------------------
>
> Key: HBASE-26707
> URL: https://issues.apache.org/jira/browse/HBASE-26707
> Project: HBase
> Issue Type: Sub-task
> Reporter: Szabolcs Bukros
> Assignee: Szabolcs Bukros
> Priority: Major
>
> Make sure we only do a single rename operation during bulkload when
> StoreEngine does not require the the use of tmp directories.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)