Skip to content

HBASE-25373 Remove HTrace completely in code base and try to make use…#2748

Closed
Apache9 wants to merge 1 commit into
apache:masterfrom
Apache9:HBASE-25373
Closed

HBASE-25373 Remove HTrace completely in code base and try to make use…#2748
Apache9 wants to merge 1 commit into
apache:masterfrom
Apache9:HBASE-25373

Conversation

@Apache9
Copy link
Copy Markdown
Contributor

@Apache9 Apache9 commented Dec 8, 2020

… of OpenTelemetry

@Apache9 Apache9 self-assigned this Dec 8, 2020
@Apache9
Copy link
Copy Markdown
Contributor Author

Apache9 commented Dec 8, 2020

Just remove HTrace and ban it completely, as it does not work any more.

Try using open telemetry api and sdk to replace the old HTrace stuff.

No receiver(exporter) specified yet, maybe we could include a UT in this PR to verify that it basically works.

Notice that this will be committed to a feature branch, so let's not expect it to be perfect, we could open follow-on issues to polish it.

@Apache-HBase
Copy link
Copy Markdown

💔 -1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 1m 27s Docker mode activated.
-0 ⚠️ yetus 0m 3s Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗 mvndep 0m 31s Maven dependency ordering for branch
+1 💚 mvninstall 4m 6s master passed
+1 💚 compile 2m 44s master passed
+1 💚 shadedjars 7m 16s branch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 5m 36s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 20s Maven dependency ordering for patch
+1 💚 mvninstall 4m 0s the patch passed
+1 💚 compile 2m 43s the patch passed
+1 💚 javac 2m 43s the patch passed
+1 💚 shadedjars 7m 43s patch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 5m 40s the patch passed
_ Other Tests _
-1 ❌ unit 22m 38s root in the patch failed.
67m 42s
Subsystem Report/Notes
Docker ClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2748/1/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile
GITHUB PR #2748
Optional Tests javac javadoc unit shadedjars compile
uname Linux 660b95e15bb7 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/hbase-personality.sh
git revision master / 56dd3eb
Default Java AdoptOpenJDK-1.8.0_232-b09
unit https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2748/1/artifact/yetus-jdk8-hadoop3-check/output/patch-unit-root.txt
Test Results https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2748/1/testReport/
Max. process+thread count 808 (vs. ulimit of 30000)
modules C: hbase-protocol-shaded hbase-common hbase-client hbase-zookeeper hbase-asyncfs hbase-server hbase-mapreduce hbase-it hbase-shaded hbase-shaded/hbase-shaded-client hbase-external-blockcache hbase-shaded/hbase-shaded-testing-util . U: .
Console output https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2748/1/console
versions git=2.17.1 maven=3.6.3
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link
Copy Markdown

🎊 +1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 30s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 1s No case conflicting files found.
+1 💚 hbaseanti 0m 0s Patch does not have any anti-patterns.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
_ master Compile Tests _
+0 🆗 mvndep 0m 31s Maven dependency ordering for branch
+1 💚 mvninstall 3m 38s master passed
+1 💚 checkstyle 2m 12s master passed
+1 💚 spotbugs 18m 14s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 21s Maven dependency ordering for patch
+1 💚 mvninstall 3m 28s the patch passed
-0 ⚠️ checkstyle 2m 9s root: The patch generated 2 new + 562 unchanged - 23 fixed = 564 total (was 585)
+1 💚 whitespace 0m 0s The patch has no whitespace issues.
+1 💚 xml 0m 16s The patch has no ill-formed XML file.
+1 💚 hadoopcheck 17m 23s Patch does not cause any errors with Hadoop 3.1.2 3.2.1 3.3.0.
+1 💚 spotbugs 19m 40s the patch passed
_ Other Tests _
+1 💚 asflicense 2m 44s The patch does not generate ASF License warnings.
81m 26s
Subsystem Report/Notes
Docker ClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2748/1/artifact/yetus-general-check/output/Dockerfile
GITHUB PR #2748
Optional Tests dupname asflicense spotbugs hadoopcheck hbaseanti checkstyle xml
uname Linux 93952bb9c60f 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/hbase-personality.sh
git revision master / 56dd3eb
checkstyle https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2748/1/artifact/yetus-general-check/output/diff-checkstyle-root.txt
Max. process+thread count 137 (vs. ulimit of 30000)
modules C: hbase-protocol-shaded hbase-common hbase-client hbase-zookeeper hbase-asyncfs hbase-server hbase-mapreduce hbase-it hbase-shaded hbase-shaded/hbase-shaded-client hbase-external-blockcache hbase-shaded/hbase-shaded-testing-util . U: .
Console output https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2748/1/console
versions git=2.17.1 maven=3.6.3 spotbugs=3.1.12
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link
Copy Markdown

