Skip to content

Conversation

@rmdmattingly
Copy link
Contributor

@rmdmattingly rmdmattingly commented Mar 21, 2025

Some might argue that this table should be named system:backup instead of backup:system, but c'est la vie

@rmdmattingly rmdmattingly requested a review from ndimiduk March 21, 2025 18:45
@Apache-HBase

This comment has been minimized.

@Apache-HBase

This comment has been minimized.

Comment on lines +304 to +312
} else if (Bytes.equals(NamespaceDescriptor.BACKUP_NAMESPACE_NAME, namespace)) {
this.namespace = NamespaceDescriptor.BACKUP_NAMESPACE_NAME;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I’m not sure, to be honest. If we were back in time I’d recommend not supporting that feature at all. Do you have any ideas?

@Apache-HBase

This comment has been minimized.

@Apache-HBase

This comment has been minimized.

@rmdmattingly
Copy link
Contributor Author

Wow, I see now why this wasn’t listed as a system table initially. We take snapshots of the backups table periodically, and you cannot take snapshots of system tables. Test failures caught this disconnect of intentions.

I’ll think a bit about this, but I wonder if we should make an exception for allowing backup system table snapshots.

@Apache-HBase

This comment has been minimized.

@Apache-HBase

This comment has been minimized.

@ndimiduk
Copy link
Member

you cannot take snapshots of system tables

Wait you can't take a snapshot of meta? I feel like this is something I've done before. Maybe I was just taking a "dump"/export...

@rmdmattingly
Copy link
Contributor Author

According to the precondition tripped by those tests, one cannot

Copy link
Member

@ndimiduk ndimiduk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some might argue that this table should be named system:backup instead of backup:system, but c'est la vie

Yes this is quite unfortunate.

@Apache-HBase
Copy link

🎊 +1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 0m 32s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+0 🆗 codespell 0m 0s codespell was not available.
+0 🆗 detsecrets 0m 0s detect-secrets was not available.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 hbaseanti 0m 0s Patch does not have any anti-patterns.
_ master Compile Tests _
+0 🆗 mvndep 0m 11s Maven dependency ordering for branch
+1 💚 mvninstall 4m 30s master passed
+1 💚 compile 2m 36s master passed
+1 💚 checkstyle 0m 48s master passed
+1 💚 spotbugs 2m 1s master passed
+1 💚 spotless 0m 52s branch has no errors when running spotless:check.
-0 ⚠️ patch 1m 11s Used diff version of patch file. Binary files and potentially other changes not applied. Please rebase and squash commits if necessary.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 11s Maven dependency ordering for patch
+1 💚 mvninstall 4m 1s the patch passed
+1 💚 compile 2m 27s the patch passed
+1 💚 javac 2m 27s the patch passed
+1 💚 blanks 0m 0s The patch has no blanks issues.
+1 💚 checkstyle 0m 53s the patch passed
+1 💚 spotbugs 2m 35s the patch passed
+1 💚 hadoopcheck 16m 7s Patch does not cause any errors with Hadoop 3.3.6 3.4.0.
+1 💚 spotless 1m 14s patch has no errors when running spotless:check.
_ Other Tests _
+1 💚 asflicense 0m 35s The patch does not generate ASF License warnings.
50m 20s
Subsystem Report/Notes
Docker ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6842/4/artifact/yetus-general-check/output/Dockerfile
GITHUB PR #6842
Optional Tests dupname asflicense javac spotbugs checkstyle codespell detsecrets compile hadoopcheck hbaseanti spotless
uname Linux eb57bb751544 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/hbase-personality.sh
git revision master / d4b438e
Default Java Eclipse Adoptium-17.0.11+9
Max. process+thread count 83 (vs. ulimit of 30000)
modules C: hbase-common hbase-client hbase-backup U: .
Console output https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6842/4/console
versions git=2.34.1 maven=3.9.8 spotbugs=4.7.3
Powered by Apache Yetus 0.15.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 0m 44s Docker mode activated.
-0 ⚠️ yetus 0m 4s Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --author-ignore-list --blanks-eol-ignore-file --blanks-tabs-ignore-file --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗 mvndep 0m 25s Maven dependency ordering for branch
+1 💚 mvninstall 8m 27s master passed
+1 💚 compile 3m 12s master passed
+1 💚 javadoc 2m 50s master passed
+1 💚 shadedjars 13m 18s branch has no errors when building our shaded downstream artifacts.
-0 ⚠️ patch 14m 37s Used diff version of patch file. Binary files and potentially other changes not applied. Please rebase and squash commits if necessary.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 39s Maven dependency ordering for patch
+1 💚 mvninstall 8m 25s the patch passed
+1 💚 compile 3m 4s the patch passed
+1 💚 javac 3m 4s the patch passed
+1 💚 javadoc 2m 40s the patch passed
+1 💚 shadedjars 12m 57s patch has no errors when building our shaded downstream artifacts.
_ Other Tests _
+1 💚 unit 7m 5s hbase-common in the patch passed.
+1 💚 unit 5m 14s hbase-client in the patch passed.
-1 ❌ unit 32m 40s /patch-unit-hbase-backup.txt hbase-backup in the patch failed.
105m 0s
Subsystem Report/Notes
Docker ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6842/4/artifact/yetus-jdk17-hadoop3-check/output/Dockerfile
GITHUB PR #6842
Optional Tests javac javadoc unit compile shadedjars
uname Linux 97560db65fee 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/hbase-personality.sh
git revision master / d4b438e
Default Java Eclipse Adoptium-17.0.11+9
Test Results https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6842/4/testReport/
Max. process+thread count 3539 (vs. ulimit of 30000)
modules C: hbase-common hbase-client hbase-backup U: .
Console output https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6842/4/console
versions git=2.34.1 maven=3.9.8
Powered by Apache Yetus 0.15.0 https://yetus.apache.org

This message was automatically generated.

@rmdmattingly rmdmattingly merged commit dcb406f into apache:master Apr 23, 2025
1 check failed
@rmdmattingly rmdmattingly deleted the HBASE-29207 branch April 23, 2025 19:45
rmdmattingly added a commit that referenced this pull request Apr 23, 2025
…le (#6842)

Co-authored-by: Ray Mattingly <[email protected]>
Signed-off-by: Nick Dimiduk <[email protected]>
Signed-off-by: Nihal Jain <[email protected]>
rmdmattingly added a commit that referenced this pull request Apr 23, 2025
…le (#6842)

Co-authored-by: Ray Mattingly <[email protected]>
Signed-off-by: Nick Dimiduk <[email protected]>
Signed-off-by: Nihal Jain <[email protected]>
rmdmattingly added a commit that referenced this pull request Apr 23, 2025
…le (#6842)

Co-authored-by: Ray Mattingly <[email protected]>
Signed-off-by: Nick Dimiduk <[email protected]>
Signed-off-by: Nihal Jain <[email protected]>
rmdmattingly added a commit that referenced this pull request Apr 25, 2025
…le (#6842) (#6928)

Signed-off-by: Nick Dimiduk <[email protected]>
Signed-off-by: Nihal Jain <[email protected]>
Co-authored-by: Ray Mattingly <[email protected]>
rmdmattingly added a commit that referenced this pull request Apr 25, 2025
…le (#6842) (#6929)

Signed-off-by: Nick Dimiduk <[email protected]>
Signed-off-by: Nihal Jain <[email protected]>
Co-authored-by: Ray Mattingly <[email protected]>
rmdmattingly added a commit that referenced this pull request Apr 25, 2025
…le (#6842) (#6930)

Signed-off-by: Nick Dimiduk <[email protected]>
Signed-off-by: Nihal Jain <[email protected]>
Co-authored-by: Ray Mattingly <[email protected]>
mokai87 pushed a commit to mokai87/hbase that referenced this pull request Aug 7, 2025
…le (apache#6842) (apache#6929)

Signed-off-by: Nick Dimiduk <[email protected]>
Signed-off-by: Nihal Jain <[email protected]>
Co-authored-by: Ray Mattingly <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants