hbase icon indicating copy to clipboard operation
hbase copied to clipboard

HBASE-28220 Split the queueCallTime, processCallTime and totalCallTime according to queue type when using RWQueueRpcExecutor

Open rankocloud opened this issue 2 years ago • 10 comments

When using RWQueueRpcExecutor, in order to monitor the running status of the read and write queues separately, it is necessary to monitor the queueTime and processingTime of the request according to the queue type. In this way, the queue's queueCallTime, processCallTime and totalCallTime metrics are split according to the read and write queue types. So Add the following metrics:

  1. queueReadCallTime
  2. processReadCallTime
  3. totalReadCallTime
  4. queueWriteCallTime
  5. processWriteCallTime
  6. totalWriteCallTime
  7. queueScanCallTime
  8. processScanCallTime
  9. totalScanCallTime

These metrics are important references for subsequent modification of parameters hbase.ipc.server.callqueue.read.ratio and hbase.ipc.server.callqueue.scan.ratio.

rankocloud avatar Nov 26 '23 16:11 rankocloud

:broken_heart: -1 overall

Vote Subsystem Runtime Comment
+0 :ok: reexec 2m 26s Docker mode activated.
_ Prechecks _
+1 :green_heart: dupname 0m 0s No case conflicting files found.
+1 :green_heart: hbaseanti 0m 0s Patch does not have any anti-patterns.
+1 :green_heart: @author 0m 0s The patch does not contain any @author tags.
_ branch-2.5 Compile Tests _
+0 :ok: mvndep 0m 12s Maven dependency ordering for branch
+1 :green_heart: mvninstall 3m 7s branch-2.5 passed
+1 :green_heart: compile 3m 1s branch-2.5 passed
+1 :green_heart: checkstyle 0m 48s branch-2.5 passed
+1 :green_heart: spotless 0m 43s branch has no errors when running spotless:check.
+1 :green_heart: spotbugs 2m 4s branch-2.5 passed
_ Patch Compile Tests _
+0 :ok: mvndep 0m 16s Maven dependency ordering for patch
+1 :green_heart: mvninstall 2m 43s the patch passed
+1 :green_heart: compile 2m 58s the patch passed
+1 :green_heart: javac 2m 58s the patch passed
-0 :warning: checkstyle 0m 7s hbase-hadoop-compat: The patch generated 3 new + 0 unchanged - 0 fixed = 3 total (was 0)
-0 :warning: checkstyle 0m 7s hbase-hadoop2-compat: The patch generated 3 new + 0 unchanged - 0 fixed = 3 total (was 0)
-0 :warning: checkstyle 0m 34s hbase-server: The patch generated 2 new + 4 unchanged - 0 fixed = 6 total (was 4)
+1 :green_heart: whitespace 0m 0s The patch has no whitespace issues.
+1 :green_heart: hadoopcheck 14m 48s Patch does not cause any errors with Hadoop 2.10.2 or 3.2.4 3.3.6.
-1 :x: spotless 0m 13s patch has 62 errors when running spotless:check, run spotless:apply to fix.
+1 :green_heart: spotbugs 2m 29s the patch passed
_ Other Tests _
+1 :green_heart: asflicense 0m 23s The patch does not generate ASF License warnings.
38m 55s
Subsystem Report/Notes
Docker ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5540/1/artifact/yetus-general-check/output/Dockerfile
GITHUB PR https://github.com/apache/hbase/pull/5540
Optional Tests dupname asflicense javac spotbugs hadoopcheck hbaseanti spotless checkstyle compile
uname Linux bcd58c5a0fb8 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 branch-2.5 / ffb91fc143
Default Java Eclipse Adoptium-11.0.17+8
checkstyle https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5540/1/artifact/yetus-general-check/output/diff-checkstyle-hbase-hadoop-compat.txt
checkstyle https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5540/1/artifact/yetus-general-check/output/diff-checkstyle-hbase-hadoop2-compat.txt
checkstyle https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5540/1/artifact/yetus-general-check/output/diff-checkstyle-hbase-server.txt
spotless https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5540/1/artifact/yetus-general-check/output/patch-spotless.txt
Max. process+thread count 78 (vs. ulimit of 30000)
modules C: hbase-hadoop-compat hbase-hadoop2-compat hbase-server U: .
Console output https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5540/1/console
versions git=2.34.1 maven=3.8.6 spotbugs=4.7.3
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