💔 -1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 6m 44s Docker mode activated.
-0 ⚠️ yetus 0m 3s Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗 mvndep 0m 29s Maven dependency ordering for branch
+1 💚 mvninstall 4m 43s master passed
+1 💚 compile 3m 5s master passed
+1 💚 shadedjars 7m 18s branch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 6m 39s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 18s Maven dependency ordering for patch
+1 💚 mvninstall 4m 30s the patch passed
+1 💚 compile 3m 7s the patch passed
+1 💚 javac 3m 7s the patch passed
+1 💚 shadedjars 7m 45s patch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 6m 41s the patch passed
_ Other Tests _
-1 ❌ unit 245m 34s root in the patch failed.
300m 35s
Subsystem Report/Notes
Docker ClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2748/1/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile
GITHUB PR #2748
Optional Tests javac javadoc unit shadedjars compile
uname Linux a5f70fe29538 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/hbase-personality.sh
git revision master / 56dd3eb
Default Java AdoptOpenJDK-11.0.6+10
unit https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2748/1/artifact/yetus-jdk11-hadoop3-check/output/patch-unit-root.txt
Test Results https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2748/1/testReport/
Max. process+thread count 4356 (vs. ulimit of 30000)
modules C: hbase-protocol-shaded hbase-common hbase-client hbase-zookeeper hbase-asyncfs hbase-server hbase-mapreduce hbase-it hbase-shaded hbase-shaded/hbase-shaded-client hbase-external-blockcache hbase-shaded/hbase-shaded-testing-util . U: .
Console output https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2748/1/console
versions git=2.17.1 maven=3.6.3
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link
Copy Markdown

🎊 +1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 28s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 1s No case conflicting files found.
+1 💚 hbaseanti 0m 0s Patch does not have any anti-patterns.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
_ master Compile Tests _
+0 🆗 mvndep 0m 37s Maven dependency ordering for branch
+1 💚 mvninstall 3m 24s master passed
+1 💚 checkstyle 2m 8s master passed
+1 💚 spotbugs 18m 14s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 20s Maven dependency ordering for patch
+1 💚 mvninstall 3m 23s the patch passed
+1 💚 checkstyle 2m 9s root: The patch generated 0 new + 562 unchanged - 23 fixed = 562 total (was 585)
-0 ⚠️ rubocop 0m 4s The patch generated 4 new + 3 unchanged - 8 fixed = 7 total (was 11)
+1 💚 whitespace 0m 0s The patch has no whitespace issues.
+1 💚 xml 0m 15s The patch has no ill-formed XML file.
+1 💚 hadoopcheck 17m 8s Patch does not cause any errors with Hadoop 3.1.2 3.2.1 3.3.0.
+1 💚 spotbugs 20m 34s the patch passed
_ Other Tests _
+1 💚 asflicense 2m 48s The patch does not generate ASF License warnings.
81m 50s
Subsystem Report/Notes
Docker ClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2748/2/artifact/yetus-general-check/output/Dockerfile
GITHUB PR #2748
Optional Tests dupname asflicense spotbugs hadoopcheck hbaseanti checkstyle xml rubocop
uname Linux 20ec40d11d6d 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/hbase-personality.sh
git revision master / 56dd3eb
rubocop https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2748/2/artifact/yetus-general-check/output/diff-patch-rubocop.txt
Max. process+thread count 137 (vs. ulimit of 30000)
modules C: hbase-protocol-shaded hbase-common hbase-client hbase-zookeeper hbase-asyncfs hbase-server hbase-mapreduce hbase-shell hbase-it hbase-shaded hbase-shaded/hbase-shaded-client hbase-external-blockcache hbase-shaded/hbase-shaded-testing-util . U: .
Console output https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2748/2/console
versions git=2.17.1 maven=3.6.3 spotbugs=3.1.12 rubocop=0.80.0
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link
Copy Markdown

