[
https://issues.apache.org/jira/browse/HBASE-28064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17781610#comment-17781610
]
Hudson commented on HBASE-28064:
--------------------------------
Results for branch branch-2
[build #916 on
builds.a.o|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2/916/]:
(x) *{color:red}-1 overall{color}*
----
details (if available):
(x) {color:red}-1 general checks{color}
-- For more information [see general
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2/916/General_20Nightly_20Build_20Report/]
(x) {color:red}-1 jdk8 hadoop2 checks{color}
-- For more information [see jdk8 (hadoop2)
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2/916/JDK8_20Nightly_20Build_20Report_20_28Hadoop2_29/]
(x) {color:red}-1 jdk8 hadoop3 checks{color}
-- For more information [see jdk8 (hadoop3)
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2/916/JDK8_20Nightly_20Build_20Report_20_28Hadoop3_29/]
(x) {color:red}-1 jdk11 hadoop3 checks{color}
-- For more information [see jdk11
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2/916/JDK11_20Nightly_20Build_20Report_20_28Hadoop3_29/]
(/) {color:green}+1 source release artifact{color}
-- See build output for details.
(/) {color:green}+1 client integration test{color}
> Implement truncate_region command to truncate region directly from FS
> ---------------------------------------------------------------------
>
> Key: HBASE-28064
> URL: https://issues.apache.org/jira/browse/HBASE-28064
> Project: HBase
> Issue Type: New Feature
> Components: Admin, shell
> Affects Versions: 3.0.0-alpha-4, 2.5.6, 4.0.0-alpha-1
> Reporter: Ankit Singhal
> Assignee: Vaibhav Joshi
> Priority: Major
> Fix For: 2.6.0, 3.0.0-beta-1, 4.0.0-alpha-1
>
>
> One of our users has brought up a use-case where they need to truncate a
> region to delete data within a specific range. There are two scenarios to
> consider:
> * In the first scenario, the region boundaries involve a time range defined
> through pre-splitting, and user is looking to efficiently clean old date
> data. If HBase can directly truncate the region from the file system and then
> the user can merge the empty region with adjacent regions to effectively
> eliminate it which will be more optimized compared to deleting the data using
> Delete API.
> * In another case, if the HFile for that region becomes corrupted for some
> reason, user want to get rid of the HFile and reload the entire region to
> avoid consistency issues and ensure performance.
> we can do this by taking the region offline and taking write lock to avoid
> the consideration of race conditions involving Region In Transition (RITs),
> region re-opening, and merge/split scenarios.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)