You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Hudson (Jira)" <ji...@apache.org> on 2026/01/09 06:35:00 UTC

[jira] [Commented] (HBASE-29808) Simplify backup history retrieval

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

Hudson commented on HBASE-29808:
--------------------------------

Results for branch branch-2
	[build #1372 on builds.a.o|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2/1372/]: (x) *{color:red}-1 overall{color}*
----
details (if available):

(/) {color:green}+1 general checks{color}
-- For more information [see general report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2/1372/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/1372/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/1372/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/1372/JDK11_20Nightly_20Build_20Report_20_28Hadoop3_29/]


(x) {color:red}-1 jdk17 hadoop3 checks{color}
-- For more information [see jdk17 report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2/1372/JDK17_20Nightly_20Build_20Report_20_28Hadoop3_29/]


(x) {color:red}-1 jdk17 hadoop 3.3.5 backward compatibility checks{color}
-- For more information [see jdk17 report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2/1372/JDK17_20Nightly_20Build_20Report_20_28Hadoop3_29/]


(x) {color:red}-1 jdk17 hadoop 3.3.6 backward compatibility checks{color}
-- For more information [see jdk17 report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2/1372/JDK17_20Nightly_20Build_20Report_20_28Hadoop3_29/]


(x) {color:red}-1 jdk17 hadoop 3.4.0 backward compatibility checks{color}
-- For more information [see jdk17 report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2/1372/JDK17_20Nightly_20Build_20Report_20_28Hadoop3_29/]


(x) {color:red}-1 jdk17 hadoop 3.4.1 backward compatibility checks{color}
-- For more information [see jdk17 report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2/1372/JDK17_20Nightly_20Build_20Report_20_28Hadoop3_29/]


(/) {color:green}+1 source release artifact{color}
-- See build output for details.


(/) {color:green}+1 client integration test for HBase 2 {color}
(/) {color:green}+1 client integration test for 3.3.5 {color}
(/) {color:green}+1 client integration test for 3.3.6 {color}
(/) {color:green}+1 client integration test for 3.4.0 {color}
(/) {color:green}+1 client integration test for 3.4.1 {color}
(/) {color:green}+1 client integration test for 3.4.2 {color}


> Simplify backup history retrieval
> ---------------------------------
>
>                 Key: HBASE-29808
>                 URL: https://issues.apache.org/jira/browse/HBASE-29808
>             Project: HBase
>          Issue Type: Improvement
>          Components: backup&amp;restore
>            Reporter: Dieter De Paepe
>            Assignee: Dieter De Paepe
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 4.0.0-alpha-1, 3.0.0-beta-2, 2.6.5
>
>
> The API and code that is used to retrieve the backup history (BackupInfo) is messy. Some points of critique:
>  * There's a specific BackupState value ANY just meant as "don't filter any in this retrieval API"
>  * BackupSystemTable#getBackupHistory and BackupSystemTable#getBackupInfos both retrieve BackupInfo, but don't clearly describe their difference.
>  * There's many different versions of BackupSystemTable#getBackupHistory, which are all very similar, without any real optimizations between them:
> ArrayList<BackupInfo> getBackupHistory(boolean onlyCompleted)
> List<BackupInfo> getBackupHistory()
> List<BackupInfo> getHistory(int n)
> List<BackupInfo> getBackupHistory(int n, BackupInfo.Filter... filters)
> List<BackupInfo> getBackupHistory(String backupRoot)
> List<BackupInfo> getBackupHistoryForTable(TableName name)



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