You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Jeff Kim (Jira)" <ji...@apache.org> on 2021/02/01 18:41:00 UTC

[jira] [Created] (KAFKA-12264) JMH BaseRecordBatchBenchmark ZSTD error

Jeff Kim created KAFKA-12264:
--------------------------------

             Summary: JMH BaseRecordBatchBenchmark ZSTD error
                 Key: KAFKA-12264
                 URL: https://issues.apache.org/jira/browse/KAFKA-12264
             Project: Kafka
          Issue Type: Bug
            Reporter: Jeff Kim
            Assignee: Jeff Kim


Classes that extend BaseRecordBatchBenchmark cannot run with (compression type = ZSTD, magic number = 1). The classes are the following:



CompressedRecordBatchValidationBenchmark
RecordBatchIterationBenchmark

Error shows:
[2021-01-26T01:05:11.229Z] # Run progress: 10.03% complete, ETA 1 days, 03:39:45
[2021-01-26T01:05:11.229Z] # Fork: 1 of 1
[2021-01-26T01:05:11.229Z] # Warmup Iteration   1: <failure>
[2021-01-26T01:05:11.229Z] 
[2021-01-26T01:05:11.229Z] java.lang.IllegalArgumentException: ZStandard compression is not supported for magic 1
 

Proposal is to move all fields and methods from BaseRecordBatchBenchmark to individual subclasses. This will increase make each subclass more verbose. This is required as compression type cannot be passed from subclass to parent class.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)