Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
Important
Description
After Kafka version upgrade from 0.10.2.2 to 2.1.1 Warnings starts coming for all the topics "due to Corrupt time index found, time index file".
[2019-03-28 17:23:55.877+0000] WARN [Log partition=FirstTopic-6, dir=/apps/kafka/data] Found a corrupted index file corresponding to log file /apps/kafka/data/FirstTopic-6/00000000000000000494.log due to Corrupt time index found, time index file (/apps/kafka/data/FirstTopic-6/00000000000000000494.timeindex) has non-zero size but the last timestamp is 0 which is less than the first timestamp 1553720469480}, recovering segment and rebuilding index files... (kafka.log.Log) }} {{[2019-03-28 17:23:55.877+0000] WARN [Log partition=NewTopic-3, dir=/apps/kafka/data] Found a corrupted index file corresponding to log file /apps/kafka/data/NewTopic-3/00000000000000000494.log due to Corrupt time index found, time index file (/apps/kafka/data/NewTopic-3/00000000000000000494.timeindex) has non-zero size but the last timestamp is 0 which is less than the first timestamp 1553720469480}, recovering segment and rebuilding index files... (kafka.log.Log) [2019-03-28 17:23:55.877+0000] WARN [Log partition=SecondTopic-3, dir=/apps/kafka/data] Found a corrupted index file corresponding to log file /apps/kafka/data/SecondTopic-3/00000000000000000494.log due to Corrupt time index found, time index file (/apps/kafka/data/SecondTopic-3/00000000000000000494.timeindex) has non-zero size but the last timestamp is 0 which is less than the first timestamp 1553720469480}, recovering segment and rebuilding index files... (kafka.log.Log)