Skip to content

HBASE-28767 Simplify backup bulk-loading code - #6134

Merged
ndimiduk merged 2 commits into
apache:masterfrom
DieterDP-ng:HBASE-28767
Dec 13, 2024
Merged

HBASE-28767 Simplify backup bulk-loading code#6134
ndimiduk merged 2 commits into
apache:masterfrom
DieterDP-ng:HBASE-28767

Conversation

@DieterDP-ng

Copy link
Copy Markdown
Contributor

No functional changes.

Currently split into 2 commits as to help the reviewer with seeing what was changed. This can be squashed when merging.

@Apache-HBase

This comment has been minimized.

@Apache-HBase

This comment has been minimized.

@ndimidukndimiduk left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Much better than it was. thank you @DieterDP-ng

}

public static List<Delete> createDeleteForOrigBulkLoad(List<TableName> lst) {
// Unused???

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

should we act on this comment now?

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

Ill deal with it in HBASE-29003.

No functional changes.
Introduces the BulkLoad class as data container for the tracking
of which files were bulk loaded (for backup purposes).
This class could be a record class, but that would make backporting
less straightforward.
@DieterDP-ng

Copy link
Copy Markdown
ContributorAuthor

Apologies for letting this gather dust. Review comments have been addressed.

@Apache-HBase

This comment has been minimized.

@Apache-HBase

This comment has been minimized.

@DieterDP-ng

Copy link
Copy Markdown
ContributorAuthor

💔 -1 overall
Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 0m 0s Docker mode activated.
-1 ❌ docker 0m 4s Docker failed to build run-specific yetus/hbase:tp-18400}.
Subsystem Report/Notes
GITHUB PR #6134
Console output https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6134/2/console
versions git=2.17.1
Powered by Apache Yetus 0.15.0 https://yetus.apache.org

This message was automatically generated.

This looks a failure unrelated to the PR to me. Let me know if this is not the case.

@ndimidukndimiduk left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for addressing my nits. This is looking good by me. I've initiated another PR build since the last one had some infra-level failure.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeLogfileComment
+0 🆗reexec0m 28sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+0 🆗codespell0m 0scodespell was not available.
+0 🆗detsecrets0m 0sdetect-secrets was not available.
+1 💚@author0m 0sThe patch does not contain any @author tags.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
_ master Compile Tests _
+1 💚mvninstall3m 5smaster passed
+1 💚compile0m 29smaster passed
+1 💚checkstyle0m 10smaster passed
+1 💚spotbugs0m 32smaster passed
+1 💚spotless0m 44sbranch has no errors when running spotless:check.
_ Patch Compile Tests _
+1 💚mvninstall2m 56sthe patch passed
+1 💚compile0m 30sthe patch passed
+1 💚javac0m 30sthe patch passed
+1 💚blanks0m 0sThe patch has no blanks issues.
-0 ⚠️checkstyle0m 7s/buildtool-patch-checkstyle-hbase-backup.txtThe patch fails to run checkstyle in hbase-backup
+1 💚spotbugs0m 37sthe patch passed
+1 💚hadoopcheck10m 59sPatch does not cause any errors with Hadoop 3.3.6 3.4.0.
+1 💚spotless0m 43spatch has no errors when running spotless:check.
_ Other Tests _
+1 💚asflicense0m 10sThe patch does not generate ASF License warnings.
28m 15s
SubsystemReport/Notes
DockerClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6134/3/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#6134
Optional Testsdupname asflicense javac spotbugs checkstyle codespell detsecrets compile hadoopcheck hbaseanti spotless
unameLinux 8c011f88d156 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 toolmaven
Personalitydev-support/hbase-personality.sh
git revisionmaster / 5932ae3
Default JavaEclipse Adoptium-17.0.11+9
Max. process+thread count83 (vs. ulimit of 30000)
modulesC: hbase-backup U: hbase-backup
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6134/3/console
versionsgit=2.34.1 maven=3.9.8 spotbugs=4.7.3
Powered byApache Yetus 0.15.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeLogfileComment
+0 🆗reexec0m 20sDocker mode activated.
-0 ⚠️yetus0m 3sUnprocessed 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 _
+1 💚mvninstall3m 13smaster passed
+1 💚compile0m 20smaster passed
+1 💚javadoc0m 15smaster passed
+1 💚shadedjars4m 54sbranch has no errors when building our shaded downstream artifacts.
_ Patch Compile Tests _
+1 💚mvninstall2m 39sthe patch passed
+1 💚compile0m 20sthe patch passed
+1 💚javac0m 20sthe patch passed
+1 💚javadoc0m 14sthe patch passed
+1 💚shadedjars4m 51spatch has no errors when building our shaded downstream artifacts.
_ Other Tests _
+1 💚unit15m 35shbase-backup in the patch passed.
33m 27s
SubsystemReport/Notes
DockerClientAPI=1.47 ServerAPI=1.47 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6134/3/artifact/yetus-jdk17-hadoop3-check/output/Dockerfile
GITHUB PR#6134
Optional Testsjavac javadoc unit compile shadedjars
unameLinux f67eedb73dd9 5.4.0-200-generic #220-Ubuntu SMP Fri Sep 27 13:19:16 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionmaster / 5932ae3
Default JavaEclipse Adoptium-17.0.11+9
Test Resultshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6134/3/testReport/
Max. process+thread count2972 (vs. ulimit of 30000)
modulesC: hbase-backup U: hbase-backup
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6134/3/console
versionsgit=2.34.1 maven=3.9.8
Powered byApache Yetus 0.15.0 https://yetus.apache.org

This message was automatically generated.

@ndimiduk
ndimiduk merged commit 5f312dd into apache:masterDec 13, 2024
ndimiduk pushed a commit to ndimiduk/hbase that referenced this pull request Dec 13, 2024
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
ndimiduk pushed a commit to ndimiduk/hbase that referenced this pull request Dec 13, 2024
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
ndimiduk pushed a commit to ndimiduk/hbase that referenced this pull request Dec 13, 2024
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
ndimiduk pushed a commit that referenced this pull request Dec 13, 2024
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
ndimiduk pushed a commit to ndimiduk/hbase that referenced this pull request Dec 16, 2024
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
ndimiduk pushed a commit to ndimiduk/hbase that referenced this pull request Dec 16, 2024
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
ndimiduk pushed a commit that referenced this pull request Dec 17, 2024
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
ndimiduk pushed a commit that referenced this pull request Dec 17, 2024
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
gvprathyusha6 pushed a commit to gvprathyusha6/hbase that referenced this pull request Dec 19, 2024
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
hgromer pushed a commit to HubSpot/hbase that referenced this pull request Feb 3, 2025
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
hgromer added a commit to HubSpot/hbase that referenced this pull request Feb 3, 2025
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
Co-authored-by: DieterDP <90392398+DieterDP-ng@users.noreply.github.com>
mokai87 pushed a commit to mokai87/hbase that referenced this pull request Aug 7, 2025
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
Sign up for freeto 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.

4 participants

@DieterDP-ng@Apache-HBase@ndimiduk@rmdmattingly