[
https://issues.apache.org/jira/browse/KAFKA-6327?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Guozhang Wang resolved KAFKA-6327.
----------------------------------
Resolution: Fixed
Fix Version/s: 2.1.0
> IllegalArgumentException in RocksDB when RocksDBException being generated
> -------------------------------------------------------------------------
>
> Key: KAFKA-6327
> URL: https://issues.apache.org/jira/browse/KAFKA-6327
> Project: Kafka
> Issue Type: Bug
> Components: streams
> Affects Versions: 1.0.0
> Reporter: Anthony May
> Priority: Minor
> Fix For: 2.1.0
>
>
> RocksDB had a bug where RocksDBException subCodes related to disk usage were
> not present and when a RocksDBException is generated for those it throws an
> IllegalArgumentException instead obscuring the error. This is
> [fixed|https://github.com/facebook/rocksdb/pull/3050] in RocksDB master but
> doesn't appear to have been released yet. Adding this issue so that it can be
> tracked for a future release.
> Exception:
> {noformat}
> java.lang.IllegalArgumentException: Illegal value provided for SubCode.
> at org.rocksdb.Status$SubCode.getSubCode(Status.java:109)
> at org.rocksdb.Status.<init>(Status.java:30)
> at org.rocksdb.RocksDB.write0(Native Method)
> at org.rocksdb.RocksDB.write(RocksDB.java:602)
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)