🎊 +1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 33s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 1s No case conflicting files found.
+1 💚 hbaseanti 0m 0s Patch does not have any anti-patterns.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
_ master Compile Tests _
+0 🆗 mvndep 0m 31s Maven dependency ordering for branch
+1 💚 mvninstall 3m 43s master passed
+1 💚 checkstyle 2m 11s master passed
+1 💚 spotbugs 18m 19s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 21s Maven dependency ordering for patch
+1 💚 mvninstall 3m 26s the patch passed
-0 ⚠️ checkstyle 2m 12s root: The patch generated 1 new + 562 unchanged - 23 fixed = 563 total (was 585)
-0 ⚠️ rubocop 0m 4s The patch generated 4 new + 3 unchanged - 8 fixed = 7 total (was 11)
+1 💚 whitespace 0m 0s The patch has no whitespace issues.
+1 💚 xml 0m 16s The patch has no ill-formed XML file.
+1 💚 hadoopcheck 17m 25s Patch does not cause any errors with Hadoop 3.1.2 3.2.1 3.3.0.
+1 💚 spotbugs 19m 33s the patch passed
_ Other Tests _
+1 💚 asflicense 2m 54s The patch does not generate ASF License warnings.
81m 49s
Subsystem Report/Notes
Docker ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2748/3/artifact/yetus-general-check/output/Dockerfile
GITHUB PR #2748
Optional Tests dupname asflicense spotbugs hadoopcheck hbaseanti checkstyle xml rubocop
uname Linux de93306a89d1 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/hbase-personality.sh
git revision master / c853c99
checkstyle https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2748/3/artifact/yetus-general-check/output/diff-checkstyle-root.txt
rubocop https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2748/3/artifact/yetus-general-check/output/diff-patch-rubocop.txt
Max. process+thread count 137 (vs. ulimit of 30000)
modules C: hbase-protocol-shaded hbase-common hbase-client hbase-zookeeper hbase-asyncfs hbase-server hbase-mapreduce hbase-shell hbase-it hbase-shaded hbase-shaded/hbase-shaded-client hbase-external-blockcache hbase-shaded/hbase-shaded-testing-util . U: .
Console output https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2748/3/console
versions git=2.17.1 maven=3.6.3 spotbugs=3.1.12 rubocop=0.80.0
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link
Copy Markdown

🎊 +1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 29s Docker mode activated.
-0 ⚠️ yetus 0m 4s Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗 mvndep 0m 34s Maven dependency ordering for branch
+1 💚 mvninstall 4m 10s master passed
+1 💚 compile 2m 49s master passed
+1 💚 shadedjars 6m 43s branch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 6m 39s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 20s Maven dependency ordering for patch
+1 💚 mvninstall 4m 0s the patch passed
+1 💚 compile 2m 49s the patch passed
+1 💚 javac 2m 49s the patch passed
+1 💚 shadedjars 6m 57s patch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 6m 39s the patch passed
_ Other Tests _
+1 💚 unit 171m 8s root in the patch passed.
218m 35s
Subsystem Report/Notes
Docker ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2748/3/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile
GITHUB PR #2748
Optional Tests javac javadoc unit shadedjars compile
uname Linux 9d667e2c005b 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/hbase-personality.sh
git revision master / c853c99
Default Java AdoptOpenJDK-11.0.6+10
Test Results https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2748/3/testReport/
Max. process+thread count 6533 (vs. ulimit of 30000)
modules C: hbase-protocol-shaded hbase-common hbase-client hbase-zookeeper hbase-asyncfs hbase-server hbase-mapreduce hbase-shell hbase-it hbase-shaded hbase-shaded/hbase-shaded-client hbase-external-blockcache hbase-shaded/hbase-shaded-testing-util . U: .
Console output https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2748/3/console
versions git=2.17.1 maven=3.6.3
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link
Copy Markdown

