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 9FEB0200D45 for ; Thu, 23 Nov 2017 15:49:04 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 9E51B160BFE; Thu, 23 Nov 2017 14:49:04 +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 E523B160BEF for ; Thu, 23 Nov 2017 15:49:03 +0100 (CET) Received: (qmail 22692 invoked by uid 500); 23 Nov 2017 14:49:03 -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 22679 invoked by uid 99); 23 Nov 2017 14:49:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Nov 2017 14:49:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 4009DCC200 for ; Thu, 23 Nov 2017 14:49:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -98.511 X-Spam-Level: X-Spam-Status: No, score=-98.511 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_NUMSUBJECT=0.5, KB_WAM_FROM_NAME_SINGLEWORD=0.2, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id aGs8jpMBOXGI for ; Thu, 23 Nov 2017 14:49:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 4E3605FBF6 for ; Thu, 23 Nov 2017 14:49:01 +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 E1B49E0248 for ; Thu, 23 Nov 2017 14:49:00 +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 95E462419F for ; Thu, 23 Nov 2017 14:49:00 +0000 (UTC) Date: Thu, 23 Nov 2017 14:49:00 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: jira@kafka.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (KAFKA-6238) Issues with protocol version when applying a rolling upgrade to 1.0.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 23 Nov 2017 14:49:04 -0000 [ https://issues.apache.org/jira/browse/KAFKA-6238?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1626= 4421#comment-16264421 ]=20 ASF GitHub Bot commented on KAFKA-6238: --------------------------------------- Github user asfgit closed the pull request at: https://github.com/apache/kafka/pull/4256 > Issues with protocol version when applying a rolling upgrade to 1.0.0 > --------------------------------------------------------------------- > > Key: KAFKA-6238 > URL: https://issues.apache.org/jira/browse/KAFKA-6238 > Project: Kafka > Issue Type: Bug > Components: documentation > Affects Versions: 1.0.0 > Reporter: Diego Louz=C3=A1n > Assignee: Jason Gustafson > > Hello, > I am trying to perform a rolling upgrade from 0.10.0.1 to 1.0.0, and acco= rding to the instructions in the documentation, I should only have to upgra= de the "inter.broker.protocol.version" parameter in the first step. But aft= er setting the value to "0.10.0" or "0.10.0.1" (tried both), the broker ref= uses to start with the following error: > {code} > [2017-11-20 08:28:46,620] FATAL (kafka.Kafka$) > java.lang.IllegalArgumentException: requirement failed: log.message.forma= t.version 1.0-IV0 cannot be used when inter.broker.protocol.version is set = to 0.10.0.1 > at scala.Predef$.require(Predef.scala:224) > at kafka.server.KafkaConfig.validateValues(KafkaConfig.scala:1205= ) > at kafka.server.KafkaConfig.(KafkaConfig.scala:1170) > at kafka.server.KafkaConfig$.fromProps(KafkaConfig.scala:881) > at kafka.server.KafkaConfig$.fromProps(KafkaConfig.scala:878) > at kafka.server.KafkaServerStartable$.fromProps(KafkaServerStarta= ble.scala:28) > at kafka.Kafka$.main(Kafka.scala:82) > at kafka.Kafka.main(Kafka.scala) > {code} > I checked the instructions for rolling upgrades to previous versions (nam= ely 0.11.0.0), and in here it's stated that is also needed to upgrade the "= log.message.format.version" parameter in two stages. I have tried that and = the upgrade worked. It seems it still applies to version 1.0.0, so I'm not = sure if this is wrong documentation, or an actual issue with kafka since it= should work as stated in the docs. > Regards, > Diego Louz=C3=A1n -- This message was sent by Atlassian JIRA (v6.4.14#64029)