java.lang.IllegalArgumentException: requirement failed

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,

Delete the corrupted index files and on startup, Kafka server will rebuild it.

Solutions on the web

via GitHub by santoshhdandin
, 11 months ago
via Stack Overflow by Balaji Krishnan
, 8 months ago
requirement failed: The number of columns doesn't match. Old column names (1): _1 New column names (6): customer_id, sku, type, event, control_group, event_date
via apache.org by Unknown author, 2 years ago
requirement failed: Last clean offset is 54770438 but segment base offset is 382844024 log testtopic-0.
via kafka-dev by Gwen Shapira (JIRA), 1 year ago
requirement failed: Last clean offset is 587607 but segment base offset is 0 for log foo-6.
via apache.org by Unknown author, 2 years ago
requirement failed: Last clean offset is 0 but segment base offset is 2722629 for log test-0.
java.lang.IllegalArgumentException: requirement failed
at scala.Predef$.require(Predef.scala:221)
at com.linkedin.drelephant.spark.fetchers.SparkRestClient.(SparkRestClient.scala:55)
at com.linkedin.drelephant.spark.fetchers.SparkFetcher.sparkRestClient$lzycompute(SparkFetcher.scala:57)
at com.linkedin.drelephant.spark.fetchers.SparkFetcher.sparkRestClient(SparkFetcher.scala:57)
at com.linkedin.drelephant.spark.fetchers.SparkFetcher.fetchData(SparkFetcher.scala:68)
at com.linkedin.drelephant.spark.fetchers.SparkFetcher.fetchData(SparkFetcher.scala:37)
at com.linkedin.drelephant.analysis.AnalyticJob.getAnalysis(AnalyticJob.java:233)
at com.linkedin.drelephant.ElephantRunner$ExecutorJob.run(ElephantRunner.java:177)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

11 times, 1 week ago
3 times, 1 week ago
Once, 1 month ago
12 times, 1 month ago
Once, 1 month ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.