Igor Artamonov created KAFKA-1966:
-------------------------------------
Summary: 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
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)