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/03/11 05:44:00 UTC
[jira] [Commented] (KAFKA-9389) Document how to use
kafka-reassign-partitions.sh to change log dirs for a partition
[ https://issues.apache.org/jira/browse/KAFKA-9389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17056666#comment-17056666 ]
James Cheng commented on KAFKA-9389:
------------------------------------
[~mitchellh], I think in order for Jira to auto-link your PR, the title of your PR must start with "KAFKA-9389 "
> 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
> Assignee: Mitchell
> Priority: Major
> Labels: newbie
>
> 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)