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 A4F032009F3 for ; Fri, 20 May 2016 18:02:14 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id A3701160A24; Fri, 20 May 2016 16:02:14 +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 EB2CC1609B1 for ; Fri, 20 May 2016 18:02:13 +0200 (CEST) Received: (qmail 80652 invoked by uid 500); 20 May 2016 16:02:13 -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 80628 invoked by uid 99); 20 May 2016 16:02:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 May 2016 16:02:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id D76522C1F58 for ; Fri, 20 May 2016 16:02:12 +0000 (UTC) Date: Fri, 20 May 2016 16:02:12 +0000 (UTC) From: "Ismael Juma (JIRA)" To: dev@kafka.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (KAFKA-3730) Problem when updating from 0.8.2 to 0.9.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 20 May 2016 16:02:14 -0000 [ https://issues.apache.org/jira/browse/KAFKA-3730?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15293606#comment-15293606 ] Ismael Juma commented on KAFKA-3730: ------------------------------------ ZooKeeper stores information about the brokers under: `/brokers/ids/{id}` If you could include that information for all brokers here, that would be helpful. > Problem when updating from 0.8.2 to 0.9.0 > ----------------------------------------- > > Key: KAFKA-3730 > URL: https://issues.apache.org/jira/browse/KAFKA-3730 > Project: Kafka > Issue Type: Bug > Affects Versions: 0.8.2.1, 0.9.0.0 > Environment: SUSE SLE 10.3 64bit > Reporter: Clint Hillerman > Priority: Critical > Labels: newbie > > Hello, > I'm having trouble upgrading a 3 node kafka cluster from 0.8.2.1 to 0.9.0.0. I have followed the steps in the upgrade guide here: > http://kafka.apache.org/documentation.html > Also, my zookeepers are on the same box as kafka. Each node is both a zookeeper and a broker. > Here's what I did: > On each box one at a time I, > - stopped kafka. > - replaced the code with the new version. Just removed the old kafka dir and untared the new 0.9.0.0 version into it's place. Note: the data dir is in a different location and was not deleted. > - copied the server.properties file from the 0.8.2.1 version to the 0.9.0.0 config dir. > - added the "inter.broker.protocol.version=0.8.2.X" line to the server.properties in 0.9.0.0's config dir. > - restarted kafka > After I completed that process on all 3 broker/zookeeper boxes, I switched the version to 0.9.0.0 in the server.properties on one broker and restarted kafka. > This caused an error in my server.log. About one every few seconds: > [2016-05-18 15:00:27,956] WARN [ReplicaFetcherThread-0-12], Error in fetch kafka.server.ReplicaFetcherThread$FetchRequest@45597bba. Possible cause: org.apache.kafka.common.protocol.types.SchemaException: Error reading field 'responses': Error reading field 'topic': java.nio.BufferUnderflowException (kafka.server.ReplicaFetcherThread) > A few other things I tried: > Restarting zookeepers. There status was also correct when I ran "server mapr-zookeeper" qstatus. > The same process with 9.1 and got this error instead: > [2016-05-18 14:07:15,545] WARN [ReplicaFetcherThread-0-12], Error in fetch kafka.server.ReplicaFetcherThread$FetchRequest@484ad173. Possible cause: org.apache.kafka.common.protocol.types.SchemaException: Error reading field 'responses': Error reading array of size 1078124, only 176 bytes available (kafka.server.ReplicaFetcherThread) > Restarting everything at once (all broker and zookeeper processes) > Please let me know if I should provide more information or if posted this in the wrong location. I'm also not sure if this is the right location to post bugs like this. If there is a forum or something where this is more appropriate please point in that direction. > Thanks, > cmhillerman -- This message was sent by Atlassian JIRA (v6.3.4#6332)