You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/06/24 05:50:00 UTC
[jira] [Updated] (HDDS-6934) OM crashed with OzoneManagerDoubleBuffer
[ https://issues.apache.org/jira/browse/HDDS-6934?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated HDDS-6934:
---------------------------------
Labels: pull-request-available (was: )
> OM crashed with OzoneManagerDoubleBuffer
> ----------------------------------------
>
> Key: HDDS-6934
> URL: https://issues.apache.org/jira/browse/HDDS-6934
> Project: Apache Ozone
> Issue Type: Bug
> Components: Ozone Filesystem
> Affects Versions: 1.3.0
> Reporter: Soumitra Sulav
> Priority: Critical
> Labels: pull-request-available
>
> Steps followed while we encounter this issue.
> * A test bucket was created with {{FILE_SYSTEM_OPTIMIZED}} as the layout type.
> {{ofs://ozone1/prefix94441/layout97486/}}
> * Multiple keys and directories where created in this bucket (1000+).
> * ListStatus operation was done to verify the sorted list.
> * Once validated the bucket was recursively deleted using FS api.
> {code:java}
> RUNNING: /opt/cloudera/parcels/CDH/bin/ozone fs -rm -r -skipTrash 'ofs://ozone1/prefix94441/layout97486/'
> Deleted ofs://ozone1/prefix94441/layout97486
> Exit Code: 0
> {code}
> Post above operation we see OzoneManagerDoubleBuffer exception as below stacktrace
> {code:java}
> 2022-06-22 11:53:30,907 ERROR org.apache.hadoop.ozone.om.ratis.OzoneManagerDoubleBuffer: Terminating with exit status 2: OMDoubleBuffer flush thread OMDoubleBufferFlushThread encountered Throwable error
> java.lang.NullPointerException
> at org.apache.hadoop.ozone.om.OmMetadataManagerImpl.getBucketId(OmMetadataManagerImpl.java:1482)
> at org.apache.hadoop.ozone.om.response.key.OMKeysDeleteResponseWithFSO.addToDBBatch(OMKeysDeleteResponseWithFSO.java:67)
> at org.apache.hadoop.ozone.om.response.key.OMKeysDeleteResponse.checkAndUpdateDB(OMKeysDeleteResponse.java:70)
> at org.apache.hadoop.ozone.om.ratis.OzoneManagerDoubleBuffer.lambda$2(OzoneManagerDoubleBuffer.java:283)
> at org.apache.hadoop.ozone.om.ratis.OzoneManagerDoubleBuffer.addToBatchWithTrace(OzoneManagerDoubleBuffer.java:228)
> at org.apache.hadoop.ozone.om.ratis.OzoneManagerDoubleBuffer.lambda$1(OzoneManagerDoubleBuffer.java:281)
> at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133)
> at org.apache.hadoop.ozone.om.ratis.OzoneManagerDoubleBuffer.flushTransactions(OzoneManagerDoubleBuffer.java:277)
> at java.base/java.lang.Thread.run(Thread.java:834){code}
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org