You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "adoroszlai (via GitHub)" <gi...@apache.org> on 2023/06/01 07:22:22 UTC

[GitHub] [ozone] adoroszlai opened a new pull request, #4814: HDDS-8731. Standardize JVM pause monitor

adoroszlai opened a new pull request, #4814:
URL: https://github.com/apache/ozone/pull/4814

   ## What changes were proposed in this pull request?
   
    * Replace Hadoop's `JvmPauseMonitor` with the one from Ratis in OM and SCM for non-HA.  (With HA, Ratis automatically starts `JvmPauseMonitor`.)
    * Remove Hadoop's `JvmPauseMonitor` from datanode (which also has the one from Ratis).
    * Add `JvmPauseMonitor` in Recon and S3 Gateway.
    * HttpFS is unchanged, as it uses `JvmPauseMonitor` with the Hadoop metrics.
   
   https://issues.apache.org/jira/browse/HDDS-8731
   
   ## How was this patch tested?
   
   Temporarily changed config in `ozone` compose environment to disable Ratis in OM and SCM:
   
   ```
   OZONE-SITE.XML_ozone.scm.ratis.enable=false
   OZONE-SITE.XML_ozone.om.ratis.enable=false
   ```
   
   Checked logs for `JvmPauseMonitor` output:
   
   ```
   scm_1       | 2023-06-01 07:08:27,260 [JvmPauseMonitor0] INFO util.JvmPauseMonitor: JvmPauseMonitor-53e975e9-f056-4c13-9ed0-1fd833e12de6: Started
   om_1        | 2023-06-01 07:08:30,457 [JvmPauseMonitor0] INFO util.JvmPauseMonitor: JvmPauseMonitor-c730746b-bff5-4eea-957d-89884f969a83: Started
   ```
   
   Also checked CI logs:
   
   ```
   datanode1_1  | 2023-05-31 22:22:14,358 [JvmPauseMonitor0] INFO util.JvmPauseMonitor: JvmPauseMonitor-dc62510b-f2bc-4027-bd54-e7557a46c04a: Started
   datanode2_1  | 2023-05-31 22:22:14,304 [JvmPauseMonitor0] INFO util.JvmPauseMonitor: JvmPauseMonitor-5cb115c7-a534-4766-9c3c-8510d546970e: Started
   datanode3_1  | 2023-05-31 22:22:15,788 [JvmPauseMonitor0] INFO util.JvmPauseMonitor: JvmPauseMonitor-176213ad-6890-4137-9d56-17155c09848f: Started
   om1_1        | 2023-05-31 22:22:46,857 [JvmPauseMonitor0] INFO util.JvmPauseMonitor: JvmPauseMonitor-om1: Started
   om2_1        | 2023-05-31 22:22:50,709 [JvmPauseMonitor0] INFO util.JvmPauseMonitor: JvmPauseMonitor-om2: Started
   om3_1        | 2023-05-31 22:22:48,214 [JvmPauseMonitor0] INFO util.JvmPauseMonitor: JvmPauseMonitor-om3: Started
   recon_1      | 2023-05-31 22:24:14,844 [JvmPauseMonitor0] INFO util.JvmPauseMonitor: JvmPauseMonitor-Recon: Started
   s3g_1        | 2023-05-31 22:19:53,994 [JvmPauseMonitor0] INFO util.JvmPauseMonitor: JvmPauseMonitor-S3G: Started
   scm1.org_1   | 2023-05-31 22:20:17,957 [JvmPauseMonitor0] INFO util.JvmPauseMonitor: JvmPauseMonitor-a7441ac5-6d0b-4791-9e02-202ed584e3d8: Started
   scm2.org_1   | 2023-05-31 22:20:43,301 [JvmPauseMonitor0] INFO util.JvmPauseMonitor: JvmPauseMonitor-cb18fbfd-00b6-40c5-968d-4c8c6c3a5f5d: Started
   scm3.org_1   | 2023-05-31 22:21:04,495 [JvmPauseMonitor0] INFO util.JvmPauseMonitor: JvmPauseMonitor-ba411f21-f2be-4770-b0a7-a86d665290e3: Started
   ```
   
   And logs of an HA integration test:
   
   ```
   [JvmPauseMonitor0] INFO  util.JvmPauseMonitor (JvmPauseMonitor.java:run(103)) - JvmPauseMonitor-2cfafcb0-6fb7-4429-af27-d12c9cdc3486: Started
   [JvmPauseMonitor0] INFO  util.JvmPauseMonitor (JvmPauseMonitor.java:run(109)) - JvmPauseMonitor-2cfafcb0-6fb7-4429-af27-d12c9cdc3486: Stopped
   [JvmPauseMonitor1] INFO  util.JvmPauseMonitor (JvmPauseMonitor.java:run(103)) - JvmPauseMonitor-2cfafcb0-6fb7-4429-af27-d12c9cdc3486: Started
   [JvmPauseMonitor2] INFO  util.JvmPauseMonitor (JvmPauseMonitor.java:run(103)) - JvmPauseMonitor-b8291a7d-1d53-46e7-80d1-9121a46e1600: Started
   [JvmPauseMonitor3] INFO  util.JvmPauseMonitor (JvmPauseMonitor.java:run(103)) - JvmPauseMonitor-80f6a8ef-98cf-4f0b-b878-538ca6967471: Started
   [JvmPauseMonitor4] INFO  util.JvmPauseMonitor (JvmPauseMonitor.java:run(103)) - JvmPauseMonitor-omNode-1: Started
   [JvmPauseMonitor5] INFO  util.JvmPauseMonitor (JvmPauseMonitor.java:run(103)) - JvmPauseMonitor-omNode-2: Started
   [JvmPauseMonitor6] INFO  util.JvmPauseMonitor (JvmPauseMonitor.java:run(103)) - JvmPauseMonitor-omNode-3: Started
   [JvmPauseMonitor7] INFO  util.JvmPauseMonitor (JvmPauseMonitor.java:run(103)) - JvmPauseMonitor-2ecd1af4-338e-44cb-927e-9eb5b664ac82: Started
   [JvmPauseMonitor8] INFO  util.JvmPauseMonitor (JvmPauseMonitor.java:run(103)) - JvmPauseMonitor-075e4d60-eed2-4150-bea0-bb71654ce811: Started
   [JvmPauseMonitor9] INFO  util.JvmPauseMonitor (JvmPauseMonitor.java:run(103)) - JvmPauseMonitor-d2a35d79-ca96-4007-8985-041b914415db: Started
   [JvmPauseMonitor6] INFO  util.JvmPauseMonitor (JvmPauseMonitor.java:run(109)) - JvmPauseMonitor-omNode-3: Stopped
   [JvmPauseMonitor4] INFO  util.JvmPauseMonitor (JvmPauseMonitor.java:run(109)) - JvmPauseMonitor-omNode-1: Stopped
   [JvmPauseMonitor5] INFO  util.JvmPauseMonitor (JvmPauseMonitor.java:run(109)) - JvmPauseMonitor-omNode-2: Stopped
   [JvmPauseMonitor2] INFO  util.JvmPauseMonitor (JvmPauseMonitor.java:run(109)) - JvmPauseMonitor-b8291a7d-1d53-46e7-80d1-9121a46e1600: Stopped
   [JvmPauseMonitor3] INFO  util.JvmPauseMonitor (JvmPauseMonitor.java:run(109)) - JvmPauseMonitor-80f6a8ef-98cf-4f0b-b878-538ca6967471: Stopped
   [JvmPauseMonitor1] INFO  util.JvmPauseMonitor (JvmPauseMonitor.java:run(109)) - JvmPauseMonitor-2cfafcb0-6fb7-4429-af27-d12c9cdc3486: Stopped
   [JvmPauseMonitor9] INFO  util.JvmPauseMonitor (JvmPauseMonitor.java:run(109)) - JvmPauseMonitor-d2a35d79-ca96-4007-8985-041b914415db: Stopped
   [JvmPauseMonitor7] INFO  util.JvmPauseMonitor (JvmPauseMonitor.java:run(109)) - JvmPauseMonitor-2ecd1af4-338e-44cb-927e-9eb5b664ac82: Stopped
   [JvmPauseMonitor8] INFO  util.JvmPauseMonitor (JvmPauseMonitor.java:run(109)) - JvmPauseMonitor-075e4d60-eed2-4150-bea0-bb71654ce811: Stopped
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org


[GitHub] [ozone] adoroszlai merged pull request #4814: HDDS-8731. Standardize JVM pause monitor

Posted by "adoroszlai (via GitHub)" <gi...@apache.org>.
adoroszlai merged PR #4814:
URL: https://github.com/apache/ozone/pull/4814


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org