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

Tsz-wo Sze commented on HDDS-11009:
-----------------------------------

Somehow the OutOfMemoryError stack trace was not printed by the log.  Let's add 
the following and retry.
{code}
+++ b/ratis-common/src/main/java/org/apache/ratis/util/ExitUtils.java
@@ -131,6 +131,7 @@ public interface ExitUtils {
         log.info(s, throwable);
       } else {
         log.error(s, throwable);
+        throwable.printStackTrace(System.err);
       }
     }
{code}


> OutOfMemoryError in TestRandomKeyGenerator with Ratis 3.1.0 rc1
> ---------------------------------------------------------------
>
>                 Key: HDDS-11009
>                 URL: https://issues.apache.org/jira/browse/HDDS-11009
>             Project: Apache Ozone
>          Issue Type: Bug
>            Reporter: Attila Doroszlai
>            Priority: Major
>
> {{TestRandomKeyGenerator}} is failing with {{OutOfMemoryError}} when running 
> Ozone CI with Ratis 3.1.0 rc1 ([runs 
> 1-4|https://github.com/adoroszlai/ozone/actions/runs/9479020635], [run 
> 5|https://github.com/adoroszlai/ozone/actions/runs/9494919684/job/26166730012]).
> However, it 
> [passed|https://github.com/adoroszlai/ozone/actions/runs/9485698062] 100x in 
> {{flaky-test-check}} building {{ratis-3.1.0-rc1}} from source.
> Also passes locally.
> CC [~szetszwo]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to