You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/01/09 07:07: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=17011495#comment-17011495 ] 

ASF GitHub Bot commented on KAFKA-9389:
---------------------------------------

mitchell-h commented on pull request #7916: KAFKA-9389 - Document how to use kafka-reassign-partitions.sh to change log dirs for a partition
URL: https://github.com/apache/kafka/pull/7916
 
 
   This is a docs only PR.  Added documentation about specifying log_dirs inline with KIP-113 and updated example json schemas to include new "log_dirs" field examples.
   
   *Summary of testing strategy (including rationale)
   for the feature or bug fix. Unit and/or integration
   tests are expected for any behaviour change and
   system tests should be considered for larger changes.*
   
   ### Committer Checklist (excluded from commit message)
   - [ ] Verify design and implementation 
   - [ ] Verify test coverage and CI build status
   - [ x] Verify documentation (including upgrade notes)
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> 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
>            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)