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 A7AB3200CF8 for ; Wed, 16 Aug 2017 01:00:11 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id A69E916791A; Tue, 15 Aug 2017 23:00:11 +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 ECC8A167919 for ; Wed, 16 Aug 2017 01:00:10 +0200 (CEST) Received: (qmail 540 invoked by uid 500); 15 Aug 2017 23:00:10 -0000 Mailing-List: contact jira-help@kafka.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@kafka.apache.org Delivered-To: mailing list jira@kafka.apache.org Received: (qmail 529 invoked by uid 99); 15 Aug 2017 23:00:10 -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; Tue, 15 Aug 2017 23:00:10 +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 B172A180582 for ; Tue, 15 Aug 2017 23:00:09 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] 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 RBB_E0Q1p5cV for ; Tue, 15 Aug 2017 23:00:09 +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 57C0660E9E for ; Tue, 15 Aug 2017 23:00:08 +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 19680E0D92 for ; Tue, 15 Aug 2017 23:00:07 +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 6AE87218F2 for ; Tue, 15 Aug 2017 23:00:06 +0000 (UTC) Date: Tue, 15 Aug 2017 23:00:06 +0000 (UTC) From: "Randall Hauch (JIRA)" To: jira@kafka.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (KAFKA-5736) Improve error message in Connect when all kafka brokers are down MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 15 Aug 2017 23:00:11 -0000 [ https://issues.apache.org/jira/browse/KAFKA-5736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Randall Hauch updated KAFKA-5736: --------------------------------- Fix Version/s: 1.0.0 > Improve error message in Connect when all kafka brokers are down > ---------------------------------------------------------------- > > Key: KAFKA-5736 > URL: https://issues.apache.org/jira/browse/KAFKA-5736 > Project: Kafka > Issue Type: Bug > Components: KafkaConnect > Affects Versions: 0.11.0.0 > Reporter: Konstantine Karantasis > Assignee: Konstantine Karantasis > Fix For: 0.11.0.1, 1.0.0 > > Original Estimate: 3h > Remaining Estimate: 3h > > Currently when all the Kafka brokers are down, Kafka Connect is failing with a pretty unintuitive message when it tries to, for instance, reconfigure tasks. > Example output: > {code:java} > [2017-08-15 19:12:09,959] ERROR Failed to reconfigure connector's tasks, retrying after backoff: (org.apache.kafka.connect.runtime.distributed.DistributedHerder) > java.lang.IllegalArgumentException: CircularIterator can only be used on non-empty lists > at org.apache.kafka.common.utils.CircularIterator.(CircularIterator.java:29) > at org.apache.kafka.clients.consumer.RoundRobinAssignor.assign(RoundRobinAssignor.java:61) > at org.apache.kafka.clients.consumer.internals.AbstractPartitionAssignor.assign(AbstractPartitionAssignor.java:68) > at > ... (connector code) > at org.apache.kafka.connect.runtime.Worker.connectorTaskConfigs(Worker.java:230) > {code} > The error message needs to be improved, since its root cause is the absence kafka brokers for assignment. -- This message was sent by Atlassian JIRA (v6.4.14#64029)