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

Krishna Kumar Asawa reassigned HDDS-11594:
------------------------------------------

    Assignee: Ashish Kumar

> OM double buffer exception in debug mode
> ----------------------------------------
>
>                 Key: HDDS-11594
>                 URL: https://issues.apache.org/jira/browse/HDDS-11594
>             Project: Apache Ozone
>          Issue Type: Bug
>            Reporter: Wei-Chiu Chuang
>            Assignee: Ashish Kumar
>            Priority: Minor
>
> When OM is in debug log level, I found the following log in the stacktrace:
> {noformat}
> 2024-10-17 17:14:16,288 WARN 
> [om27-OMDoubleBufferFlushThread]-org.apache.hadoop.hdds.utils.db.StringCodecBase:
>  Decode (hex) 0A 04 76 6F 6C 31 12 07 62 75 63 6B 65 74 31 1A 03 64 73 74 ...
>   Attempt failed : UTF-8 (see exception below)
>   Retry succeeded: decoded to
> ^Dvol1^R^Gbucket1^Z^Cdst ����^A(^A0^C:^@^R^^
> ^P
> ^L^H^A^P�������^A^P^@^X^@ ����^A(^@H^@ ^@@��ݿ�2HϦ�۩2P^@j^M^H^A^R^Droot^Z^A� 
> ^@j^M^H^B^R^Droot^Z^A� ^@p���������^Ax�R�^A���������^A�^A^A�^A^Droot
> java.nio.charset.MalformedInputException: Input length = 1
>         at java.nio.charset.CoderResult.throwException(CoderResult.java:281)
>         at java.nio.charset.CharsetDecoder.decode(CharsetDecoder.java:816)
>         at 
> org.apache.hadoop.hdds.utils.db.StringCodecBase.decode(StringCodecBase.java:116)
>         at 
> org.apache.hadoop.hdds.utils.db.RocksDatabase.bytes2String(RocksDatabase.java:93)
>         at 
> org.apache.hadoop.hdds.utils.db.RocksDatabase$ColumnFamily.batchPut(RocksDatabase.java:309)
>         at 
> org.apache.hadoop.hdds.utils.db.RDBBatchOperation$OpCache$FamilyCache.prepareBatchWrite(RDBBatchOperation.java:159)
>         at 
> org.apache.hadoop.hdds.utils.db.RDBBatchOperation$OpCache.prepareBatchWrite(RDBBatchOperation.java:288)
>         at 
> org.apache.hadoop.hdds.utils.db.RDBBatchOperation.commit(RDBBatchOperation.java:347)
>         at 
> org.apache.hadoop.hdds.utils.db.RDBStore.commitBatchOperation(RDBStore.java:285)
>         at 
> org.apache.hadoop.ozone.om.ratis.OzoneManagerDoubleBuffer.lambda$4(OzoneManagerDoubleBuffer.java:368)
>         at 
> org.apache.hadoop.ozone.om.ratis.OzoneManagerDoubleBuffer.flushBatchWithTrace(OzoneManagerDoubleBuffer.java:268)
>         at 
> org.apache.hadoop.ozone.om.ratis.OzoneManagerDoubleBuffer.flushBatch(OzoneManagerDoubleBuffer.java:366)
>         at 
> org.apache.hadoop.ozone.om.ratis.OzoneManagerDoubleBuffer.flushCurrentBuffer(OzoneManagerDoubleBuffer.java:329)
>         at 
> org.apache.hadoop.ozone.om.ratis.OzoneManagerDoubleBuffer.flushTransactions(OzoneManagerDoubleBuffer.java:296)
>         at java.lang.Thread.run(Thread.java:748) {noformat}
> It just prints a scary warning but the exception is caught and proceed. So 
> it's okay.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to