kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Soumyajit Sahu (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (KAFKA-4031) Check DirectBuffer's cleaner to be not null before using
Date Wed, 10 Aug 2016 20:12:20 GMT

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

Soumyajit Sahu reassigned KAFKA-4031:
-------------------------------------

    Assignee: Soumyajit Sahu

> Check DirectBuffer's cleaner to be not null before using
> --------------------------------------------------------
>
>                 Key: KAFKA-4031
>                 URL: https://issues.apache.org/jira/browse/KAFKA-4031
>             Project: Kafka
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 0.10.0.1
>            Reporter: Soumyajit Sahu
>            Assignee: Soumyajit Sahu
>             Fix For: 0.10.0.2
>
>
> Found the following exception stack in our broker logs.
> The fix should be straight forward with a null check.
> [2016-08-09 17:10:24,451] WARN Error when freeing index buffer (kafka.log.OffsetIndex)
> java.lang.NullPointerException
> 	at kafka.log.OffsetIndex.kafka$log$OffsetIndex$$forceUnmap(OffsetIndex.scala:312)
> 	at kafka.log.OffsetIndex$$anonfun$resize$1.apply(OffsetIndex.scala:294)
> 	at kafka.log.OffsetIndex$$anonfun$resize$1.apply(OffsetIndex.scala:287)
> 	at kafka.utils.CoreUtils$.inLock(CoreUtils.scala:231)
> 	at kafka.log.OffsetIndex.resize(OffsetIndex.scala:287)
> 	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:151)
> 	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)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message