[ 
https://issues.apache.org/jira/browse/HADOOP-20092?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18148173#comment-18148173
 ] 

ASF GitHub Bot commented on HADOOP-20092:
-----------------------------------------

hadoop-yetus commented on PR #9016:
URL: https://github.com/apache/hadoop/pull/9016#issuecomment-7040613979

   :confetti_ball: **+1 overall**
   
   
   
   
   
   
   | Vote | Subsystem | Runtime |  Logfile | Comment |
   |:----:|----------:|--------:|:--------:|:-------:|
   | +0 :ok: |  reexec  |   6m 47s |  |  Docker mode activated.  |
   |||| _ Prechecks _ |
   | +1 :green_heart: |  dupname  |   0m  0s |  |  No case conflicting files 
found.  |
   | +0 :ok: |  codespell  |   0m  0s |  |  codespell was not available.  |
   | +0 :ok: |  detsecrets  |   0m  0s |  |  detect-secrets was not available.  
|
   | +1 :green_heart: |  @author  |   0m  0s |  |  The patch does not contain 
any @author tags.  |
   | +1 :green_heart: |  test4tests  |   0m  0s |  |  The patch appears to 
include 1 new or modified test files.  |
   |||| _ trunk Compile Tests _ |
   | +1 :green_heart: |  mvninstall  |  28m 11s |  |  trunk passed  |
   | +1 :green_heart: |  compile  |   9m 35s |  |  trunk passed with JDK 
Ubuntu-21.0.13.1+2-1-24.04.1-Ubuntu  |
   | +1 :green_heart: |  compile  |   9m 30s |  |  trunk passed with JDK 
Ubuntu-17.0.21.1+2-1-24.04.1-Ubuntu  |
   | +1 :green_heart: |  checkstyle  |   0m 52s |  |  trunk passed  |
   | +1 :green_heart: |  mvnsite  |   1m 19s |  |  trunk passed  |
   | +1 :green_heart: |  javadoc  |   0m 51s |  |  trunk passed with JDK 
Ubuntu-21.0.13.1+2-1-24.04.1-Ubuntu  |
   | +1 :green_heart: |  javadoc  |   1m  0s |  |  trunk passed with JDK 
Ubuntu-17.0.21.1+2-1-24.04.1-Ubuntu  |
   | +1 :green_heart: |  spotbugs  |   1m 48s |  |  trunk passed  |
   | +1 :green_heart: |  shadedclient  |  17m 49s |  |  branch has no errors 
when building and testing our client artifacts.  |
   |||| _ Patch Compile Tests _ |
   | +1 :green_heart: |  mvninstall  |   0m 49s |  |  the patch passed  |
   | +1 :green_heart: |  compile  |   9m 22s |  |  the patch passed with JDK 
Ubuntu-21.0.13.1+2-1-24.04.1-Ubuntu  |
   | +1 :green_heart: |  javac  |   9m 22s |  |  the patch passed  |
   | +1 :green_heart: |  compile  |   9m 32s |  |  the patch passed with JDK 
Ubuntu-17.0.21.1+2-1-24.04.1-Ubuntu  |
   | +1 :green_heart: |  javac  |   9m 32s |  |  the patch passed  |
   | +1 :green_heart: |  blanks  |   0m  0s |  |  The patch has no blanks 
issues.  |
   | +1 :green_heart: |  checkstyle  |   0m 48s |  |  the patch passed  |
   | +1 :green_heart: |  mvnsite  |   1m 14s |  |  the patch passed  |
   | +1 :green_heart: |  javadoc  |   0m 54s |  |  the patch passed with JDK 
Ubuntu-21.0.13.1+2-1-24.04.1-Ubuntu  |
   | +1 :green_heart: |  javadoc  |   0m 51s |  |  the patch passed with JDK 
Ubuntu-17.0.21.1+2-1-24.04.1-Ubuntu  |
   | +1 :green_heart: |  spotbugs  |   2m  6s |  |  the patch passed  |
   | +1 :green_heart: |  shadedclient  |  18m 22s |  |  patch has no errors 
when building and testing our client artifacts.  |
   |||| _ Other Tests _ |
   | +1 :green_heart: |  unit  |  18m 33s |  |  hadoop-common in the patch 
passed.  |
   | +1 :green_heart: |  asflicense  |   0m 49s |  |  The patch does not 
generate ASF License warnings.  |
   |  |   | 142m 11s |  |  |
   
   
   | Subsystem | Report/Notes |
   |----------:|:-------------|
   | Docker | ClientAPI=1.57 ServerAPI=1.57 base: 
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-9016/1/artifact/out/Dockerfile
 |
   | GITHUB PR | https://github.com/apache/hadoop/pull/9016 |
   | Optional Tests | dupname asflicense compile javac javadoc mvninstall 
mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets |
   | uname | Linux 1076911b6154 5.15.0-190-generic #200-Ubuntu SMP Fri Aug 7 
15:06:04 UTC 2026 x86_64 x86_64 x86_64 GNU/Linux |
   | Build tool | maven |
   | Personality | dev-support/bin/hadoop.sh |
   | git revision | trunk / b6787b4a449de2a7d059992673ba76fdbbcab9e6 |
   | Default Java | Ubuntu-17.0.21.1+2-1-24.04.1-Ubuntu |
   | Multi-JDK versions | 
/usr/lib/jvm/java-21-openjdk-amd64:Ubuntu-21.0.13.1+2-1-24.04.1-Ubuntu 
/usr/lib/jvm/java-17-openjdk-amd64:Ubuntu-17.0.21.1+2-1-24.04.1-Ubuntu |
   |  Test Results | 
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-9016/1/testReport/ |
   | Max. process+thread count | 1279 (vs. ulimit of 10000) |
   | modules | C: hadoop-common-project/hadoop-common U: 
hadoop-common-project/hadoop-common |
   | Console output | 
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-9016/1/console |
   | versions | git=2.43.0 maven=3.9.15 spotbugs=4.9.7 |
   | Powered by | Apache Yetus 0.14.1 https://yetus.apache.org |
   
   
   This message was automatically generated.
   
   




> GcTimeMonitor and JvmPauseMonitor should skip ZGC concurrent cycle beans
> ------------------------------------------------------------------------
>
>                 Key: HADOOP-20092
>                 URL: https://issues.apache.org/jira/browse/HADOOP-20092
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: dzcxzl
>            Priority: Minor
>              Labels: pull-request-available
>
> HADOOP-19371 made JvmMetrics skip the ZGC "Cycles" GarbageCollectorMXBeans
> ("ZGC Cycles", and "ZGC Minor Cycles" / "ZGC Major Cycles" with generational
> ZGC). These beans report the duration of concurrent GC cycles, not
> stop-the-world pauses (see JDK-8265136). Only the "Pauses" beans reflect time
> the JVM was actually paused.
> Two other GC monitors in hadoop-common still add up all GC beans:
> * GcTimeMonitor sums getCollectionTime() / getCollectionCount() over every
>   bean. With ZGC, GcTimePercentage is heavily overstated. Its javadoc defines
>   it as the percentage of time the JVM is paused in GC. The NameNode uses this
>   monitor, and JvmMetrics exports the value, so overstated values can cause
>   spurious alerts.
> * JvmPauseMonitor lists per-pool GC times in its "Detected pause in JVM or 
> host
>   machine" log message. The list includes the ZGC Cycles pools, which is
>   misleading when diagnosing pauses.
> Proposed fix: move the existing check from JvmMetrics into a shared static
> method, JvmPauseMonitor#isConcurrentCycleBean, and use it in JvmMetrics (no
> behavior change), GcTimeMonitor and JvmPauseMonitor.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to