GitHub user amethystic opened a pull request:
https://github.com/apache/kafka/pull/2898
kafka-5104: DumpLogSegments should not open index files with `rw`
When issuing DumpLogSegments command, the underlying index files(including
timestamp index) will be opened with read-only mode.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/amethystic/kafka
kafka-5104_DumpLogSegments_open_index_file_with_rw
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/kafka/pull/2898.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2898
----
commit dfb59c72c113ec80ec54fddfe2641e73ebe6ec74
Author: huxi <[email protected]>
Date: 2017-04-23T11:47:09Z
kafka-5104: DumpLogSegments should not open index files with `rw`
When issuing DumpLogSegments command, the underlying index files(including
timestamp index) will be opened with read-only mode.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---