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

   ## What changes were proposed in this pull request?
   
   Workaround for 
[SUREFIRE-1815](https://issues.apache.org/jira/browse/SUREFIRE-1815), which 
affects 3.0.0-M5, by downgrading to M4.  Cannot upgrade to M6 or newer, because 
forks are not killed correctly 
([SUREFIRE-1722](https://issues.apache.org/jira/browse/SUREFIRE-1722), 
HDDS-10174) as of 3.2.5.
   
   SUREFIRE-1815 causes e.g. intermittent fork timeout due to not being able to 
interrupt e.g. container scanner thread:
   
   ```
   "main" 
      java.lang.Thread.State: WAITING
           at java.lang.Object.wait(Native Method)
           at java.lang.Thread.join(Thread.java:1257)
           at java.lang.Thread.join(Thread.java:1331)
           at 
org.apache.hadoop.ozone.container.ozoneimpl.AbstractBackgroundContainerScanner.shutdown(AbstractBackgroundContainerScanner.java:149)
           at 
org.apache.hadoop.ozone.container.ozoneimpl.BackgroundContainerDataScanner.shutdown(BackgroundContainerDataScanner.java:143)
           at 
org.apache.hadoop.ozone.container.ozoneimpl.BackgroundContainerDataScanner.shutdown(BackgroundContainerDataScanner.java:135)
           at 
org.apache.hadoop.ozone.container.ozoneimpl.OzoneContainer.stopContainerScrub(OzoneContainer.java:406)
           at 
org.apache.hadoop.ozone.container.ozoneimpl.OzoneContainer.stop(OzoneContainer.java:482)
           at 
org.apache.hadoop.ozone.container.common.statemachine.DatanodeStateMachine.close(DatanodeStateMachine.java:447)
           at 
org.apache.hadoop.ozone.container.upgrade.TestDatanodeUpgradeToSchemaV3.teardown(TestDatanodeUpgradeToSchemaV3.java:124)
   
   
"ContainerDataScanner(/tmp/junit2150526860730266625/7d8911bf-6e2c-4707-8262-2995b687ba41/hdds)"
 
      java.lang.Thread.State: TIMED_WAITING
           at java.lang.Thread.sleep(Native Method)
           at 
org.apache.hadoop.ozone.container.ozoneimpl.AbstractBackgroundContainerScanner.handleRemainingSleep(AbstractBackgroundContainerScanner.java:131)
           at 
org.apache.hadoop.ozone.container.ozoneimpl.AbstractBackgroundContainerScanner.runIteration(AbstractBackgroundContainerScanner.java:98)
           at 
org.apache.hadoop.ozone.container.ozoneimpl.AbstractBackgroundContainerScanner.run(AbstractBackgroundContainerScanner.java:57)
   ```
   
   https://issues.apache.org/jira/browse/HDDS-10552
   
   ## How was this patch tested?
   
   Already verified that M4 correctly kills forks when needed (#6075).
   
   Regular CI:
   https://github.com/adoroszlai/ozone/actions/runs/8341980137
   
   Flaky test check:
   https://github.com/adoroszlai/ozone/actions/runs/8342506669 (unit)
   https://github.com/adoroszlai/ozone/actions/runs/8342512159 (integration)


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to