You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by Hanish Bansal <ha...@gmail.com> on 2013/07/05 04:53:25 UTC
Kafka rolling upgrade
Hi All,
I am using *Kafka-0.7.2 *in distributed mode.
Now i want to upgrade Kafka version to recent stable release-*0.8 Beta *with
rolling upgrade without * *any downtime.
I tried to upgrade one kafka node but after starting that node i am getting
Null Pointer Exception. This may be due *data format mismatch between both
release*.
My main purpose is to upgrade Kafka without shutting down whole cluster.
I want to know if on one machine i upgrade Kafka and add that node to same
running cluster while on another machines old Kafka version are running.
Will it create any problem?
If i upgrade whole cluster to new Kafka version then will it be consistent
with previous data ?
--
*Thanks & Regards*
*Hanish Bansal*
Re: Kafka rolling upgrade
Posted by Hanish Bansal <ha...@gmail.com>.
Thanks Jun !
On Fri, Jul 5, 2013 at 9:38 AM, Jun Rao <ju...@gmail.com> wrote:
> Kafka 0.8 is not backward compatible with 0.7. So you can't do inplace
> upgrade. We do have a migration tool. See
> https://cwiki.apache.org/confluence/display/KAFKA/Migrating+from+0.7+to+0.8
>
> Thanks,
>
> Jun
>
>
> On Thu, Jul 4, 2013 at 7:53 PM, Hanish Bansal <
> hanish.bansal.agarwal@gmail.com> wrote:
>
> > Hi All,
> >
> > I am using *Kafka-0.7.2 *in distributed mode.
> >
> > Now i want to upgrade Kafka version to recent stable release-*0.8 Beta
> > *with
> > rolling upgrade without * *any downtime.
> >
> > I tried to upgrade one kafka node but after starting that node i am
> getting
> > Null Pointer Exception. This may be due *data format mismatch between
> both
> > release*.
> >
> > My main purpose is to upgrade Kafka without shutting down whole cluster.
> >
> > I want to know if on one machine i upgrade Kafka and add that node to
> same
> > running cluster while on another machines old Kafka version are running.
> > Will it create any problem?
> >
> > If i upgrade whole cluster to new Kafka version then will it be
> consistent
> > with previous data ?
> >
> > --
> > *Thanks & Regards*
> > *Hanish Bansal*
> >
>
--
*Thanks & Regards*
*Hanish Bansal*
Re: Kafka rolling upgrade
Posted by Jun Rao <ju...@gmail.com>.
Kafka 0.8 is not backward compatible with 0.7. So you can't do inplace
upgrade. We do have a migration tool. See
https://cwiki.apache.org/confluence/display/KAFKA/Migrating+from+0.7+to+0.8
Thanks,
Jun
On Thu, Jul 4, 2013 at 7:53 PM, Hanish Bansal <
hanish.bansal.agarwal@gmail.com> wrote:
> Hi All,
>
> I am using *Kafka-0.7.2 *in distributed mode.
>
> Now i want to upgrade Kafka version to recent stable release-*0.8 Beta
> *with
> rolling upgrade without * *any downtime.
>
> I tried to upgrade one kafka node but after starting that node i am getting
> Null Pointer Exception. This may be due *data format mismatch between both
> release*.
>
> My main purpose is to upgrade Kafka without shutting down whole cluster.
>
> I want to know if on one machine i upgrade Kafka and add that node to same
> running cluster while on another machines old Kafka version are running.
> Will it create any problem?
>
> If i upgrade whole cluster to new Kafka version then will it be consistent
> with previous data ?
>
> --
> *Thanks & Regards*
> *Hanish Bansal*
>