You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "James Cheng (Jira)" <ji...@apache.org> on 2020/01/08 23:29:00 UTC

[jira] [Created] (KAFKA-9389) Document how to use kafka-reassign-partitions.sh to change log dirs for a partition

James Cheng created KAFKA-9389:
----------------------------------

             Summary: Document how to use kafka-reassign-partitions.sh to change log dirs for a partition
                 Key: KAFKA-9389
                 URL: https://issues.apache.org/jira/browse/KAFKA-9389
             Project: Kafka
          Issue Type: Improvement
            Reporter: James Cheng


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.
 * [https://cwiki.apache.org/confluence/display/KAFKA/KIP-113%3A+Support+replicas+movement+between+log+directories]
 * KAFKA-5163
 * KAFKA-5694

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)