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 2025/07/02 00:51:00 UTC

[jira] [Commented] (HBASE-29423) Incremental backups broken for non-default namespaces

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

Hudson commented on HBASE-29423:
--------------------------------

Results for branch master
	[build #1314 on builds.a.o|https://ci-hbase.apache.org/job/HBase%20Nightly/job/master/1314/]: (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/master/1314/General_20Nightly_20Build_20Report/]








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


(/) {color:green}+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/master/1314/JDK17_20Nightly_20Build_20Report_20_28Hadoop3_29/]


(/) {color:green}+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/master/1314/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/master/1314/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 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}


> Incremental backups broken for non-default namespaces
> -----------------------------------------------------
>
>                 Key: HBASE-29423
>                 URL: https://issues.apache.org/jira/browse/HBASE-29423
>             Project: HBase
>          Issue Type: Bug
>          Components: backup&amp;restore
>    Affects Versions: 3.0.0, 4.0.0-alpha-1, 2.6.2
>            Reporter: Dieter De Paepe
>            Assignee: Dieter De Paepe
>            Priority: Critical
>              Labels: pull-request-available
>             Fix For: 2.7.0, 3.0.0-beta-2, 2.6.3
>
>
> HBASE-27659 added the `getTargetDirForTable(TableName table)` method to `IncrementalTableBackupClient`. In that method, the following line causes an URISyntaxException for a table that has a (non-default) namespace:
> {code:java}
> path = new Path(path, table.getNameAsString());{code}
> Since that resolves to "namespace:tablename". Which in turn gets parsed as a URI schema incorrectly. The resulting error:
> {code:java}
> [2025-06-25T11:16:33.844Z] Caused by: java.lang.IllegalArgumentException: java.net.URISyntaxException: Relative path in absolute URI: ngdata:CUSTOMER[2025-06-25T11:16:33.844Z]      at org.apache.hadoop.fs.Path.initialize(Path.java:264)[2025-06-25T11:16:33.844Z]      at org.apache.hadoop.fs.Path.<init>(Path.java:222)[2025-06-25T11:16:33.844Z]      at org.apache.hadoop.fs.Path.<init>(Path.java:130)[2025-06-25T11:16:33.844Z]      at org.apache.hadoop.hbase.backup.impl.IncrementalTableBackupClient.getTargetDirForTable(IncrementalTableBackupClient.java:462) {code}
> This breaks incremental backups.
>  



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