Skip to content

HBASE-26272 TestTableMapReduceUtil failure in branch-2 - #3676

Merged
Apache9 merged 1 commit into
apache:branch-2from
bitterfox:HBASE-26272
Sep 13, 2021
Merged

HBASE-26272 TestTableMapReduceUtil failure in branch-2#3676
Apache9 merged 1 commit into
apache:branch-2from
bitterfox:HBASE-26272

Conversation

@bitterfox

@bitterfoxbitterfox commented Sep 11, 2021

Copy link
Copy Markdown
Contributor

https://issues.apache.org/jira/browse/HBASE-26272

The principal parsing is failing with KerberosName's default rule that relies on the default realm.

It's caused by missing apache/hadoop@be38e53#diff-4fe7835f2ef9e7512e198edee5ed08b8d0685977efd3434eadfbd612fd4dc768 in branch-2's hadoop librarry

This change affects the difference in behavior.

  • In branch-2 (without be38e530bb23b134758e29c9101f98cf4e1d2c38)
    • It takes default realm at reset
    • KDC and Kerberos config for EXAMPLE.COM is not yet provided at that timing
    • (So need to reset again after KDC and Kerberos config are prepared)
  • In master (with be38e530bb23b134758e29c9101f98cf4e1d2c38)
    • It just set null to default realm at reset
    • default realm is taken when getDefaultRealm is called (i.e. parsing kerberos principal name)
    • At that time, there's correct default realm(EXAMPLE.COM) is provided in Kerberos config

Also fix the shutdown order, shutdown KDC before testing cluster, somehow the different order causes exception in branch-2, though it doesn't in master.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec1m 13sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
+1 💚@author0m 0sThe patch does not contain any @author tags.
_ branch-2 Compile Tests _
+1 💚mvninstall4m 14sbranch-2 passed
+1 💚compile0m 50sbranch-2 passed
+1 💚checkstyle0m 20sbranch-2 passed
+1 💚spotbugs0m 48sbranch-2 passed
_ Patch Compile Tests _
+1 💚mvninstall3m 42sthe patch passed
+1 💚compile0m 47sthe patch passed
+1 💚javac0m 47sthe patch passed
+1 💚checkstyle0m 19sthe patch passed
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚hadoopcheck13m 3sPatch does not cause any errors with Hadoop 3.1.2 3.2.1.
+1 💚spotbugs0m 55sthe patch passed
_ Other Tests _
+1 💚asflicense0m 13sThe patch does not generate ASF License warnings.
34m 50s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3676/1/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#3676
Optional Testsdupname asflicense javac spotbugs hadoopcheck hbaseanti checkstyle compile
unameLinux d4fc3a075a25 4.15.0-147-generic #151-Ubuntu SMP Fri Jun 18 19:21:19 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionbranch-2 / 126f6bc
Default JavaAdoptOpenJDK-1.8.0_282-b08
Max. process+thread count86 (vs. ulimit of 12500)
modulesC: hbase-mapreduce U: hbase-mapreduce
Console outputhttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3676/1/console
versionsgit=2.17.1 maven=3.6.3 spotbugs=4.2.2
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 36sDocker mode activated.
-0 ⚠️yetus0m 8sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ branch-2 Compile Tests _
+1 💚mvninstall4m 25sbranch-2 passed
+1 💚compile0m 29sbranch-2 passed
+1 💚shadedjars7m 15sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc0m 25sbranch-2 passed
_ Patch Compile Tests _
+1 💚mvninstall4m 2sthe patch passed
+1 💚compile0m 30sthe patch passed
+1 💚javac0m 30sthe patch passed
+1 💚shadedjars7m 16spatch has no errors when building our shaded downstream artifacts.
+1 💚javadoc0m 22sthe patch passed
_ Other Tests _
+1 💚unit11m 42shbase-mapreduce in the patch passed.
38m 28s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3676/1/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile
GITHUB PR#3676
Optional Testsjavac javadoc unit shadedjars compile
unameLinux 363405f06b99 4.15.0-151-generic #157-Ubuntu SMP Fri Jul 9 23:07:57 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionbranch-2 / 126f6bc
Default JavaAdoptOpenJDK-11.0.10+9
Test Resultshttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3676/1/testReport/
Max. process+thread count3905 (vs. ulimit of 12500)
modulesC: hbase-mapreduce U: hbase-mapreduce
Console outputhttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3676/1/console
versionsgit=2.17.1 maven=3.6.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec1m 8sDocker mode activated.
-0 ⚠️yetus0m 7sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ branch-2 Compile Tests _
+1 💚mvninstall4m 6sbranch-2 passed
+1 💚compile0m 25sbranch-2 passed
+1 💚shadedjars7m 18sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc0m 20sbranch-2 passed
_ Patch Compile Tests _
+1 💚mvninstall3m 44sthe patch passed
+1 💚compile0m 26sthe patch passed
+1 💚javac0m 26sthe patch passed
+1 💚shadedjars7m 3spatch has no errors when building our shaded downstream artifacts.
+1 💚javadoc0m 17sthe patch passed
_ Other Tests _
+1 💚unit16m 43shbase-mapreduce in the patch passed.
43m 18s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3676/1/artifact/yetus-jdk8-hadoop2-check/output/Dockerfile
GITHUB PR#3676
Optional Testsjavac javadoc unit shadedjars compile
unameLinux a51cf1f7bc9e 4.15.0-143-generic #147-Ubuntu SMP Wed Apr 14 16:10:11 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionbranch-2 / 126f6bc
Default JavaAdoptOpenJDK-1.8.0_282-b08
Test Resultshttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3676/1/testReport/
Max. process+thread count2344 (vs. ulimit of 12500)
modulesC: hbase-mapreduce U: hbase-mapreduce
Console outputhttps://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3676/1/console
versionsgit=2.17.1 maven=3.6.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache9Apache9 left a comment

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.

Thank you for taking care of this.

@Apache9Apache9 changed the title HBASE-26272 Fix TestTableMapReduceUntil failure in branch-2HBASE-26272 TestTableMapReduceUtil failure in branch-2Sep 13, 2021
@Apache9

Copy link
Copy Markdown
Contributor

Tried locally, it can fix the broken TestTableMapReduceUtil. Let me merge and cherry-pick to branch-2.3+.

@Apache9
Apache9 merged commit e139d31 into apache:branch-2Sep 13, 2021
Apache9 pushed a commit that referenced this pull request Sep 13, 2021
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Apache9 pushed a commit that referenced this pull request Sep 13, 2021
Signed-off-by: Duo Zhang <zhangduo@apache.org>
vinayakphegde pushed a commit to vinayakphegde/hbase that referenced this pull request Apr 4, 2024
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.

3 participants

@bitterfox@Apache-HBase@Apache9