java.lang.IllegalArgumentException: Cannot truncate to a negative offset (-1)

ighack 发表于: 2019-02-25   最后更新时间: 2019-02-25 10:11:28   2,049 游览
发表于 2019-02-25
添加评论

你什么版本的。先升级吧。
清除器的bug。

ighack -> 半兽人 5年前

0.10.2.1
主要是怕只升级程序。原来的数据用不了

ighack -> 半兽人 5年前

Topic:topicName_Bill_Two PartitionCount:10 ReplicationFactor:3 Configs:
Topic: topicName_Bill_Two Partition: 0 Leader: 4 Replicas: 4,0,1 Isr: 0,4,1
Topic: topicName_Bill_Two Partition: 1 Leader: 0 Replicas: 0,1,2 Isr: 0,1
Topic: topicName_Bill_Two Partition: 2 Leader: 1 Replicas: 1,2,3 Isr: 3,1
Topic: topicName_Bill_Two Partition: 3 Leader: 3 Replicas: 2,3,4 Isr: 4,3
Topic: topicName_Bill_Two Partition: 4 Leader: 3 Replicas: 3,4,0 Isr: 0,4,3
Topic: topicName_Bill_Two Partition: 5 Leader: 4 Replicas: 4,1,2 Isr: 4,1
Topic: topicName_Bill_Two Partition: 6 Leader: 0 Replicas: 0,2,3 Isr: 0,3
Topic: topicName_Bill_Two Partition: 7 Leader: 1 Replicas: 1,3,4 Isr: 3,4,1
Topic: topicName_Bill_Two Partition: 8 Leader: 0 Replicas: 2,4,0 Isr: 0,4
Topic: topicName_Bill_Two Partition: 9 Leader: 3 Replicas: 3,0,1 Isr: 0,3,1
Topic:wlpt_to_mdb PartitionCount:10 ReplicationFactor:3 Configs:
Topic: wlpt_to_mdb Partition: 0 Leader: 3 Replicas: 3,0,1 Isr: 0,3,1
Topic: wlpt_to_mdb Partition: 1 Leader: 4 Replicas: 4,1,2 Isr: 4,1
Topic: wlpt_to_mdb Partition: 2 Leader: 0 Replicas: 0,2,3 Isr: 0,3
Topic: wlpt_to_mdb Partition: 3 Leader: 1 Replicas: 1,3,4 Isr: 3,4,1
Topic: wlpt_to_mdb Partition: 4 Leader: 0 Replicas: 2,4,0 Isr: 0,4
Topic: wlpt_to_mdb Partition: 5 Leader: 3 Replicas: 3,1,2 Isr: 3,1
Topic: wlpt_to_mdb Partition: 6 Leader: 4 Replicas: 4,2,3 Isr: 4,3
Topic: wlpt_to_mdb Partition: 7 Leader: 0 Replicas: 0,3,4 Isr: 0,4,3
Topic: wlpt_to_mdb Partition: 8 Leader: 1 Replicas: 1,4,0 Isr: 0,4,1
Topic: wlpt_to_mdb Partition: 9 Leader: 0 Replicas: 2,0,1 Isr: 0,1
Topic:zipkin PartitionCount:10 ReplicationFactor:3 Configs:
Topic: zipkin Partition: 0 Leader: 0 Replicas: 0,2,3 Isr: 0,3
Topic: zipkin Partition: 1 Leader: 1 Replicas: 1,3,4 Isr: 3,4,1
Topic: zipkin Partition: 2 Leader: 0 Replicas: 2,4,0 Isr: 0,4
Topic: zipkin Partition: 3 Leader: 3 Replicas: 3,0,1 Isr: 0,3,1
Topic: zipkin Partition: 4 Leader: 4 Replicas: 4,1,2 Isr: 4,1
Topic: zipkin Partition: 5 Leader: 0 Replicas: 0,3,4 Isr: 0,4,3
Topic: zipkin Partition: 6 Leader: 1 Replicas: 1,4,0 Isr: 0,4,1
Topic: zipkin Partition: 7 Leader: 0 Replicas: 2,0,1 Isr: 0,1
Topic: zipkin Partition: 8 Leader: 3 Replicas: 3,1,2 Isr: 3,1
Topic: zipkin Partition: 9 Leader: 4 Replicas: 4,2,3 Isr: 4,3

出现-1的正好是2号机

你的答案

查看kafka相关的其他问题或提一个您自己的问题