kafka-jira mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prince Paulson (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (KAFKA-6151) kafka broker not starting ; WARN kafka.log.Log: Found a corrupted index file
Date Thu, 02 Nov 2017 04:03:00 GMT

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

Prince Paulson updated KAFKA-6151:
----------------------------------
    Description:     (was: {code}
root@4233106d-cceb-0517-ba7b-4917466b3ede.spherestage-kc.net:/home/SPHERESTAGE/pp023549 (
koopa_kafkabroker01 )
00:26:30 # service kafka status
Kafka is not running


root@4233106d-cceb-0517-ba7b-4917466b3ede.spherestage-kc.net:/var/log/kafka ( koopa_kafkabroker01
)
00:44:25 # service kafka start
Kafka successfully started
root@4233106d-cceb-0517-ba7b-4917466b3ede.spherestage-kc.net:/var/log/kafka ( koopa_kafkabroker01
)
00:44:32 # service kafka status
Kafka is not running


root@4233106d-cceb-0517-ba7b-4917466b3ede.spherestage-kc.net:/var/log/kafka ( koopa_kafkabroker01
)
00:44:39 # tail -500f /var/log/kafka/server.log

2017-10-30 00:44:33,389 INFO kafka.server.KafkaServer: starting
2017-10-30 00:44:33,392 INFO kafka.server.KafkaServer: Connecting to zookeeper on 42334c1d-3c61-3f57-4a28-09df4a706fa2.spherestage-kc.net:2181,4233668f-b29f-6beb-faab-8a0eda3067ac.spherestage-kc.net:2181,4233c278-fd8c-42b3-2402-ef8be142058b.spherestage-kc.net:2181/kafka/koopa
2017-10-30 00:44:33,497 INFO kafka.server.KafkaServer: Created zookeeper path /kafka/koopa
2017-10-30 00:44:34,150 INFO kafka.log.LogManager: Loading logs.
2017-10-30 00:44:34,199 WARN kafka.log.Log: Found a corrupted index file, /storage/kafka/00/kafka_data/KEPLER.deveng_v500.koopa-deveng_v500-aeon-clinicalevent-MillenniumSpout.DEFERRED-0/00000000000003650694.index,
deleting and rebuilding index...
2017-10-30 00:44:34,725 WARN kafka.log.Log: Found a corrupted index file, /storage/kafka/00/kafka_data/KEPLER.1201dep_refrecord_person_4_4-CDH5.1201dep_refrecord_person_4_4-CDH5_updated_recordIds.DEFERRED-0/00000000000000000000.index,
deleting and rebuilding index...
2017-10-30 00:44:34,729 WARN kafka.log.Log: Found a corrupted index file, /storage/kafka/00/kafka_data/KEPLER.v500.koopa-v500-Personnel-Spout-0/00000000000000000000.index,
deleting and rebuilding index...
2017-10-30 00:44:34,733 WARN kafka.log.Log: Found a corrupted index file, /storage/kafka/00/kafka_data/KEPLER.solgm_refrecord_person_4_9-CDH5.solgm_refrecord_person_4_9-CDH5_updated_recordIds.DEFERRED-0/00000000000000000000.index,
deleting and rebuilding index...
2017-10-30 00:44:34,737 WARN kafka.log.Log: Found a corrupted index file, /storage/kafka/00/kafka_data/refrecord_logs-18/00000000000000405326.index,
deleting and rebuilding index...
2017-10-30 00:44:34,841 WARN kafka.log.Log: Found a corrupted index file, /storage/kafka/00/kafka_data/KEPLER.deveng_v500.koopa-deveng_v500-PrivilegeDef-Spout-0/00000000000000000000.index,
deleting and rebuilding index...
2017-10-30 00:44:34,844 WARN kafka.log.Log: Found a corrupted index file, /storage/kafka/00/kafka_data/KEPLER.1501stpdep_refrecord_norm_financial.refRecord-1501stpdep-koopa-1501stpdep_refrecord_norm_financial-CacheUpdaterSpout.DEFERRED-0/00000000000000000000.index,
deleting and rebuilding index...
2017-10-30 00:44:34,847 WARN kafka.log.Log: Found a corrupted index file, /storage/kafka/00/kafka_data/refrecord_logs-1/00000000000000404938.index,
deleting and rebuilding index...
2017-10-30 00:44:34,881 ERROR kafka.log.LogManager: There was an error in one of the threads
during logs loading: java.lang.InternalError: a fault occurred in a recent unsafe memory access
operation in compiled Java code
2017-10-30 00:44:34,881 WARN kafka.log.Log: Found a corrupted index file, /storage/kafka/00/kafka_data/KEPLER.1201dep_v500.koopa-1201dep_v500-aeon-foundations-MillenniumSpout.DEFERRED-0/00000000000000120966.index,
deleting and rebuilding index...
2017-10-30 00:44:34,882 FATAL kafka.server.KafkaServer: Fatal error during KafkaServer startup.
Prepare to shutdown
java.lang.InternalError: a fault occurred in a recent unsafe memory access operation in compiled
Java code
        at org.xerial.snappy.SnappyInputStream.hasNextChunk(SnappyInputStream.java:343)
        at org.xerial.snappy.SnappyInputStream.rawRead(SnappyInputStream.java:167)
        at org.xerial.snappy.SnappyInputStream.read(SnappyInputStream.java:150)
        at java.io.DataInputStream.readFully(DataInputStream.java:195)
        at java.io.DataInputStream.readLong(DataInputStream.java:416)
        at kafka.message.ByteBufferMessageSet$$anon$1.makeNext(ByteBufferMessageSet.scala:72)
        at kafka.message.ByteBufferMessageSet$$anon$1.makeNext(ByteBufferMessageSet.scala:64)
        at kafka.utils.IteratorTemplate.maybeComputeNext(IteratorTemplate.scala:66)
        at kafka.utils.IteratorTemplate.hasNext(IteratorTemplate.scala:58)
        at kafka.utils.IteratorTemplate.next(IteratorTemplate.scala:38)
        at kafka.log.LogSegment.recover(LogSegment.scala:186)
        at kafka.log.Log$$anonfun$loadSegments$4.apply(Log.scala:188)
        at kafka.log.Log$$anonfun$loadSegments$4.apply(Log.scala:160)
        at scala.collection.TraversableLike$WithFilter$$anonfun$foreach$1.apply(TraversableLike.scala:778)
        at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)
        at scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:186)
        at scala.collection.TraversableLike$WithFilter.foreach(TraversableLike.scala:777)
        at kafka.log.Log.loadSegments(Log.scala:160)
        at kafka.log.Log.<init>(Log.scala:90)
        at kafka.log.LogManager$$anonfun$loadLogs$2$$anonfun$3$$anonfun$apply$10$$anonfun$apply$1.apply$mcV$sp(LogManager.scala:150)
        at kafka.utils.CoreUtils$$anon$1.run(CoreUtils.scala:60)
        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)
2017-10-30 00:44:34,885 WARN kafka.log.Log: Found a corrupted index file, /storage/kafka/00/kafka_data/KEPLER.v500.koopa-v500-aeon-foundations-MillenniumSpout.DEFERRED-0/00000000000000000000.index,
deleting and rebuilding index...
2017-10-30 00:44:34,885 INFO kafka.server.KafkaServer: shutting down
2017-10-30 00:44:34,893 INFO kafka.server.KafkaServer: shut down completed
2017-10-30 00:44:34,894 FATAL kafka.server.KafkaServerStartable: Fatal error during KafkaServerStartable
startup. Prepare to shutdown
java.lang.InternalError: a fault occurred in a recent unsafe memory access operation in compiled
Java code
        at org.xerial.snappy.SnappyInputStream.hasNextChunk(SnappyInputStream.java:343)
        at org.xerial.snappy.SnappyInputStream.rawRead(SnappyInputStream.java:167)
        at org.xerial.snappy.SnappyInputStream.read(SnappyInputStream.java:150)
        at java.io.DataInputStream.readFully(DataInputStream.java:195)
        at java.io.DataInputStream.readLong(DataInputStream.java:416)
        at kafka.message.ByteBufferMessageSet$$anon$1.makeNext(ByteBufferMessageSet.scala:72)
        at kafka.message.ByteBufferMessageSet$$anon$1.makeNext(ByteBufferMessageSet.scala:64)
        at kafka.utils.IteratorTemplate.maybeComputeNext(IteratorTemplate.scala:66)
        at kafka.utils.IteratorTemplate.hasNext(IteratorTemplate.scala:58)
        at kafka.utils.IteratorTemplate.next(IteratorTemplate.scala:38)
        at kafka.log.LogSegment.recover(LogSegment.scala:186)
        at kafka.log.Log$$anonfun$loadSegments$4.apply(Log.scala:188)
        at kafka.log.Log$$anonfun$loadSegments$4.apply(Log.scala:160)
        at scala.collection.TraversableLike$WithFilter$$anonfun$foreach$1.apply(TraversableLike.scala:778)
        at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)
        at scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:186)
        at scala.collection.TraversableLike$WithFilter.foreach(TraversableLike.scala:777)
        at kafka.log.Log.loadSegments(Log.scala:160)
        at kafka.log.Log.<init>(Log.scala:90)
        at kafka.log.LogManager$$anonfun$loadLogs$2$$anonfun$3$$anonfun$apply$10$$anonfun$apply$1.apply$mcV$sp(LogManager.scala:150)
        at kafka.utils.CoreUtils$$anon$1.run(CoreUtils.scala:60)
        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)
2017-10-30 00:44:34,895 WARN kafka.log.Log: Found a corrupted index file, /storage/kafka/00/kafka_data/KEPLER.refrecord_norm_person.refRecord-1201dep-koopa-refrecord_norm_person-CacheUpdaterSpout-0/00000000000000000000.index,
deleting and rebuilding index...
2017-10-30 00:44:34,899 INFO kafka.server.KafkaServer: shutting down
2017-10-30 00:44:34,900 WARN kafka.log.Log: Found a corrupted index file, /storage/kafka/00/kafka_data/KEPLER.1501stpdep_aeon_4_11_CDH5.koopa-1501stpdep_aeon_4_11_CDH5-refRecord-FluxSpout-0/00000000000000033413.index,
deleting and rebuilding index...
2017-10-30 00:48:05,206 INFO kafka.server.KafkaConfig: KafkaConfig values:
        advertised.host.name = null
        metric.reporters = []
        quota.producer.default = 9223372036854775807
        offsets.topic.num.partitions = 50
        log.flush.interval.messages = 20000
        auto.create.topics.enable = false
        controller.socket.timeout.ms = 30000
        log.flush.interval.ms = 10000
        principal.builder.class = class org.apache.kafka.common.security.auth.DefaultPrincipalBuilder
        replica.socket.receive.buffer.bytes = 65536
        min.insync.replicas = 2
        replica.fetch.wait.max.ms = 500
        num.recovery.threads.per.data.dir = 1
        ssl.keystore.type = JKS
        default.replication.factor = 3
        ssl.truststore.password = null
        log.preallocate = false
        sasl.kerberos.principal.to.local.rules = [DEFAULT]
        fetch.purgatory.purge.interval.requests = 100
        ssl.endpoint.identification.algorithm = null
        replica.socket.timeout.ms = 30000
        message.max.bytes = 1000000
        num.io.threads = 24
        offsets.commit.required.acks = -1
        log.flush.offset.checkpoint.interval.ms = 60000
        delete.topic.enable = true
        quota.window.size.seconds = 1
        ssl.truststore.type = JKS
        offsets.commit.timeout.ms = 5000
        quota.window.num = 11
        zookeeper.connect = 42334c1d-3c61-3f57-4a28-09df4a706fa2.spherestage-kc.net:2181,4233668f-b29f-6beb-faab-8a0eda3067ac.spherestage-kc.net:2181,4233c278-fd8c-42b3-2402-ef8be142058b.spherestage-kc.net:2181/kafka/koopa
        authorizer.class.name =
        num.replica.fetchers = 16
        log.retention.ms = null
        log.roll.jitter.hours = 0
        log.cleaner.enable = true
        offsets.load.buffer.size = 5242880
        log.cleaner.delete.retention.ms = 86400000
        ssl.client.auth = none
        controlled.shutdown.max.retries = 3
        queued.max.requests = 1000
        offsets.topic.replication.factor = 3
        log.cleaner.threads = 1
        sasl.kerberos.service.name = null
        sasl.kerberos.ticket.renew.jitter = 0.05
        socket.request.max.bytes = 104857600
        ssl.trustmanager.algorithm = PKIX
        zookeeper.session.timeout.ms = 6000
        log.retention.bytes = -1
        sasl.kerberos.min.time.before.relogin = 60000
        zookeeper.set.acl = false
        connections.max.idle.ms = 600000
        offsets.retention.minutes = 1440
        replica.fetch.backoff.ms = 1000
        inter.broker.protocol.version = 0.9.0.1
        log.retention.hours = 168
        num.partitions = 3
        broker.id.generation.enable = true
        listeners = null
        ssl.provider = null
        ssl.enabled.protocols = [TLSv1.2, TLSv1.1, TLSv1]
        log.roll.ms = null
        log.flush.scheduler.interval.ms = 2000
        ssl.cipher.suites = null
        log.index.size.max.bytes = 10485760
        ssl.keymanager.algorithm = SunX509
        security.inter.broker.protocol = PLAINTEXT
        replica.fetch.max.bytes = 1048576
        advertised.port = null
        log.cleaner.dedupe.buffer.size = 134217728
        replica.high.watermark.checkpoint.interval.ms = 5000
        log.cleaner.io.buffer.size = 524288
        sasl.kerberos.ticket.renew.window.factor = 0.8
        zookeeper.connection.timeout.ms = 300000
        controlled.shutdown.retry.backoff.ms = 5000
        log.roll.hours = 168
        log.cleanup.policy = delete
        host.name =
        log.roll.jitter.ms = null
        max.connections.per.ip = 2147483647
        offsets.topic.segment.bytes = 104857600
        background.threads = 10
        quota.consumer.default = 9223372036854775807
        request.timeout.ms = 30000
        log.index.interval.bytes = 4096
        log.dir = /tmp/kafka-logs
        log.segment.bytes = 1073741824
        log.cleaner.backoff.ms = 15000
        offset.metadata.max.bytes = 4096
        ssl.truststore.location = null
        group.max.session.timeout.ms = 30000
        ssl.keystore.password = null
        zookeeper.sync.time.ms = 2000
        port = 6667
        log.retention.minutes = 20160
        log.segment.delete.delay.ms = 60000
        log.dirs = /storage/kafka/00/kafka_data
        controlled.shutdown.enable = true
        compression.type = producer
        max.connections.per.ip.overrides =
        sasl.kerberos.kinit.cmd = /usr/bin/kinit
        log.cleaner.io.max.bytes.per.second = 1.7976931348623157E308
        auto.leader.rebalance.enable = true
        leader.imbalance.check.interval.seconds = 300
        log.cleaner.min.cleanable.ratio = 0.5
        replica.lag.time.max.ms = 10000
        num.network.threads = 8
        ssl.key.password = null
        reserved.broker.max.id = 1000
        metrics.num.samples = 2
        socket.send.buffer.bytes = 1048576
        ssl.protocol = TLS
        socket.receive.buffer.bytes = 1048576
        ssl.keystore.location = null
        replica.fetch.min.bytes = 1
        unclean.leader.election.enable = false
        group.min.session.timeout.ms = 6000
        log.cleaner.io.buffer.load.factor = 0.9
        offsets.retention.check.interval.ms = 600000
        producer.purgatory.purge.interval.requests = 100
        metrics.sample.window.ms = 30000
        broker.id = 1
        offsets.topic.compression.codec = 0
        log.retention.check.interval.ms = 300000
        advertised.listeners = null
        leader.imbalance.per.broker.percentage = 10

2017-10-30 00:48:05,269 INFO kafka.server.KafkaServer: starting
2017-10-30 00:48:05,273 INFO kafka.server.KafkaServer: Connecting to zookeeper on 42334c1d-3c61-3f57-4a28-09df4a706fa2.spherestage-kc.net:2181,4233668f-b29f-6beb-faab-8a0eda3067ac.spherestage-kc.net:2181,4233c278-fd8c-42b3-2402-ef8be142058b.spherestage-kc.net:2181/kafka/koopa
2017-10-30 00:48:05,411 INFO kafka.server.KafkaServer: Created zookeeper path /kafka/koopa
2017-10-30 00:48:06,118 INFO kafka.log.LogManager: Loading logs.
2017-10-30 00:48:06,171 WARN kafka.log.Log: Found a corrupted index file, /storage/kafka/00/kafka_data/KEPLER.deveng_v500.koopa-deveng_v500-aeon-clinicalevent-MillenniumSpout.DEFERRED-0/00000000000003650694.index,
deleting and rebuilding index...
2017-10-30 00:48:06,768 WARN kafka.log.Log: Found a corrupted index file, /storage/kafka/00/kafka_data/KEPLER.1201dep_refrecord_person_4_4-CDH5.1201dep_refrecord_person_4_4-CDH5_updated_recordIds.DEFERRED-0/00000000000000000000.index,
deleting and rebuilding index...
2017-10-30 00:48:06,774 WARN kafka.log.Log: Found a corrupted index file, /storage/kafka/00/kafka_data/KEPLER.v500.koopa-v500-Personnel-Spout-0/00000000000000000000.index,
deleting and rebuilding index...
2017-10-30 00:48:06,780 WARN kafka.log.Log: Found a corrupted index file, /storage/kafka/00/kafka_data/KEPLER.solgm_refrecord_person_4_9-CDH5.solgm_refrecord_person_4_9-CDH5_updated_recordIds.DEFERRED-0/00000000000000000000.index,
deleting and rebuilding index...
2017-10-30 00:48:06,787 WARN kafka.log.Log: Found a corrupted index file, /storage/kafka/00/kafka_data/refrecord_logs-18/00000000000000405326.index,
deleting and rebuilding index...
2017-10-30 00:48:06,978 WARN kafka.log.Log: Found a corrupted index file, /storage/kafka/00/kafka_data/KEPLER.deveng_v500.koopa-deveng_v500-PrivilegeDef-Spout-0/00000000000000000000.index,
deleting and rebuilding index...
2017-10-30 00:48:06,983 WARN kafka.log.Log: Found a corrupted index file, /storage/kafka/00/kafka_data/KEPLER.1501stpdep_refrecord_norm_financial.refRecord-1501stpdep-koopa-1501stpdep_refrecord_norm_financial-CacheUpdaterSpout.DEFERRED-0/00000000000000000000.index,
deleting and rebuilding index...
2017-10-30 00:48:06,988 WARN kafka.log.Log: Found a corrupted index file, /storage/kafka/00/kafka_data/refrecord_logs-1/00000000000000404938.index,
deleting and rebuilding index...
2017-10-30 00:48:06,994 ERROR kafka.log.LogManager: There was an error in one of the threads
during logs loading: java.lang.InternalError: a fault occurred in a recent unsafe memory access
operation in compiled Java code
2017-10-30 00:48:06,996 FATAL kafka.server.KafkaServer: Fatal error during KafkaServer startup.
Prepare to shutdown
java.lang.InternalError: a fault occurred in a recent unsafe memory access operation in compiled
Java code
        at org.xerial.snappy.SnappyInputStream.hasNextChunk(SnappyInputStream.java:343)
        at org.xerial.snappy.SnappyInputStream.rawRead(SnappyInputStream.java:167)
        at org.xerial.snappy.SnappyInputStream.read(SnappyInputStream.java:150)
        at java.io.DataInputStream.readFully(DataInputStream.java:195)
        at java.io.DataInputStream.readLong(DataInputStream.java:416)
        at kafka.message.ByteBufferMessageSet$$anon$1.makeNext(ByteBufferMessageSet.scala:72)
        at kafka.message.ByteBufferMessageSet$$anon$1.makeNext(ByteBufferMessageSet.scala:64)
        at kafka.utils.IteratorTemplate.maybeComputeNext(IteratorTemplate.scala:66)
        at kafka.utils.IteratorTemplate.hasNext(IteratorTemplate.scala:58)
        at kafka.utils.IteratorTemplate.next(IteratorTemplate.scala:38)
        at kafka.log.LogSegment.recover(LogSegment.scala:186)
        at kafka.log.Log$$anonfun$loadSegments$4.apply(Log.scala:188)
        at kafka.log.Log$$anonfun$loadSegments$4.apply(Log.scala:160)
        at scala.collection.TraversableLike$WithFilter$$anonfun$foreach$1.apply(TraversableLike.scala:778)
        at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)
        at scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:186)
        at scala.collection.TraversableLike$WithFilter.foreach(TraversableLike.scala:777)
        at kafka.log.Log.loadSegments(Log.scala:160)
        at kafka.log.Log.<init>(Log.scala:90)
        at kafka.log.LogManager$$anonfun$loadLogs$2$$anonfun$3$$anonfun$apply$10$$anonfun$apply$1.apply$mcV$sp(LogManager.scala:150)
        at kafka.utils.CoreUtils$$anon$1.run(CoreUtils.scala:60)
        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)
2017-10-30 00:48:06,996 WARN kafka.log.Log: Found a corrupted index file, /storage/kafka/00/kafka_data/KEPLER.1201dep_v500.koopa-1201dep_v500-aeon-foundations-MillenniumSpout.DEFERRED-0/00000000000000120966.index,
deleting and rebuilding index...
2017-10-30 00:48:07,000 INFO kafka.server.KafkaServer: shutting down
2017-10-30 00:48:07,004 WARN kafka.log.Log: Found a corrupted index file, /storage/kafka/00/kafka_data/KEPLER.v500.koopa-v500-aeon-foundations-MillenniumSpout.DEFERRED-0/00000000000000000000.index,
deleting and rebuilding index...
2017-10-30 00:48:07,008 INFO kafka.server.KafkaServer: shut down completed
2017-10-30 00:48:07,009 FATAL kafka.server.KafkaServerStartable: Fatal error during KafkaServerStartable
startup. Prepare to shutdown
java.lang.InternalError: a fault occurred in a recent unsafe memory access operation in compiled
Java code
        at org.xerial.snappy.SnappyInputStream.hasNextChunk(SnappyInputStream.java:343)
        at org.xerial.snappy.SnappyInputStream.rawRead(SnappyInputStream.java:167)
        at org.xerial.snappy.SnappyInputStream.read(SnappyInputStream.java:150)
        at java.io.DataInputStream.readFully(DataInputStream.java:195)
        at java.io.DataInputStream.readLong(DataInputStream.java:416)
        at kafka.message.ByteBufferMessageSet$$anon$1.makeNext(ByteBufferMessageSet.scala:72)
        at kafka.message.ByteBufferMessageSet$$anon$1.makeNext(ByteBufferMessageSet.scala:64)
        at kafka.utils.IteratorTemplate.maybeComputeNext(IteratorTemplate.scala:66)
        at kafka.utils.IteratorTemplate.hasNext(IteratorTemplate.scala:58)
        at kafka.utils.IteratorTemplate.next(IteratorTemplate.scala:38)
        at kafka.log.LogSegment.recover(LogSegment.scala:186)
        at kafka.log.Log$$anonfun$loadSegments$4.apply(Log.scala:188)
        at kafka.log.Log$$anonfun$loadSegments$4.apply(Log.scala:160)
        at scala.collection.TraversableLike$WithFilter$$anonfun$foreach$1.apply(TraversableLike.scala:778)
        at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)
        at scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:186)
        at scala.collection.TraversableLike$WithFilter.foreach(TraversableLike.scala:777)
        at kafka.log.Log.loadSegments(Log.scala:160)
        at kafka.log.Log.<init>(Log.scala:90)
        at kafka.log.LogManager$$anonfun$loadLogs$2$$anonfun$3$$anonfun$apply$10$$anonfun$apply$1.apply$mcV$sp(LogManager.scala:150)
        at kafka.utils.CoreUtils$$anon$1.run(CoreUtils.scala:60)
        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)
