Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-9389

Document how to use kafka-reassign-partitions.sh to change log dirs for a partition

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      KIP-113 introduced support for moving replicas between log directories. As part of it, support was added to kafka-reassign-partitions.sh so that users can move replicas between log directories. Specifically, when you call "kafka-reassign-partitions.sh --topics-to-move-json-file topics-to-move.json", you can specify a "log_dirs" key in the topics-to-move.json file, and kafka-reassign-partitions.sh will then move those replicas to those directories.

       

      However, when working on that KIP, we didn't update the docs on kafka.apache.org to describe how to use the new functionality. We should add documentation on that.

       

      I haven't used it before, but whoever works on this Jira can probably figure it out by experimentation with kafka-reassign-partitions.sh, or by reading KIP-113 page or the associated JIRAs.

       

      Attachments

        Issue Links

          Activity

            People

              mitchellh Mitchell
              wushujames James Cheng
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: