Gargi-jais11 commented on PR #9318:
URL: https://github.com/apache/ozone/pull/9318#issuecomment-3649585311

   > Thanks @sreejasahithi for updating the patch. SCM now comes out of safe 
mode, but OM failed to start during upgrade:
   > 
   > ```
   > 2025-12-12 05:22:21,319 [main] WARN server.ServerUtils: Storage directory 
for Ratis is not configured. It is a good idea to map this to an SSD disk. 
Falling back to ozone.metadata.dirs
   > 2025-12-12 05:22:21,321 [main] INFO server.ServerUtils: Found existing 
Ratis directory at old shared location: /data/metadata/ratis. Using it for 
backward compatibility during upgrade.
   > 2025-12-12 05:22:21,322 [main] WARN server.ServerUtils: Storage directory 
for Ratis is not configured. It is a good idea to map this to an SSD disk. 
Falling back to ozone.metadata.dirs
   > 2025-12-12 05:22:21,323 [main] INFO server.ServerUtils: Found existing 
Ratis directory at old shared location: /data/metadata/ratis. Using it for 
backward compatibility during upgrade.
   > 2025-12-12 05:22:21,323 [main] ERROR om.OzoneManagerStarter: Cancelling 
prepare to start OM in upgrade mode failed with exception
   > java.io.IOException: Path of ozone.om.ratis.storage.dir and 
ozone.scm.ha.ratis.storage.dir should not be co located. Please change at least 
one path.
   >    at 
org.apache.hadoop.ozone.om.OzoneManager.initializeRatisDirs(OzoneManager.java:1614)
   >    at org.apache.hadoop.ozone.om.OzoneManager.<init>(OzoneManager.java:701)
   >    at 
org.apache.hadoop.ozone.om.OzoneManager.createOm(OzoneManager.java:884)
   >    at 
org.apache.hadoop.ozone.om.OzoneManagerStarter$OMStarterHelper.startAndCancelPrepare(OzoneManagerStarter.java:231)
   >    at 
org.apache.hadoop.ozone.om.OzoneManagerStarter.startOmUpgrade(OzoneManagerStarter.java:120)
   > ```
   > 
   > https://github.com/Gargi-jais11/ozone/actions/runs/20156785230
   
   Thanks @adoroszlai for pointing out at this log message. It helped a lot in 
debugging the issue.


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