🎊 +1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 28s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 1s No case conflicting files found.
+1 💚 hbaseanti 0m 0s Patch does not have any anti-patterns.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
_ master Compile Tests _
+0 🆗 mvndep 0m 35s Maven dependency ordering for branch
+1 💚 mvninstall 3m 39s master passed
+1 💚 checkstyle 2m 11s master passed
+1 💚 spotbugs 18m 0s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 21s Maven dependency ordering for patch
+1 💚 mvninstall 3m 21s the patch passed
+1 💚 checkstyle 2m 12s root: The patch generated 0 new + 562 unchanged - 23 fixed = 562 total (was 585)
-0 ⚠️ rubocop 0m 3s The patch generated 4 new + 3 unchanged - 8 fixed = 7 total (was 11)
+1 💚 whitespace 0m 0s The patch has no whitespace issues.
+1 💚 xml 0m 15s The patch has no ill-formed XML file.
+1 💚 hadoopcheck 17m 12s Patch does not cause any errors with Hadoop 3.1.2 3.2.1 3.3.0.
+1 💚 spotbugs 19m 36s the patch passed
_ Other Tests _
+1 💚 asflicense 2m 54s The patch does not generate ASF License warnings.
81m 9s
Subsystem Report/Notes
Docker ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2748/4/artifact/yetus-general-check/output/Dockerfile
GITHUB PR #2748
Optional Tests dupname asflicense spotbugs hadoopcheck hbaseanti checkstyle xml rubocop
uname Linux c222ccfd610f 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/hbase-personality.sh
git revision master / 7851438
rubocop https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2748/4/artifact/yetus-general-check/output/diff-patch-rubocop.txt
Max. process+thread count 137 (vs. ulimit of 30000)
modules C: hbase-protocol-shaded hbase-common hbase-client hbase-zookeeper hbase-asyncfs hbase-server hbase-mapreduce hbase-shell hbase-it hbase-shaded hbase-shaded/hbase-shaded-client hbase-external-blockcache hbase-shaded/hbase-shaded-testing-util . U: .
Console output https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2748/4/console
versions git=2.17.1 maven=3.6.3 spotbugs=3.1.12 rubocop=0.80.0
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link
Copy Markdown

💔 -1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 29s Docker mode activated.
-0 ⚠️ yetus 0m 4s Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗 mvndep 0m 37s Maven dependency ordering for branch
+1 💚 mvninstall 4m 0s master passed
+1 💚 compile 2m 48s master passed
+1 💚 shadedjars 6m 40s branch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 6m 33s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 19s Maven dependency ordering for patch
+1 💚 mvninstall 4m 1s the patch passed
+1 💚 compile 2m 47s the patch passed
+1 💚 javac 2m 47s the patch passed
+1 💚 shadedjars 7m 1s patch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 6m 39s the patch passed
_ Other Tests _
-1 ❌ unit 142m 29s root in the patch failed.
188m 51s
Subsystem Report/Notes
Docker ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2748/4/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile
GITHUB PR #2748
Optional Tests javac javadoc unit shadedjars compile
uname Linux a9b9dbbafa32 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/hbase-personality.sh
git revision master / 7851438
Default Java AdoptOpenJDK-11.0.6+10
unit https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2748/4/artifact/yetus-jdk11-hadoop3-check/output/patch-unit-root.txt
Test Results https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2748/4/testReport/
Max. process+thread count 3974 (vs. ulimit of 30000)
modules C: hbase-protocol-shaded hbase-common hbase-client hbase-zookeeper hbase-asyncfs hbase-server hbase-mapreduce hbase-shell hbase-it hbase-shaded hbase-shaded/hbase-shaded-client hbase-external-blockcache hbase-shaded/hbase-shaded-testing-util . U: .
Console output https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2748/4/console
versions git=2.17.1 maven=3.6.3
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link
Copy Markdown

💔 -1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 1m 25s Docker mode activated.
-0 ⚠️ yetus 0m 3s Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗 mvndep 0m 34s Maven dependency ordering for branch
+1 💚 mvninstall 4m 6s master passed
+1 💚 compile 2m 55s master passed
+1 💚 shadedjars 8m 54s branch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 7m 11s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 21s Maven dependency ordering for patch
+1 💚 mvninstall 4m 36s the patch passed
+1 💚 compile 3m 15s the patch passed
+1 💚 javac 3m 15s the patch passed
+1 💚 shadedjars 9m 4s patch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 6m 30s the patch passed
_ Other Tests _
-1 ❌ unit 350m 38s root in the patch failed.
403m 30s
Subsystem Report/Notes
Docker ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2748/4/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile
GITHUB PR #2748
Optional Tests javac javadoc unit shadedjars compile
uname Linux 3630b1c97a3d 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/hbase-personality.sh
git revision master / 7851438
Default Java AdoptOpenJDK-1.8.0_232-b09
unit https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2748/4/artifact/yetus-jdk8-hadoop3-check/output/patch-unit-root.txt
Test Results https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2748/4/testReport/
Max. process+thread count 3296 (vs. ulimit of 30000)
modules C: hbase-protocol-shaded hbase-common hbase-client hbase-zookeeper hbase-asyncfs hbase-server hbase-mapreduce hbase-shell hbase-it hbase-shaded hbase-shaded/hbase-shaded-client hbase-external-blockcache hbase-shaded/hbase-shaded-testing-util . U: .
Console output https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2748/4/console
versions git=2.17.1 maven=3.6.3
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

