RE: DumpLogSegment

2018-02-10 Thread adrien ruffie
17:42 À : users@kafka.apache.org Objet : Re: DumpLogSegment I think this was due to the type of file you fed to the tool. To use --index-sanity-check , you need to supply file with the following suffix: val IndexFileSuffix = ".index" On Sat, Feb 10, 2018 at 2:09 PM, adrien ruffie wrote: >

Re: DumpLogSegment

2018-02-10 Thread Ted Yu
my release 2.11-1.0.0 > > > thank for you response Ted ! > > > De : Ted Yu > Envoyé : samedi 10 février 2018 23:00:02 > À : users@kafka.apache.org > Objet : Re: DumpLogSegment > > For --index-sanity-check, according to dumpIndex(): > > if

RE: DumpLogSegment

2018-02-10 Thread adrien ruffie
response Ted ! De : Ted Yu Envoyé : samedi 10 février 2018 23:00:02 À : users@kafka.apache.org Objet : Re: DumpLogSegment For --index-sanity-check, according to dumpIndex(): if (indexSanityOnly) { index.sanityCheck println(s"$file passed s

Re: DumpLogSegment

2018-02-10 Thread Ted Yu
For --index-sanity-check, according to dumpIndex(): if (indexSanityOnly) { index.sanityCheck println(s"$file passed sanity check.") Do you see the print above ? Which release of Kafka are you using ? Cheers On Sat, Feb 10, 2018 at 1:54 PM, adrien ruffie wrote: > Hi all,

DumpLogSegment

2018-02-10 Thread adrien ruffie
Hi all, In Kafka the definitive guide in page 200-201, two parameters of kafka.tools.DumpLogSegments appear not really work ... the --index-sanity-check argument the --print-data-log exemple: ./bin/kafka-run-class.sh kafka.tools.DumpLogSegments --files logs/kafka-0/customer-topic-0/0