aswinshakil commented on PR #4571:
URL: https://github.com/apache/ozone/pull/4571#issuecomment-1561683967
@smengcl and @hemantk-12 for pointing out, I have fixed it. The tests
doesn't look like it's failing on this bug. I checked the log and it is failing
on checkpoint creation.
```
2023-05-23 19:10:33,535 [OMDoubleBufferFlushThread] ERROR
db.RDBCheckpointManager (RDBCheckpointManager.java:createCheckpoint(101)) -
Unable to create RocksDB Snapshot.
java.io.IOException:
org.apache.hadoop.hdds.utils.db.RocksDatabase$RocksCheckpoint@36eabcd1: Failed
to createCheckpoint
/home/runner/work/ozone/ozone/hadoop-ozone/integration-test/target/test-dir/MiniOzoneClusterImpl-f735872c-86ff-4001-aead-24a4ea2dd355/ozone-meta/db.snapshots/checkpointState/om.db-c9c89178-1f5c-4a38-981e-7730888542d5;
status : InvalidArgument; message : Directory exists
at
org.apache.hadoop.hdds.utils.HddsServerUtil.toIOException(HddsServerUtil.java:588)
at
org.apache.hadoop.hdds.utils.db.RocksDatabase.toIOException(RocksDatabase.java:88)
at
org.apache.hadoop.hdds.utils.db.RocksDatabase$RocksCheckpoint.createCheckpoint(RocksDatabase.java:239)
at
org.apache.hadoop.hdds.utils.db.RDBCheckpointManager.createCheckpoint(RDBCheckpointManager.java:83)
at
org.apache.hadoop.hdds.utils.db.RDBStore.getSnapshot(RDBStore.java:325)
at
org.apache.hadoop.ozone.om.OmSnapshotManager.createOmSnapshotCheckpoint(OmSnapshotManager.java:392)
at
org.apache.hadoop.ozone.om.response.snapshot.OMSnapshotCreateResponse.addToDBBatch(OMSnapshotCreateResponse.java:81)
at
org.apache.hadoop.ozone.om.response.OMClientResponse.checkAndUpdateDB(OMClientResponse.java:73)
at
org.apache.hadoop.ozone.om.ratis.OzoneManagerDoubleBuffer.lambda$5(OzoneManagerDoubleBuffer.java:414)
at
org.apache.hadoop.ozone.om.ratis.OzoneManagerDoubleBuffer.addToBatchWithTrace(OzoneManagerDoubleBuffer.java:237)
at
org.apache.hadoop.ozone.om.ratis.OzoneManagerDoubleBuffer.addToBatch(OzoneManagerDoubleBuffer.java:412)
at
org.apache.hadoop.ozone.om.ratis.OzoneManagerDoubleBuffer.flushBatch(OzoneManagerDoubleBuffer.java:333)
at
org.apache.hadoop.ozone.om.ratis.OzoneManagerDoubleBuffer.flushCurrentBuffer(OzoneManagerDoubleBuffer.java:312)
at
org.apache.hadoop.ozone.om.ratis.OzoneManagerDoubleBuffer.flushTransactions(OzoneManagerDoubleBuffer.java:277)
at java.lang.Thread.run(Thread.java:750)
Caused by: org.rocksdb.RocksDBException: Directory exists
at org.rocksdb.Checkpoint.createCheckpoint(Native Method)
at org.rocksdb.Checkpoint.createCheckpoint(Checkpoint.java:51)
at
org.apache.hadoop.hdds.utils.db.RocksDatabase$RocksCheckpoint.createCheckpoint(RocksDatabase.java:236)
... 12 more
```
I'm not sure why the directory exists in the first place. Checking this out.
--
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]