Apache-HBase avatar Nov 26 '23 17:11 Apache-HBase

:broken_heart: -1 overall

Vote Subsystem Runtime Comment
+0 :ok: reexec 2m 18s Docker mode activated.
-0 :warning: yetus 0m 5s Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ branch-2.5 Compile Tests _
+0 :ok: mvndep 0m 13s Maven dependency ordering for branch
+1 :green_heart: mvninstall 2m 33s branch-2.5 passed
+1 :green_heart: compile 0m 58s branch-2.5 passed
+1 :green_heart: shadedjars 4m 58s branch has no errors when building our shaded downstream artifacts.
+1 :green_heart: javadoc 0m 42s branch-2.5 passed
_ Patch Compile Tests _
+0 :ok: mvndep 0m 11s Maven dependency ordering for patch
+1 :green_heart: mvninstall 2m 14s the patch passed
+1 :green_heart: compile 0m 59s the patch passed
+1 :green_heart: javac 0m 59s the patch passed
+1 :green_heart: shadedjars 4m 58s patch has no errors when building our shaded downstream artifacts.
+1 :green_heart: javadoc 0m 40s the patch passed
_ Other Tests _
+1 :green_heart: unit 0m 25s hbase-hadoop-compat in the patch passed.
+1 :green_heart: unit 0m 22s hbase-hadoop2-compat in the patch passed.
-1 :x: unit 17m 2s hbase-server in the patch failed.
40m 36s
Subsystem Report/Notes
Docker ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5540/1/artifact/yetus-jdk8-hadoop2-check/output/Dockerfile
GITHUB PR https://github.com/apache/hbase/pull/5540
Optional Tests javac javadoc unit shadedjars compile
uname Linux 7add8b532017 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 branch-2.5 / ffb91fc143
Default Java Temurin-1.8.0_352-b08
unit https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5540/1/artifact/yetus-jdk8-hadoop2-check/output/patch-unit-hbase-server.txt
Test Results https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5540/1/testReport/
Max. process+thread count 2042 (vs. ulimit of 30000)
modules C: hbase-hadoop-compat hbase-hadoop2-compat hbase-server U: .
Console output https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5540/1/console
versions git=2.34.1 maven=3.8.6
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

Apache-HBase avatar Nov 26 '23 17:11 Apache-HBase

:broken_heart: -1 overall

Vote Subsystem Runtime Comment
+0 :ok: reexec 3m 37s Docker mode activated.
-0 :warning: yetus 0m 6s Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ branch-2.5 Compile Tests _
+0 :ok: mvndep 0m 10s Maven dependency ordering for branch
+1 :green_heart: mvninstall 2m 44s branch-2.5 passed
+1 :green_heart: compile 1m 14s branch-2.5 passed
+1 :green_heart: shadedjars 4m 57s branch has no errors when building our shaded downstream artifacts.
+1 :green_heart: javadoc 0m 52s branch-2.5 passed
_ Patch Compile Tests _
+0 :ok: mvndep 0m 21s Maven dependency ordering for patch
+1 :green_heart: mvninstall 2m 35s the patch passed
+1 :green_heart: compile 1m 14s the patch passed
+1 :green_heart: javac 1m 14s the patch passed
+1 :green_heart: shadedjars 4m 54s patch has no errors when building our shaded downstream artifacts.
+1 :green_heart: javadoc 0m 51s the patch passed
_ Other Tests _
+1 :green_heart: unit 0m 31s hbase-hadoop-compat in the patch passed.
+1 :green_heart: unit 0m 28s hbase-hadoop2-compat in the patch passed.
-1 :x: unit 17m 37s hbase-server in the patch failed.
44m 47s
Subsystem Report/Notes
Docker ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5540/1/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile
GITHUB PR https://github.com/apache/hbase/pull/5540
Optional Tests javac javadoc unit shadedjars compile
uname Linux 9cb990a4caee 5.4.0-163-generic #180-Ubuntu SMP Tue Sep 5 13:21:23 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/hbase-personality.sh
git revision branch-2.5 / ffb91fc143
Default Java Eclipse Adoptium-11.0.17+8
unit https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5540/1/artifact/yetus-jdk11-hadoop3-check/output/patch-unit-hbase-server.txt
Test Results https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5540/1/testReport/
Max. process+thread count 1470 (vs. ulimit of 30000)
modules C: hbase-hadoop-compat hbase-hadoop2-compat hbase-server U: .
Console output https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5540/1/console
versions git=2.34.1 maven=3.8.6
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

