Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-6327

IllegalArgumentException in RocksDB when RocksDBException being generated

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0.0
    • Fix Version/s: 2.1.0
    • Component/s: streams
    • Labels:
      None

      Description

      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 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:

      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)
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              nyokodo Anthony May
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: