[jira] [Commented] (KAFKA-8173) Kafka Errors after version upgrade from 0.10.2.2 to 2.1.1

2019-04-04 Thread Amit Anand (JIRA)


[ 
https://issues.apache.org/jira/browse/KAFKA-8173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16809593#comment-16809593
 ] 

Amit Anand commented on KAFKA-8173:
---

Yes. I restarted kafka after version upgrade(producers/consumers were running 
at that time).  There are lots of warning logs like above only.

> Kafka Errors after version upgrade from 0.10.2.2 to 2.1.1 
> --
>
> Key: KAFKA-8173
> URL: https://issues.apache.org/jira/browse/KAFKA-8173
> Project: Kafka
>  Issue Type: Improvement
>  Components: offset manager
>Reporter: Amit Anand
>Priority: Major
>
> 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".
> {code:java}
> [2019-03-28 17:23:55.877+] WARN [Log partition=FirstTopic-6, 
> dir=/apps/kafka/data] Found a corrupted index file corresponding to log file 
> /apps/kafka/data/FirstTopic-6/0494.log due to Corrupt time 
> index found, time index file 
> (/apps/kafka/data/FirstTopic-6/0494.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+] WARN [Log partition=NewTopic-3, 
> dir=/apps/kafka/data] Found a corrupted index file corresponding to log file 
> /apps/kafka/data/NewTopic-3/0494.log due to Corrupt time 
> index found, time index file 
> (/apps/kafka/data/NewTopic-3/0494.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+] WARN [Log 
> partition=SecondTopic-3, dir=/apps/kafka/data] Found a corrupted index file 
> corresponding to log file 
> /apps/kafka/data/SecondTopic-3/0494.log due to Corrupt time 
> index found, time index file 
> (/apps/kafka/data/SecondTopic-3/0494.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)
>  
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (KAFKA-8173) Kafka Errors after version upgrade from 0.10.2.2 to 2.1.1

2019-03-28 Thread Amit Anand (JIRA)


 [ 
https://issues.apache.org/jira/browse/KAFKA-8173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Amit Anand updated KAFKA-8173:
--
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".

{code:java}
[2019-03-28 17:23:55.877+] WARN [Log partition=FirstTopic-6, 
dir=/apps/kafka/data] Found a corrupted index file corresponding to log file 
/apps/kafka/data/FirstTopic-6/0494.log due to Corrupt time 
index found, time index file 
(/apps/kafka/data/FirstTopic-6/0494.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+] WARN [Log partition=NewTopic-3, 
dir=/apps/kafka/data] Found a corrupted index file corresponding to log file 
/apps/kafka/data/NewTopic-3/0494.log due to Corrupt time index 
found, time index file 
(/apps/kafka/data/NewTopic-3/0494.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+] WARN [Log 
partition=SecondTopic-3, dir=/apps/kafka/data] Found a corrupted index file 
corresponding to log file 
/apps/kafka/data/SecondTopic-3/0494.log due to Corrupt time 
index found, time index file 
(/apps/kafka/data/SecondTopic-3/0494.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)
 
{code}


  was:
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".

{code:java}
{{[2019-03-28 17:23:55.877+] WARN [Log partition=FirstTopic-6, 
dir=/apps/kafka/data] Found a corrupted index file corresponding to log file 
/apps/kafka/data/FirstTopic-6/0494.log due to Corrupt time 
index found, time index file 
(/apps/kafka/data/FirstTopic-6/0494.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+] WARN [Log partition=NewTopic-3, 
dir=/apps/kafka/data] Found a corrupted index file corresponding to log file 
/apps/kafka/data/NewTopic-3/0494.log due to Corrupt time index 
found, time index file 
(/apps/kafka/data/NewTopic-3/0494.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+] WARN [Log 
partition=SecondTopic-3, dir=/apps/kafka/data] Found a corrupted index file 
corresponding to log file 
/apps/kafka/data/SecondTopic-3/0494.log due to Corrupt time 
index found, time index file 
(/apps/kafka/data/SecondTopic-3/0494.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) }}
 
{code}



> Kafka Errors after version upgrade from 0.10.2.2 to 2.1.1 
> --
>
> Key: KAFKA-8173
> URL: https://issues.apache.org/jira/browse/KAFKA-8173
> Project: Kafka
>  Issue Type: Improvement
>  Components: offset manager
>Reporter: Amit Anand
>Priority: Major
>
> 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".
> {code:java}
> [2019-03-28 17:23:55.877+] WARN [Log partition=FirstTopic-6, 
> dir=/apps/kafka/data] Found a corrupted index file corresponding to log file 
> /apps/kafka/data/FirstTopic-6/0494.log due to Corrupt time 
> index found, time index file 
> (/apps/kafka/data/FirstTopic-6/0494.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+] WARN [Log partition=NewTopic-3, 
> dir=/apps/kafka/data] Found a corrupted index file corresponding to log file 
> /apps/kafka/data/NewTopic-3/0494.log due to Corrupt time 
> index found, time index file 
> (/apps/kafka/data/NewTopic-3/0494.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... 
> 

[jira] [Created] (KAFKA-8173) Kafka Errors after version upgrade from 0.10.2.2 to 2.1.1

2019-03-28 Thread Amit Anand (JIRA)
Amit Anand created KAFKA-8173:
-

 Summary: Kafka Errors after version upgrade from 0.10.2.2 to 2.1.1 
 Key: KAFKA-8173
 URL: https://issues.apache.org/jira/browse/KAFKA-8173
 Project: Kafka
  Issue Type: Improvement
  Components: offset manager
Reporter: Amit Anand


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".

{code:java}
{{[2019-03-28 17:23:55.877+] WARN [Log partition=FirstTopic-6, 
dir=/apps/kafka/data] Found a corrupted index file corresponding to log file 
/apps/kafka/data/FirstTopic-6/0494.log due to Corrupt time 
index found, time index file 
(/apps/kafka/data/FirstTopic-6/0494.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+] WARN [Log partition=NewTopic-3, 
dir=/apps/kafka/data] Found a corrupted index file corresponding to log file 
/apps/kafka/data/NewTopic-3/0494.log due to Corrupt time index 
found, time index file 
(/apps/kafka/data/NewTopic-3/0494.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+] WARN [Log 
partition=SecondTopic-3, dir=/apps/kafka/data] Found a corrupted index file 
corresponding to log file 
/apps/kafka/data/SecondTopic-3/0494.log due to Corrupt time 
index found, time index file 
(/apps/kafka/data/SecondTopic-3/0494.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) }}
 
{code}




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)