Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Kafka >> mail # user >> Topic creation on restart


+
Jason Rosenberg 2013-11-01, 03:41
+
Neha Narkhede 2013-11-01, 04:35
+
Jun Rao 2013-11-01, 04:40
Copy link to this message
-
Re: Topic creation on restart
Ok,

So, I can safely ignore these, it sounds like.  I don't see any
corresponding logging around it subsequently not succeeding to actually
create the topic in zk.

Would it be possible for the broker to make sure all metadata is
propagated, before completing the startup sequence, and taking on metadata
requests?

If I were to not place the newly started broker back into the vip for a
delay period after the kafka broker has started, would that solve this
issue?

Jason
On Fri, Nov 1, 2013 at 12:39 AM, Jun Rao <[EMAIL PROTECTED]> wrote:

> This is probably because some metadata requests were issued to a newly
> started broker before the controller has propagated the metadata. Since the
> broker doesn't have the metadata in the cache, it thinks the topic doesn't
> exist and tries to create the topic. The creation will fail though since
> it's already registered in ZK. These INFO logging should be transient
> though.
>
> Thanks,
>
> Jun
>
>
> On Thu, Oct 31, 2013 at 8:41 PM, Jason Rosenberg <[EMAIL PROTECTED]> wrote:
>
> > Some times during a rolling restart, I see lots of these messages during
> > the restart (these happened in the logs of the 2nd server in the cluster
> to
> > restart (broker 11), after having restarted started, and during the time
> > the 3rd node (broker 9) is doing a controlled shutdown before stopping).
> >
> > Is it creating new topics (it shouldn't have been!).  Or is it moving
> > topics around, or what?
> >
> > 2013-11-01 03:25:55,661  INFO [kafka-request-handler-7]
> admin.AdminUtils$ -
> > Topic creation { "partitions":{ "0":[ 9, 11 ] }, "version":1 }
> > 2013-11-01 03:26:01,577  INFO [kafka-request-handler-0]
> admin.AdminUtils$ -
> > Topic creation { "partitions":{ "0":[ 9, 10 ] }, "version":1 }
> > 2013-11-01 03:26:07,767  INFO [kafka-request-handler-1]
> admin.AdminUtils$ -
> > Topic creation { "partitions":{ "0":[ 9, 11 ] }, "version":1 }
> > 2013-11-01 03:26:07,823  INFO [kafka-request-handler-1]
> admin.AdminUtils$ -
> > Topic creation { "partitions":{ "0":[ 10, 11 ] }, "version":1 }
> > 2013-11-01 03:26:11,183  INFO [kafka-request-handler-2]
> admin.AdminUtils$ -
> > Topic creation { "partitions":{ "0":[ 10, 11 ] }, "version":1 }
> > 20
> >
>

 
+
Neha Narkhede 2013-11-01, 05:18
+
Jason Rosenberg 2013-11-01, 05:56
+
Neha Narkhede 2013-11-01, 09:54
+
Jason Rosenberg 2013-11-01, 19:14
+
Neha Narkhede 2013-11-01, 20:46
+
Jason Rosenberg 2013-11-04, 19:48
+
Neha Narkhede 2013-11-05, 05:12
+
Jason Rosenberg 2013-11-05, 05:41
+
Priya Matpadi 2013-11-05, 06:21
+
Neha Narkhede 2013-11-05, 14:54
+
Neha Narkhede 2013-11-05, 14:54
+
Jason Rosenberg 2013-11-06, 00:59
+
Neha Narkhede 2013-11-06, 02:12
+
Jason Rosenberg 2013-11-06, 18:10