Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 6D8AC200C13 for ; Mon, 23 Jan 2017 02:15:35 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 6C2B8160B59; Mon, 23 Jan 2017 01:15:35 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id B4E83160B45 for ; Mon, 23 Jan 2017 02:15:34 +0100 (CET) Received: (qmail 25084 invoked by uid 500); 23 Jan 2017 01:15:33 -0000 Mailing-List: contact dev-help@kafka.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@kafka.apache.org Delivered-To: mailing list dev@kafka.apache.org Received: (qmail 25073 invoked by uid 99); 23 Jan 2017 01:15:33 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Jan 2017 01:15:33 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 5453818C40C for ; Mon, 23 Jan 2017 01:15:33 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.001 X-Spam-Level: * X-Spam-Status: No, score=1.001 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, KAM_TIME=3, RP_MATCHES_RCVD=-2.999] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id IM2VAI1AQ5y3 for ; Mon, 23 Jan 2017 01:15:32 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id C54AE5F23A for ; Mon, 23 Jan 2017 01:15:31 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 558C6E0362 for ; Mon, 23 Jan 2017 01:15:27 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 8DEFC2528C for ; Mon, 23 Jan 2017 01:15:26 +0000 (UTC) Date: Mon, 23 Jan 2017 01:15:26 +0000 (UTC) From: "Guozhang Wang (JIRA)" To: dev@kafka.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (KAFKA-1676) Ability to cancel replica reassignment in progress MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 23 Jan 2017 01:15:35 -0000 [ https://issues.apache.org/jira/browse/KAFKA-1676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Guozhang Wang updated KAFKA-1676: --------------------------------- Assignee: (was: Neha Narkhede) > Ability to cancel replica reassignment in progress > -------------------------------------------------- > > Key: KAFKA-1676 > URL: https://issues.apache.org/jira/browse/KAFKA-1676 > Project: Kafka > Issue Type: New Feature > Components: controller > Affects Versions: 0.8.1.1 > Reporter: Ryan Berdeen > Labels: newbie > > I've had several situations where I have started a replica reassignment that I've needed to cancel before it completed. > This has happened > * when moving to a new broker that turns out to be running on an impaired server > * if the extra replication hurts cluster performance > * dealing with replication bugs in kafka, like KAFKA-1670 > * when a single replica reassignment is taking a long time, and I want to start more replica assignments without waiting for the current one to finish. > For the first three cases, as a last resort I have deleted the {{/admin/reassign_partitions}} key from ZooKeeper and restarted the controller. I would like to be able to do this by signaling the controller to stop, and to leave the list of assignments as they exist at that moment. -- This message was sent by Atlassian JIRA (v6.3.4#6332)