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

Getting some error logs for camel.connector 3.1.0 with strimzi 0.20.0 update #766

Closed
ruchirvaninasdaq opened this issue Dec 7, 2020 · 10 comments
Labels
Milestone

Comments

@ruchirvaninasdaq
Copy link

Hello,

We have updated the kafka cluster to strimzi 0.20.0 version and I am seeing that all my connectors (s3 connectors) started printing this error.

Dec 07, 2020 10:48:09 PM org.apache.kafka.connect.runtime.rest.errors.ConnectExceptionMapper toResponse
SEVERE: Uncaught exception in REST call to /admin/loggers/
javax.ws.rs.NotFoundException: HTTP 404 Not Found
        at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:250)
        at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
        at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
        at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
        at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
        at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
        at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
        at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:232)
        at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:679)
        at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:392)
        at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346)
        at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:365)
        at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:318)
        at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)
        at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:873)
        at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:542)
        at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255)
        at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1700)
        at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255)
        at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1345)
        at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203)
        at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:480)
        at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1667)
        at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201)
        at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1247)
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144)
        at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:220)
        at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:174)
        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
        at org.eclipse.jetty.server.Server.handle(Server.java:505)
        at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:370)
        at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:267)
        at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305)
        at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
        at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:117)
        at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333)
        at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310)
        at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168)
        at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126)
        at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366)
        at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:698)
        at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:804)
        at java.lang.Thread.run(Thread.java:748)

I am running camel connector version 3.1.0 I have updated the connector to add few more headers for my specific purpose.
It has been working with 0.16, 0.19 strimzi release. The connector is working as expected (processing data and pushing to kafka) but just posting these error logs.

Do I need to upgrade camel-connector version to latest (3.6.0)? or is there any settings I can use in current camel (3.1.0) to diable this api calls.

@oscerd
Copy link
Contributor

oscerd commented Dec 10, 2020

Are you using the camel component version 3.1.0? Or are you using the camel connector from camel-kafka-connector? It's not clear, there is no connectors with version 3.1.0 or 3.6.0, btw the suggestion is to upgrade to the latest version

@ruchirvaninasdaq
Copy link
Author

Sorry, For the confusion. I am using connector version 0.0.1-SNAPSHOT and camel component version 3.1.0. Do have any idea why are these errors showing up?

@oscerd
Copy link
Contributor

oscerd commented Dec 10, 2020

You don't need the camel component if you use the new release

@oscerd
Copy link
Contributor

oscerd commented Dec 10, 2020

The connector are now packaged as zip

@oscerd
Copy link
Contributor

oscerd commented Dec 10, 2020

By the way use a released version not a snapshot

@ruchirvaninasdaq
Copy link
Author

Yeah, I am trying to upgrade, but we need to upgrade strimzi 0.20 sooner, so is there any way I can fix these errors?

@ruchirvaninasdaq
Copy link
Author

ruchirvaninasdaq commented Dec 10, 2020

Yeah, By the time I decided to use the camel-Kafka-connector, there was not stable version, I know repo was saying its not production-ready (It was WIP). So its my mistake to use that code. But I want to check with you if you know about this issue. I can try fixing by my own.

@oscerd
Copy link
Contributor

oscerd commented Dec 10, 2020

The release 0.6.0/0.6.1 has been tested against strimzi 0.20. So the only way I see is upgrading

@ruchirvaninasdaq
Copy link
Author

Thanks for the information.

@ruchirvaninasdaq
Copy link
Author

Closing the issue, it had to do with the strimzi image. Thanks for help.

strimzi/strimzi-kafka-operator#4105

@oscerd oscerd added this to the 0.7.0 milestone Jan 29, 2021
@oscerd oscerd added the 0.7.0 label Jan 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants