kafka启动异常问题

大大的微笑 发布于 2017/07/06 09:56
阅读 693
收藏 0

java.lang.NullPointerException
        at kafka.log.OffsetIndex.kafka$log$OffsetIndex$$forceUnmap(OffsetIndex.scala:310)
        at kafka.log.OffsetIndex$$anonfun$resize$1.apply(OffsetIndex.scala:292)
        at kafka.log.OffsetIndex$$anonfun$resize$1.apply(OffsetIndex.scala:285)
        at kafka.utils.CoreUtils$.inLock(CoreUtils.scala:231)
        at kafka.log.OffsetIndex.resize(OffsetIndex.scala:285)
        at kafka.log.Log.loadSegments(Log.scala:245)
        at kafka.log.Log.<init>(Log.scala:101)
        at kafka.log.LogManager$$anonfun$loadLogs$2$$anonfun$3$$anonfun$apply$10$$anonfun$apply$1.apply$mcV$sp(LogManager.scala:152)
        at kafka.utils.CoreUtils$$anon$1.run(CoreUtils.scala:56)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)
[2017-07-06 09:49:52,329] INFO Completed load of log __consumer_offsets-6 with log end offset 0 (kafka.log.Log)
[2017-07-06 09:49:52,331] WARN Found a corrupted index file, D:\ProgramFiles\source\kafka_2.10-0.10.0.1\kafka-logs\__consumer_offsets-7\00000000000000000000.index, deleting and rebuilding index... (kafka.log.Log)

加载中
0
大大的微笑
大大的微笑

请问下各位,

0
大大的微笑
大大的微笑

kafka启动加载这个文件报空指针是什么原因呢

0
牛建维

我也求教

 

返回顶部
顶部