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

Igor Artamonov commented on KAFKA-1966:
---------------------------------------

Same for 0.8.2.0 + scala 2.10, and 0.8.1.1 + scala 2.9.2. 

So it could be an incompatibility with Docker

> Cannot read just created index
> ------------------------------
>
>                 Key: KAFKA-1966
>                 URL: https://issues.apache.org/jira/browse/KAFKA-1966
>             Project: Kafka
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 0.8.2.0
>         Environment: Docker "FROM dockerfile/ubuntu"
> Oracle Java 1.7.0_72
> Kafka Scala 2.11
> Kafka 0.8.2.0
>            Reporter: Igor Artamonov
>            Priority: Critical
>
> Created a fresh {{test}} topic by using {{kafka-console-producer.sh}}, but 
> Kafka fails to process this topic. Even cannot read the index:
> {code}
> kafka-run-class.sh kafka.tools.DumpLogSegments --files 
> /kafka-logs/test-0/00000000000000000000.index --deep-iteration
> Dumping /kafka-logs/test-0/00000000000000000000.index
> Exception in thread "main" java.io.IOException: Invalid argument
>     at sun.nio.ch.FileChannelImpl.map0(Native Method)
>     at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:874)
>     at kafka.log.OffsetIndex.<init>(OffsetIndex.scala:74)
> {code}



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

Reply via email to