You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Attila Doroszlai (Jira)" <ji...@apache.org> on 2022/10/19 07:47:00 UTC

[jira] [Resolved] (HDDS-7179) TestOMRatisSnapshots#testInstallCorruptedCheckpointFailure fails with Ratis 2.4.0 (RC)

     [ https://issues.apache.org/jira/browse/HDDS-7179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Attila Doroszlai resolved HDDS-7179.
------------------------------------
    Resolution: Fixed

> TestOMRatisSnapshots#testInstallCorruptedCheckpointFailure fails with Ratis 2.4.0 (RC)
> --------------------------------------------------------------------------------------
>
>                 Key: HDDS-7179
>                 URL: https://issues.apache.org/jira/browse/HDDS-7179
>             Project: Apache Ozone
>          Issue Type: Bug
>          Components: Ozone Manager, test
>    Affects Versions: 1.3.0
>            Reporter: Attila Doroszlai
>            Priority: Major
>
> After upgrade to Ratis 2.4.0 (rc0 with additional fixes RATIS-1687, RATIS-1691), {{TestOMRatisSnapshots#testInstallCorruptedCheckpointFailure}} is failing with:
> {code}
> [ERROR] org.apache.hadoop.ozone.om.TestOMRatisSnapshots.testInstallCorruptedCheckpointFailure  Time elapsed: 57.169 s  <<< ERROR!
> java.lang.IllegalStateException: ILLEGAL TRANSITION: In OzoneManagerStateMachine, NEW -> PAUSING
> 	at org.apache.ratis.util.Preconditions.assertTrue(Preconditions.java:60)
> 	at org.apache.ratis.util.LifeCycle$State.validate(LifeCycle.java:121)
> 	at org.apache.ratis.util.LifeCycle.transition(LifeCycle.java:164)
> 	at org.apache.hadoop.ozone.om.ratis.OzoneManagerStateMachine.pause(OzoneManagerStateMachine.java:394)
> 	at org.apache.hadoop.ozone.om.OzoneManager.installCheckpoint(OzoneManager.java:3665)
> 	at org.apache.hadoop.ozone.om.TestOMRatisSnapshots.testInstallCorruptedCheckpointFailure(TestOMRatisSnapshots.java:527)
> {code}



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

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