Apache-HBase avatar Nov 26 '23 17:11 Apache-HBase

Please run spotless:apply to fix the checkstyle problem and try to fix the broken UT first ?

Thanks.

frostruan avatar Nov 27 '23 03:11 frostruan

:confetti_ball: +1 overall

Vote Subsystem Runtime Comment
+0 :ok: reexec 0m 43s Docker mode activated.
_ Prechecks _
+1 :green_heart: dupname 0m 0s No case conflicting files found.
+1 :green_heart: hbaseanti 0m 0s Patch does not have any anti-patterns.
+1 :green_heart: @author 0m 0s The patch does not contain any @author tags.
_ branch-2.5 Compile Tests _
+0 :ok: mvndep 0m 12s Maven dependency ordering for branch
+1 :green_heart: mvninstall 2m 53s branch-2.5 passed
+1 :green_heart: compile 2m 52s branch-2.5 passed
+1 :green_heart: checkstyle 0m 47s branch-2.5 passed
+1 :green_heart: spotless 0m 42s branch has no errors when running spotless:check.
+1 :green_heart: spotbugs 2m 3s branch-2.5 passed
_ Patch Compile Tests _
+0 :ok: mvndep 0m 16s Maven dependency ordering for patch
+1 :green_heart: mvninstall 2m 42s the patch passed
+1 :green_heart: compile 2m 59s the patch passed
+1 :green_heart: javac 2m 59s the patch passed
-0 :warning: checkstyle 0m 34s hbase-server: The patch generated 2 new + 4 unchanged - 0 fixed = 6 total (was 4)
+1 :green_heart: whitespace 0m 0s The patch has no whitespace issues.
+1 :green_heart: hadoopcheck 14m 53s Patch does not cause any errors with Hadoop 2.10.2 or 3.2.4 3.3.6.
+1 :green_heart: spotless 0m 42s patch has no errors when running spotless:check.
+1 :green_heart: spotbugs 2m 30s the patch passed
_ Other Tests _
+1 :green_heart: asflicense 0m 23s The patch does not generate ASF License warnings.
37m 28s
Subsystem Report/Notes
Docker ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5540/2/artifact/yetus-general-check/output/Dockerfile
GITHUB PR https://github.com/apache/hbase/pull/5540
Optional Tests dupname asflicense javac spotbugs hadoopcheck hbaseanti spotless checkstyle compile
uname Linux 4e8d8aae0ace 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 branch-2.5 / ffb91fc143
Default Java Eclipse Adoptium-11.0.17+8
checkstyle https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5540/2/artifact/yetus-general-check/output/diff-checkstyle-hbase-server.txt
Max. process+thread count 82 (vs. ulimit of 30000)
modules C: hbase-hadoop-compat hbase-hadoop2-compat hbase-server U: .
Console output https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5540/2/console
versions git=2.34.1 maven=3.8.6 spotbugs=4.7.3
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

Apache-HBase avatar Nov 27 '23 10:11 Apache-HBase

:confetti_ball: +1 overall

