[
https://issues.apache.org/jira/browse/KAFKA-1966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14327320#comment-14327320
]
Igor Artamonov commented on KAFKA-1966:
---
Seems that it's a conflict with Docker mounted volumes.
When I put logs data into shared volume I get this errors (and
console-producer/consumer throws errors also). But if I use a local dir, inside
current docker, it works fine, can produce from console on one vm, and receive
from another w/o problem.
Docker 1.5, under Boot2docker and Mac OS
> 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/.index --deep-iteration
> Dumping /kafka-logs/test-0/.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.(OffsetIndex.scala:74)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)