Skip to content

HBASE-26804 Missing opentelemetry agent in hadoop-two-compat.xml - #4185

Merged
taklwu merged 1 commit into
apache:branch-2from
taklwu:HBASE-26804
Mar 10, 2022
Merged

HBASE-26804 Missing opentelemetry agent in hadoop-two-compat.xml#4185
taklwu merged 1 commit into
apache:branch-2from
taklwu:HBASE-26804

Conversation

@taklwu

Copy link
Copy Markdown
Contributor

No description provided.

@taklwu

Copy link
Copy Markdown
ContributorAuthor

see the original commit in master here 8d2a0ef and this PR is porting the change in hadoop-three-compat.xml to hadoop-two-compat.xml

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 49sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+1 💚@author0m 0sThe patch does not contain any @author tags.
_ branch-2 Compile Tests _
+1 💚mvninstall3m 55sbranch-2 passed
_ Patch Compile Tests _
+1 💚mvninstall2m 18sthe patch passed
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚xml0m 1sThe patch has no ill-formed XML file.
_ Other Tests _
+1 💚asflicense0m 9sThe patch does not generate ASF License warnings.
8m 31s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4185/1/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#4185
Optional Testsdupname asflicense javac xml
unameLinux 210756ce7a3a 5.4.0-1025-aws #25~18.04.1-Ubuntu SMP Fri Sep 11 12:03:04 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionbranch-2 / 98836fb
Default JavaAdoptOpenJDK-1.8.0_282-b08
Max. process+thread count45 (vs. ulimit of 12500)
modulesC: hbase-assembly U: hbase-assembly
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4185/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 🆗reexec0m 50sDocker mode activated.
-0 ⚠️yetus0m 4sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ branch-2 Compile Tests _
+1 💚mvninstall3m 51sbranch-2 passed
+1 💚javadoc0m 17sbranch-2 passed
_ Patch Compile Tests _
+1 💚mvninstall2m 19sthe patch passed
+1 💚javadoc0m 8sthe patch passed
_ Other Tests _
+1 💚unit0m 14shbase-assembly in the patch passed.
8m 43s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4185/1/artifact/yetus-jdk8-hadoop2-check/output/Dockerfile
GITHUB PR#4185
Optional Testsjavac javadoc unit
unameLinux daecaf97109c 5.4.0-1043-aws #45~18.04.1-Ubuntu SMP Fri Apr 9 23:32:25 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionbranch-2 / 98836fb
Default JavaAdoptOpenJDK-1.8.0_282-b08
Test Resultshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4185/1/testReport/
Max. process+thread count44 (vs. ulimit of 12500)
modulesC: hbase-assembly U: hbase-assembly
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4185/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 22sDocker mode activated.
-0 ⚠️yetus0m 3sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ branch-2 Compile Tests _
+1 💚mvninstall3m 23sbranch-2 passed
+1 💚javadoc0m 13sbranch-2 passed
_ Patch Compile Tests _
+1 💚mvninstall3m 13sthe patch passed
+1 💚javadoc0m 12sthe patch passed
_ Other Tests _
+1 💚unit0m 21shbase-assembly in the patch passed.
9m 47s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4185/1/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile
GITHUB PR#4185
Optional Testsjavac javadoc unit
unameLinux b5a4072a3d72 5.4.0-90-generic #101-Ubuntu SMP Fri Oct 15 20:00:55 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionbranch-2 / 98836fb
Default JavaAdoptOpenJDK-11.0.10+9
Test Resultshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4185/1/testReport/
Max. process+thread count59 (vs. ulimit of 12500)
modulesC: hbase-assembly U: hbase-assembly
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4185/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.

@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.

Looks right to me. I don't have a simple means of testing it, can I assume you've got that covered, @taklwu ?

@taklwu

taklwu commented Mar 9, 2022

Copy link
Copy Markdown
ContributorAuthor

I had an internal runtime was using hadoop2 build client and bin. But for this PR, I checked if the jar exists within the tar.gz that should be proving the agent has been included as part of the classpath.

# build the assembly tar bar with the default hadoop2 profile
% mvn clean install -DskipTests -Dcheckstyle.skip=true site assembly:single -Prelease
# go into the assembly output directory
$ cd hbase-assembly/target
% pwd
/Users/taklwu/workspace/hbase2/hbase-assembly/target
# unzip the tar bin and client ball
% tar -zxvf hbase-2.6.0-SNAPSHOT-bin.tar.gz
% tar -zxvf hbase-2.6.0-SNAPSHOT-client-bin.tar.gz
# verify the client exists
% ls -l hbase-2.6.0-SNAPSHOT/lib/trace/opentelemetry-javaagent-1.0.1-all.jar
-rw-r--r-- 1 taklwu staff 26478003 Jan 22 2020 hbase-2.6.0-SNAPSHOT/lib/trace/opentelemetry-javaagent-1.0.1-all.jar
% ls -l hbase-2.6.0-SNAPSHOT-client/lib/trace/*
-rw-r--r-- 1 taklwu staff 26478003 Jan 22 2020 hbase-2.6.0-SNAPSHOT-client/lib/trace/opentelemetry-javaagent-1.0.1-all.jar

@taklwu
taklwu requested a review from ndimidukMarch 9, 2022 19:40
@taklwu
taklwu merged commit 3ebb8c1 into apache:branch-2Mar 10, 2022
taklwu added a commit that referenced this pull request Mar 10, 2022
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
@taklwu
taklwu deleted the HBASE-26804 branch March 10, 2022 20:04
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

@taklwu@Apache-HBase@ndimiduk@Apache9