Vote Subsystem Runtime Comment
+0 :ok: reexec 0m 41s Docker mode activated.
-0 :warning: yetus 0m 6s Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ branch-2.5 Compile Tests _
+0 :ok: mvndep 0m 19s Maven dependency ordering for branch
+1 :green_heart: mvninstall 2m 7s branch-2.5 passed
+1 :green_heart: compile 0m 58s branch-2.5 passed
+1 :green_heart: shadedjars 4m 54s branch has no errors when building our shaded downstream artifacts.
+1 :green_heart: javadoc 0m 40s branch-2.5 passed
_ Patch Compile Tests _
+0 :ok: mvndep 0m 11s Maven dependency ordering for patch
+1 :green_heart: mvninstall 2m 14s the patch passed
+1 :green_heart: compile 0m 57s the patch passed
+1 :green_heart: javac 0m 57s the patch passed
+1 :green_heart: shadedjars 4m 54s patch has no errors when building our shaded downstream artifacts.
+1 :green_heart: javadoc 0m 40s the patch passed
_ Other Tests _
+1 :green_heart: unit 0m 24s hbase-hadoop-compat in the patch passed.
+1 :green_heart: unit 0m 22s hbase-hadoop2-compat in the patch passed.
+1 :green_heart: unit 194m 38s hbase-server in the patch passed.
218m 8s
Subsystem Report/Notes
Docker ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5540/2/artifact/yetus-jdk8-hadoop2-check/output/Dockerfile
GITHUB PR https://github.com/apache/hbase/pull/5540
Optional Tests javac javadoc unit shadedjars compile
uname Linux c3ab61e5431f 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 branch-2.5 / ffb91fc143
Default Java Temurin-1.8.0_352-b08
Test Results https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5540/2/testReport/
Max. process+thread count 4592 (vs. ulimit of 30000)
modules C: hbase-hadoop-compat hbase-hadoop2-compat hbase-server U: .
Console output https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5540/2/console
versions git=2.34.1 maven=3.8.6
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

Apache-HBase avatar Nov 27 '23 13:11 Apache-HBase

:confetti_ball: +1 overall

Vote Subsystem Runtime Comment
+0 :ok: reexec 0m 45s Docker mode activated.
-0 :warning: yetus 0m 5s Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ branch-2.5 Compile Tests _
+0 :ok: mvndep 0m 7s Maven dependency ordering for branch
+1 :green_heart: mvninstall 2m 41s branch-2.5 passed
+1 :green_heart: compile 1m 13s branch-2.5 passed
+1 :green_heart: shadedjars 4m 52s branch has no errors when building our shaded downstream artifacts.
+1 :green_heart: javadoc 0m 51s branch-2.5 passed
_ Patch Compile Tests _
+0 :ok: mvndep 0m 16s Maven dependency ordering for patch
+1 :green_heart: mvninstall 2m 37s the patch passed
+1 :green_heart: compile 1m 14s the patch passed
+1 :green_heart: javac 1m 14s the patch passed
+1 :green_heart: shadedjars 4m 53s patch has no errors when building our shaded downstream artifacts.
+1 :green_heart: javadoc 0m 50s the patch passed
_ Other Tests _
+1 :green_heart: unit 0m 31s hbase-hadoop-compat in the patch passed.
+1 :green_heart: unit 0m 28s hbase-hadoop2-compat in the patch passed.
+1 :green_heart: unit 202m 54s hbase-server in the patch passed.
229m 1s
Subsystem Report/Notes
Docker ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5540/2/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile
GITHUB PR https://github.com/apache/hbase/pull/5540
Optional Tests javac javadoc unit shadedjars compile
uname Linux bbd2f784f635 5.4.0-163-generic #180-Ubuntu SMP Tue Sep 5 13:21:23 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/hbase-personality.sh
git revision branch-2.5 / ffb91fc143
Default Java Eclipse Adoptium-11.0.17+8
Test Results https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5540/2/testReport/
Max. process+thread count 4211 (vs. ulimit of 30000)
modules C: hbase-hadoop-compat hbase-hadoop2-compat hbase-server U: .
Console output https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5540/2/console
versions git=2.34.1 maven=3.8.6
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

Apache-HBase avatar Nov 27 '23 13:11 Apache-HBase

Please run spotless:apply to fix the checkstyle problem and try to fix the broken UT first ?

Thanks.

Thank you for your attention and suggestion! I have fixed the checkstyle problem and passed all the unit tests. Thank you for your support!

rankocloud avatar Nov 27 '23 13:11 rankocloud

Please open a PR against master first? In HBase usually we will apply patches to master branch first, and then backport to other branches.

Thanks.

Apache9 avatar Nov 27 '23 14:11 Apache9

Please open a PR against master first? In HBase usually we will apply patches to master branch first, and then backport to other branches.

Thanks.

Got it, I will open a PR against the master branch soon. Thank you for your guidance.

rankocloud avatar Nov 28 '23 05:11 rankocloud