Copy link
Copy Markdown
Contributor

@saintstack saintstack left a comment

Choose a reason for hiding this comment

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

Skimmed. Looks good. Export somehow so could see pretty pictures would be sweet. Could be export be dump to a new hbase servlet traces page?

Does the global trace just keep accumulating or does it start dropping traces after a while or size? Do you know? Thanks.

@Apache9
Copy link
Copy Markdown
Contributor Author

Apache9 commented Dec 12, 2020

Skimmed. Looks good. Export somehow so could see pretty pictures would be sweet. Could be export be dump to a new hbase servlet traces page?

For me I think first we could use the logging exporter to prove that the tracing actually works. And then, we could do two things in parallel. One is to implement tracing for different sub modules in HBase, especially that we need to pass the spans across rpc calls. The other is to use the other exporters such as zipkin or jaeger to show the tracing data with a more beautyful picture, and this should also be well documented in our ref guide to tell users how to make use the tracing data.

Does the global trace just keep accumulating or does it start dropping traces after a while or size? Do you know? Thanks.
It will just a noop

Without depending on opentelemetry-sdk, the tracer is just a noop which does nothing. With opentelemetry-sdk, it depends on the Sampler.

https://github.com/open-telemetry/opentelemetry-java/blob/master/sdk/trace/src/main/java/io/opentelemetry/sdk/trace/samplers/Sampler.java

AlwaysOn, AlwaysOff, RatioBased.

It will then pass the spans to a SpanProcessor, and then to a SpanExporter.

https://github.com/open-telemetry/opentelemetry-java/blob/master/sdk/trace/src/main/java/io/opentelemetry/sdk/trace/SpanProcessor.java

https://github.com/open-telemetry/opentelemetry-java/blob/master/sdk/trace/src/main/java/io/opentelemetry/sdk/trace/export/SpanExporter.java

Then you need to depend on different SpanExporters to actually export the spans to backend tracing system.
See this section on the exporters currently supported.

https://github.com/open-telemetry/opentelemetry-java/blob/master/QUICKSTART.md#exporter

Tracing is a big picture. Hope this could make you understand better. Feel free to ask other questions. I'm new to this area and still need to learn a lot of things.

Thanks.

@Apache-HBase
Copy link
Copy Markdown

🎊 +1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 47s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 1s No case conflicting files found.
+1 💚 hbaseanti 0m 0s Patch does not have any anti-patterns.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
_ master Compile Tests _
+0 🆗 mvndep 0m 45s Maven dependency ordering for branch
+1 💚 mvninstall 3m 46s master passed
+1 💚 checkstyle 2m 13s master passed
+1 💚 spotbugs 19m 20s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 20s Maven dependency ordering for patch
+1 💚 mvninstall 3m 32s the patch passed
+1 💚 checkstyle 2m 6s root: The patch generated 0 new + 563 unchanged - 23 fixed = 563 total (was 586)
-0 ⚠️ rubocop 0m 5s The patch generated 4 new + 3 unchanged - 8 fixed = 7 total (was 11)
+1 💚 whitespace 0m 0s The patch has no whitespace issues.
+1 💚 xml 0m 16s The patch has no ill-formed XML file.
+1 💚 hadoopcheck 18m 19s Patch does not cause any errors with Hadoop 3.1.2 3.2.1 3.3.0.
+1 💚 spotbugs 22m 30s the patch passed
_ Other Tests _
+1 💚 asflicense 2m 44s The patch does not generate ASF License warnings.
87m 25s
Subsystem Report/Notes
Docker ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2748/5/artifact/yetus-general-check/output/Dockerfile
GITHUB PR #2748
Optional Tests dupname asflicense spotbugs hadoopcheck hbaseanti checkstyle xml rubocop
uname Linux 7191018aa2ad 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/hbase-personality.sh
git revision master / d50816f
rubocop https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2748/5/artifact/yetus-general-check/output/diff-patch-rubocop.txt
Max. process+thread count 138 (vs. ulimit of 30000)
modules C: hbase-protocol-shaded hbase-common hbase-client hbase-zookeeper hbase-asyncfs hbase-server hbase-mapreduce hbase-shell hbase-it hbase-shaded hbase-shaded/hbase-shaded-client hbase-external-blockcache hbase-shaded/hbase-shaded-testing-util . U: .
Console output https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2748/5/console
versions git=2.17.1 maven=3.6.3 spotbugs=3.1.12 rubocop=0.80.0
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link
Copy Markdown

