kafka-jira mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KAFKA-5929) Save pre-assignment to file to avoid too long text to display when do topic partition reassign
Date Wed, 27 Sep 2017 02:32:00 GMT

    [ https://issues.apache.org/jira/browse/KAFKA-5929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16181901#comment-16181901
] 

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

GitHub user uncleGen reopened a pull request:

    https://github.com/apache/kafka/pull/3897

    KAFKA-5929: Save pre-assignment to file to avoid too long text to display when do topic
partition reassign

    When do partition reassign
    - before pr
    Pre-assignment will be printed directly. It is not friendly when the text is too long.
    
    - after pr
    Pre-assignment will still be printed directly, but will be save to a file at the same
time, naming with suffix ".rollback" of "reassignment-json-file". For example:
    
    ```
    ./kafka-reassign-partitions.sh --reassignment-json-file test.json ...
    ```
    then we may get a file **test.json.rollback**


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/uncleGen/kafka KAFKA-5929

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/kafka/pull/3897.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 #3897
    
----
commit b5806c9f09459e473d6d1eb66c46a546c526d9c7
Author: uncleGen <hustyugm@gmail.com>
Date:   2017-09-19T07:40:09Z

    Save pre-assignment to file to avoid too long text to display when do topic partition
reassign

commit 19d3f84a237c3a685d805f0974282734fcc8e655
Author: uncleGen <hustyugm@gmail.com>
Date:   2017-09-19T08:23:50Z

    findbugs fix

----


> Save pre-assignment to file to avoid too long text to display when do topic partition
reassign
> ----------------------------------------------------------------------------------------------
>
>                 Key: KAFKA-5929
>                 URL: https://issues.apache.org/jira/browse/KAFKA-5929
>             Project: Kafka
>          Issue Type: Improvement
>          Components: admin
>            Reporter: Genmao Yu
>            Priority: Minor
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message