2017-10-30 00:48:07,010 WARN kafka.log.Log: Found a corrupted index file, /storage/kafka/00/kafka_data/KEPLER.refrecord_norm_person.refRecord-1201dep-koopa-refrecord_norm_person-CacheUpdaterSpout-0/00000000000000000000.index,
deleting and rebuilding index...
2017-10-30 00:48:07,019 INFO kafka.server.KafkaServer: shutting down
2017-10-30 00:48:07,020 WARN kafka.log.Log: Found a corrupted index file, /storage/kafka/00/kafka_data/KEPLER.1501stpdep_aeon_4_11_CDH5.koopa-1501stpdep_aeon_4_11_CDH5-refRecord-FluxSpout-0/00000000000000033413.index,
deleting and rebuilding index...
2017-10-30 00:48:07,023 WARN kafka.log.Log: Found a corrupted index file, /storage/kafka/00/kafka_data/KEPLER.1201dep_refrecord_person_4_6-CDH5.1201dep_refrecord_person_4_6-CDH5_updated_recordIds-0/00000000000000000000.index,
deleting and rebuilding index...

{code}

)

> kafka broker not starting ; WARN kafka.log.Log: Found a corrupted index file
> ----------------------------------------------------------------------------
>
>                 Key: KAFKA-6151
>                 URL: https://issues.apache.org/jira/browse/KAFKA-6151
>             Project: Kafka
>          Issue Type: Bug
>    Affects Versions: 0.9.0.1
>            Reporter: Prince Paulson
>            Priority: Critical
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message