You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2023/01/04 09:30:47 UTC

[GitHub] [ozone] symious commented on pull request #4075: HDDS-7630. Show detailed OMResponse when OzoneManagerDoubleBuffer terminates

symious commented on PR #4075:
URL: https://github.com/apache/ozone/pull/4075#issuecomment-1370683862

   ```
   2022-07-22 15:20:39,215 [OMDoubleBufferFlushThread] ERROR org.apache.hadoop.ozone.om.ratis.OzoneManagerDoubleBuffer: Terminating with exit status 2: OMDoubleBuffer flush threadOMDoubleBufferFlushThreadencountered Throwable error
   java.util.ConcurrentModificationException
           at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:909)
           at java.util.ArrayList$Itr.next(ArrayList.java:859)
           at org.apache.hadoop.ozone.om.helpers.RepeatedOmKeyInfo.getProto(RepeatedOmKeyInfo.java:70)
           at org.apache.hadoop.ozone.om.codec.RepeatedOmKeyInfoCodec.toPersistedFormat(RepeatedOmKeyInfoCodec.java:50)
           at org.apache.hadoop.ozone.om.codec.RepeatedOmKeyInfoCodec.toPersistedFormat(RepeatedOmKeyInfoCodec.java:35)
           at org.apache.hadoop.hdds.utils.db.CodecRegistry.asRawData(CodecRegistry.java:85)
           at org.apache.hadoop.hdds.utils.db.TypedTable.putWithBatch(TypedTable.java:130)
           at org.apache.hadoop.ozone.om.response.key.OMKeyCommitResponse.updateDeletedTable(OMKeyCommitResponse.java:107)
           at org.apache.hadoop.ozone.om.response.key.OMKeyCommitResponse.addToDBBatch(OMKeyCommitResponse.java:80)
           at org.apache.hadoop.ozone.om.response.OMClientResponse.checkAndUpdateDB(OMClientResponse.java:68)
           at org.apache.hadoop.ozone.om.ratis.OzoneManagerDoubleBuffer.lambda$2(OzoneManagerDoubleBuffer.java:256)
           at org.apache.hadoop.ozone.om.ratis.OzoneManagerDoubleBuffer.addToBatchWithTrace(OzoneManagerDoubleBuffer.java:201)
           at org.apache.hadoop.ozone.om.ratis.OzoneManagerDoubleBuffer.lambda$1(OzoneManagerDoubleBuffer.java:254)
           at java.util.Iterator.forEachRemaining(Iterator.java:116)
           at org.apache.hadoop.ozone.om.ratis.OzoneManagerDoubleBuffer.flushTransactions(OzoneManagerDoubleBuffer.java:250)
           at java.lang.Thread.run(Thread.java:748)
   ```
   @errose28 , I added the whole stacktrace, I think the exception is thrown in the for loop, so the omResponse can still hold the information?


-- 
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: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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