Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kafka Connect cannot create topics #2

Open
djarza opened this issue May 19, 2018 · 0 comments
Open

Kafka Connect cannot create topics #2

djarza opened this issue May 19, 2018 · 0 comments

Comments

@djarza
Copy link
Owner

djarza commented May 19, 2018

Random error:

2018-05-17 14:02:01,862 INFO   ||  Kafka Connect started   [org.apache.kafka.connect.runtime.Connect]
2018-05-17 14:02:05,412 ERROR  ||  Uncaught exception in herder work thread, exiting:    [org.apache.kafka.connect.runtime.distributed.DistributedHerder]
org.apache.kafka.connect.errors.ConnectException: Error while attempting to create/find topic(s) 'fb.connect.offsets'
   at org.apache.kafka.connect.util.TopicAdmin.createTopics(TopicAdmin.java:247)
   ...
Caused by: java.util.concurrent.ExecutionException: org.apache.kafka.common.errors.UnknownServerException: KeeperErrorCode = Session expired for /brokers/topics/fb.connect.offsets
   at org.apache.kafka.common.internals.KafkaFutureImpl.wrapAndThrow(KafkaFutureImpl.java:45)
   ...
   ... 11 more
Caused by: org.apache.kafka.common.errors.UnknownServerException: KeeperErrorCode = Session expired for /brokers/topics/fb.connect.offsets
2018-05-17 14:02:05,438 INFO   ||  Kafka Connect stopping   [org.apache.kafka.connect.runtime.Connect]
2018-05-17 14:02:05,438 INFO   ||  Stopping REST server   [org.apache.kafka.connect.runtime.rest.RestServer]
2018-05-17 14:03:05,472 INFO   ||  Stopped ServerConnector@760a4916{HTTP/1.1}{172.18.0.9:8083}   [org.eclipse.jetty.server.ServerConnector]
2018-05-17 14:03:05,498 INFO   ||  Stopped o.e.j.s.ServletContextHandler@6be2c838{/,null,UNAVAILABLE}   [org.eclipse.jetty.server.handler.ContextHandler]
2018-05-17 14:03:32,948 WARN   ||     [org.eclipse.jetty.servlet.ServletHandler]
javax.servlet.ServletException: A MultiException has 1 exceptions.  They are:
1. java.lang.IllegalStateException: ServiceLocatorImpl(__HK2_Generated_0,1,641403533) has been shut down

   at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:489)
   ...
Caused by: A MultiException has 1 exceptions.  They are:
1. java.lang.IllegalStateException: ServiceLocatorImpl(__HK2_Generated_0,1,641403533) has been shut down

   at org.jvnet.hk2.internal.FactoryCreator.getFactoryHandle(FactoryCreator.java:106)
   ...
   ... 23 more
Caused by: java.lang.IllegalStateException: ServiceLocatorImpl(__HK2_Generated_0,1,641403533) has been shut down
   at org.jvnet.hk2.internal.ServiceLocatorImpl.checkState(ServiceLocatorImpl.java:2371)
   ...
   ... 31 more
2018-05-17 14:03:32,950 INFO   ||  172.18.0.1 - - [1526565722682] "GET /connectors HTTP/1.1" 500 294  90268   [org.apache.kafka.connect.runtime.rest.RestServer]
2018-05-17 14:03:32,951 WARN   ||  /connectors   [org.eclipse.jetty.server.HttpChannel]
javax.servlet.ServletException: javax.servlet.ServletException: A MultiException has 1 exceptions.  They are:
1. java.lang.IllegalStateException: ServiceLocatorImpl(__HK2_Generated_0,1,641403533) has been shut down

   at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:130)
   ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant