You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2021/08/26 13:51:03 UTC

[GitHub] [ozone] sodonnel opened a new pull request #2587: HDDS-5681. Speed up TestOzoneManagerHAWithACL

sodonnel opened a new pull request #2587:
URL: https://github.com/apache/ozone/pull/2587


   ## What changes were proposed in this pull request?
   
   The integration test class TestOzoneManagerHAWithACL takes about 370 seconds to run 9 tests. The vast majority of this runtime is spent setting up and destroying the mini-Clusters.
   
   These tests are self contained within a bucket, so we can use a single cluster with a new bucket for each test with a small refactor. On my laptop this change makes the tests run in 34 seconds.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-5681
   
   ## How was this patch tested?
   
   Existing tests
   


-- 
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] sodonnel merged pull request #2587: HDDS-5681. Speed up TestOzoneManagerHAWithACL

Posted by GitBox <gi...@apache.org>.
sodonnel merged pull request #2587:
URL: https://github.com/apache/ozone/pull/2587


   


-- 
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] sodonnel commented on pull request #2587: HDDS-5681. Speed up TestOzoneManagerHAWithACL

Posted by GitBox <gi...@apache.org>.
sodonnel commented on pull request #2587:
URL: https://github.com/apache/ozone/pull/2587#issuecomment-906548645


   With this change the test ran in, but the first run failed for some unrelated reason:
   
   ```
   [INFO] Running org.apache.hadoop.ozone.om.TestOzoneManagerHAWithACL
   [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 41.484 s - in org.apache.hadoop.ozone.om.TestOzoneManagerHAWithACL
   ```
   
   That is an improvement of ~ 320 seconds (5.33 minutes).


-- 
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] sodonnel commented on pull request #2587: HDDS-5681. Speed up TestOzoneManagerHAWithACL

Posted by GitBox <gi...@apache.org>.
sodonnel commented on pull request #2587:
URL: https://github.com/apache/ozone/pull/2587#issuecomment-907142261


   Thanks for the review @bharatviswa504. There are probably quite a few tests that we can do something like this to improve, but each has to be looked at individually. As you said, some stop nodes etc, meaning the cluster may not be in a good state for the next test. I have merged this one based on your review.


-- 
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