🎊 +1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 30s Docker mode activated.
-0 ⚠️ yetus 0m 3s Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗 mvndep 0m 31s Maven dependency ordering for branch
+1 💚 mvninstall 4m 1s master passed
+1 💚 compile 2m 48s master passed
+1 💚 shadedjars 6m 44s branch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 6m 36s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 19s Maven dependency ordering for patch
+1 💚 mvninstall 4m 2s the patch passed
+1 💚 compile 2m 49s the patch passed
+1 💚 javac 2m 49s the patch passed
+1 💚 shadedjars 6m 55s patch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 7m 8s the patch passed
_ Other Tests _
+1 💚 unit 171m 50s root in the patch passed.
219m 28s
Subsystem Report/Notes
Docker ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2748/5/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile
GITHUB PR #2748
Optional Tests javac javadoc unit shadedjars compile
uname Linux 3b5c2f9ecbb0 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/hbase-personality.sh
git revision master / d50816f
Default Java AdoptOpenJDK-11.0.6+10
Test Results https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2748/5/testReport/
Max. process+thread count 6367 (vs. ulimit of 30000)
modules C: hbase-protocol-shaded hbase-common hbase-client hbase-zookeeper hbase-asyncfs hbase-server hbase-mapreduce hbase-shell hbase-it hbase-shaded hbase-shaded/hbase-shaded-client hbase-external-blockcache hbase-shaded/hbase-shaded-testing-util . U: .
Console output https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2748/5/console
versions git=2.17.1 maven=3.6.3
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache9
Copy link
Copy Markdown
Contributor Author

Apache9 commented Dec 15, 2020

Any other concerns? @saintstack

Thanks.

@saintstack
Copy link
Copy Markdown
Contributor

I don't seem to be able to find the "In-Memory Exporter: keeps the data in memory, useful for debugging." in the OTel codebase (need to look harder I suppose) Hopefully its a circular buffer. Could do basic dump into a jsp page of most recent traces. Without some sort of visualization, its hard to know what we are capturing.

Can figure this out later.

For sure all aboard for OTel? We are decided? Hadoop is going that way too? If so, +1.

@Apache9
Copy link
Copy Markdown
Contributor Author

Apache9 commented Dec 16, 2020

I don't seem to be able to find the "In-Memory Exporter: keeps the data in memory, useful for debugging." in the OTel codebase (need to look harder I suppose) Hopefully its a circular buffer. Could do basic dump into a jsp page of most recent traces. Without some sort of visualization, its hard to know what we are capturing.

It has been moved to sdk-testing

https://github.com/open-telemetry/opentelemetry-java/blob/master/sdk/testing/src/main/java/io/opentelemetry/sdk/testing/exporter/InMemorySpanExporter.java

So I think the intenion here is to not use it in production, only when testing. We could write our own implementation of SpanExporter to receive and show it on our web page but I still think it will be better to just use an external service to process the trace data. There are already lots of tracing systems in the world, in ASF we have two, zipkin and skywalking, so for me I'm not in favor of implementing a tracing page by our own, but anyway I'm not going to stop others if they want to :)

Can figure this out later.

Yes, as said in the past, we could do this in parallel when implementing tracing in HBase code. It is all about how to export the tracing data.

For sure all aboard for OTel? We are decided? Hadoop is going that way too? If so, +1.

For me, as long as OpenTelemetry could connect with different tracing systems, and is the succesor of OpenTracing, I do not see any other choice, unless we want to tie with a specific tracing system, i.e, zipkin, jaeger, or skywalking.

And for Hadoop, @jojochuang has opened several issues to use OpenTracing instead of HTrace, at the same time when he opened issues in HBase. And there is no progress for a while recently, I think we could talk to him to see if hadoop could also switch to use OpenTelemetry instead.

Hope this could solve your concern. Thanks.

@saintstack
Copy link
Copy Markdown
Contributor

We have to remove htrace. A noop OTel seems fine replacement. At least if no uptake, it doesn't get in the way. +1

@Apache9
Copy link
Copy Markdown
Contributor Author

Apache9 commented Dec 16, 2020

Thank you. Let me create a feature branch to land this change.

@Apache9 Apache9 closed this Jan 7, 2021
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.

3 participants