kafka-jira mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ewen Cheslack-Postava (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (KAFKA-5089) JAR mismatch in KafkaConnect leads to NoSuchMethodError in HDP 2.6
Date Fri, 21 Jul 2017 06:26:00 GMT

     [ https://issues.apache.org/jira/browse/KAFKA-5089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ewen Cheslack-Postava resolved KAFKA-5089.
------------------------------------------
    Resolution: Fixed

Going to close this since it should be resolved by [KIP-146|https://cwiki.apache.org/confluence/display/KAFKA/KIP-146+-+Classloading+Isolation+in+Connect]
which provides better classloader isolation. Please reopen if this is still an issue even
after that feature was added.

> JAR mismatch in KafkaConnect leads to NoSuchMethodError in HDP 2.6
> ------------------------------------------------------------------
>
>                 Key: KAFKA-5089
>                 URL: https://issues.apache.org/jira/browse/KAFKA-5089
>             Project: Kafka
>          Issue Type: Bug
>          Components: KafkaConnect
>    Affects Versions: 0.10.1.1
>         Environment: HDP 2.6, Centos 7.3.1611, kafka-0.10.1.2.6.0.3-8.el6.noarch
>            Reporter: Christoph K├Ârner
>
> When I follow the steps on the Getting Started Guide of KafkaConnect (https://kafka.apache.org/quickstart#quickstart_kafkaconnect),
it throws an NoSuchMethodError error. 
> {code:borderStyle=solid}
> [root@devbox kafka-broker]# ./bin/connect-standalone.sh config/connect-standalone.properties
config/connect-file-source.properties config/ connect-file-sink.properties
> [2017-04-19 14:38:36,583] INFO StandaloneConfig values:
>         access.control.allow.methods =
>         access.control.allow.origin =
>         bootstrap.servers = [localhost:6667]
>         internal.key.converter = class org.apache.kafka.connect.json.JsonConverter
>         internal.value.converter = class org.apache.kafka.connect.json.JsonConverter
>         key.converter = class org.apache.kafka.connect.json.JsonConverter
>         offset.flush.interval.ms = 10000
>         offset.flush.timeout.ms = 5000
>         offset.storage.file.filename = /tmp/connect.offsets
>         rest.advertised.host.name = null
>         rest.advertised.port = null
>         rest.host.name = null
>         rest.port = 8083
>         task.shutdown.graceful.timeout.ms = 5000
>         value.converter = class org.apache.kafka.connect.json.JsonConverter
>  (org.apache.kafka.connect.runtime.standalone.StandaloneConfig:180)
> [2017-04-19 14:38:36,756] INFO Logging initialized @714ms (org.eclipse.jetty.util.log:186)
> [2017-04-19 14:38:36,871] INFO Kafka Connect starting (org.apache.kafka.connect.runtime.Connect:52)
> [2017-04-19 14:38:36,872] INFO Herder starting (org.apache.kafka.connect.runtime.standalone.StandaloneHerder:70)
> [2017-04-19 14:38:36,872] INFO Worker starting (org.apache.kafka.connect.runtime.Worker:114)
> [2017-04-19 14:38:36,873] INFO Starting FileOffsetBackingStore with file /tmp/connect.offsets
(org.apache.kafka.connect.storage.FileOffsetBackingStore:60)
> [2017-04-19 14:38:36,877] INFO Worker started (org.apache.kafka.connect.runtime.Worker:119)
> [2017-04-19 14:38:36,878] INFO Herder started (org.apache.kafka.connect.runtime.standalone.StandaloneHerder:72)
> [2017-04-19 14:38:36,878] INFO Starting REST server (org.apache.kafka.connect.runtime.rest.RestServer:98)
> [2017-04-19 14:38:37,077] INFO jetty-9.2.15.v20160210 (org.eclipse.jetty.server.Server:327)
> [2017-04-19 14:38:37,154] WARN FAILED o.e.j.s.ServletContextHandler@3c46e67a{/,null,STARTING}:
java.lang.NoSuchMethodError: javax.ws.rs.core.Application.getProperties()Ljava/util/Map; (org.eclipse.jetty.util.component.AbstractLifeCycle:212)
> java.lang.NoSuchMethodError: javax.ws.rs.core.Application.getProperties()Ljava/util/Map;
>         at org.glassfish.jersey.server.ApplicationHandler.<init>(ApplicationHandler.java:331)
>         at org.glassfish.jersey.servlet.WebComponent.<init>(WebComponent.java:392)
>         at org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:177)
>         at org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:369)
>         at javax.servlet.GenericServlet.init(GenericServlet.java:241)
>         at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:616)
>         at org.eclipse.jetty.servlet.ServletHolder.initialize(ServletHolder.java:396)
>         at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:871)
>         at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:298)
>         at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:741)
>         at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
>         at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
>         at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
>         at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
>         at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
>         at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
>         at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
>         at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
>         at org.eclipse.jetty.server.handler.StatisticsHandler.doStart(StatisticsHandler.java:232)
>         at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
>         at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
>         at org.eclipse.jetty.server.Server.start(Server.java:387)
>         at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
>         at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
>         at org.eclipse.jetty.server.Server.doStart(Server.java:354)
>         at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
>         at org.apache.kafka.connect.runtime.rest.RestServer.start(RestServer.java:145)
>         at org.apache.kafka.connect.runtime.Connect.start(Connect.java:56)
>         at org.apache.kafka.connect.cli.ConnectStandalone.main(ConnectStandalone.java:84)
> [2017-04-19 14:38:37,158] WARN FAILED org.eclipse.jetty.server.handler.HandlerCollection@3c41ed1d[o.e.j.s.ServletContextHandler@3c46e67a{/,null,STARTING},
org.eclipse.jetty.server.handler.DefaultHandler@54d9d12d, org.eclipse.jetty.server.handler.RequestLogHandler@38425407]:
java.lang.NoSuchMethodError: javax.ws.rs.core.Application.getProperties()Ljava/util/Map; (org.eclipse.jetty.util.component.AbstractLifeCycle:212)
> java.lang.NoSuchMethodError: javax.ws.rs.core.Application.getProperties()Ljava/util/Map;
>         at org.glassfish.jersey.server.ApplicationHandler.<init>(ApplicationHandler.java:331)
>         at org.glassfish.jersey.servlet.WebComponent.<init>(WebComponent.java:392)
>         at org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:177)
>         at org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:369)
>         at javax.servlet.GenericServlet.init(GenericServlet.java:241)
>         at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:616)
>         at org.eclipse.jetty.servlet.ServletHolder.initialize(ServletHolder.java:396)
>         at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:871)
>         at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:298)
>         at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:741)
>         at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
>         at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
>         at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
>         at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
>         at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
>         at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
>         at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
>         at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
>         at org.eclipse.jetty.server.handler.StatisticsHandler.doStart(StatisticsHandler.java:232)
>         at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
>         at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
>         at org.eclipse.jetty.server.Server.start(Server.java:387)
>         at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
>         at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
>         at org.eclipse.jetty.server.Server.doStart(Server.java:354)
>         at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
>         at org.apache.kafka.connect.runtime.rest.RestServer.start(RestServer.java:145)
>         at org.apache.kafka.connect.runtime.Connect.start(Connect.java:56)
>         at org.apache.kafka.connect.cli.ConnectStandalone.main(ConnectStandalone.java:84)
> [2017-04-19 14:38:37,159] WARN FAILED org.eclipse.jetty.server.handler.StatisticsHandler@43bc63a3:
java.lang.NoSuchMethodError: javax.ws.rs.core.Application.getProperties()Ljava/util/Map; (org.eclipse.jetty.util.component.AbstractLifeCycle:212)
> java.lang.NoSuchMethodError: javax.ws.rs.core.Application.getProperties()Ljava/util/Map;
>         at org.glassfish.jersey.server.ApplicationHandler.<init>(ApplicationHandler.java:331)
>         at org.glassfish.jersey.servlet.WebComponent.<init>(WebComponent.java:392)
>         at org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:177)
>         at org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:369)
>         at javax.servlet.GenericServlet.init(GenericServlet.java:241)
>         at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:616)
>         at org.eclipse.jetty.servlet.ServletHolder.initialize(ServletHolder.java:396)
>         at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:871)
>         at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:298)
>         at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:741)
>         at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
>         at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
>         at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
>         at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
>         at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
>         at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
>         at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
>         at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
>         at org.eclipse.jetty.server.handler.StatisticsHandler.doStart(StatisticsHandler.java:232)
>         at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
>         at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
>         at org.eclipse.jetty.server.Server.start(Server.java:387)
>         at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
>         at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
>         at org.eclipse.jetty.server.Server.doStart(Server.java:354)
>         at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
>         at org.apache.kafka.connect.runtime.rest.RestServer.start(RestServer.java:145)
>         at org.apache.kafka.connect.runtime.Connect.start(Connect.java:56)
>         at org.apache.kafka.connect.cli.ConnectStandalone.main(ConnectStandalone.java:84)
> [2017-04-19 14:38:37,175] INFO Started ServerConnector@139982de{HTTP/1.1}{0.0.0.0:8083}
(org.eclipse.jetty.server.ServerConnector:266)
> [2017-04-19 14:38:37,176] WARN FAILED org.eclipse.jetty.server.Server@682b2fa: java.lang.NoSuchMethodError:
javax.ws.rs.core.Application.getProperties()Ljava/util/Map; (org.eclipse.jetty.util.component.AbstractLifeCycle:212)
> java.lang.NoSuchMethodError: javax.ws.rs.core.Application.getProperties()Ljava/util/Map;
>         at org.glassfish.jersey.server.ApplicationHandler.<init>(ApplicationHandler.java:331)
>         at org.glassfish.jersey.servlet.WebComponent.<init>(WebComponent.java:392)
>         at org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:177)
>         at org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:369)
>         at javax.servlet.GenericServlet.init(GenericServlet.java:241)
>         at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:616)
>         at org.eclipse.jetty.servlet.ServletHolder.initialize(ServletHolder.java:396)
>         at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:871)
>         at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:298)
>         at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:741)
>         at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
>         at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
>         at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
>         at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
>         at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
>         at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
>         at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
>         at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
>         at org.eclipse.jetty.server.handler.StatisticsHandler.doStart(StatisticsHandler.java:232)
>         at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
>         at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
>         at org.eclipse.jetty.server.Server.start(Server.java:387)
>         at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
>         at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
>         at org.eclipse.jetty.server.Server.doStart(Server.java:354)
>         at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
>         at org.apache.kafka.connect.runtime.rest.RestServer.start(RestServer.java:145)
>         at org.apache.kafka.connect.runtime.Connect.start(Connect.java:56)
>         at org.apache.kafka.connect.cli.ConnectStandalone.main(ConnectStandalone.java:84)
> [2017-04-19 14:38:37,176] ERROR Stopping after connector error (org.apache.kafka.connect.cli.ConnectStandalone:102)
> java.lang.NoSuchMethodError: javax.ws.rs.core.Application.getProperties()Ljava/util/Map;
>         at org.glassfish.jersey.server.ApplicationHandler.<init>(ApplicationHandler.java:331)
>         at org.glassfish.jersey.servlet.WebComponent.<init>(WebComponent.java:392)
>         at org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:177)
>         at org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:369)
>         at javax.servlet.GenericServlet.init(GenericServlet.java:241)
>         at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:616)
>         at org.eclipse.jetty.servlet.ServletHolder.initialize(ServletHolder.java:396)
>         at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:871)
>         at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:298)
>         at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:741)
>         at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
>         at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
>         at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
>         at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
>         at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
>         at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
>         at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
>         at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
>         at org.eclipse.jetty.server.handler.StatisticsHandler.doStart(StatisticsHandler.java:232)
>         at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
>         at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
>         at org.eclipse.jetty.server.Server.start(Server.java:387)
>         at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
>         at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
>         at org.eclipse.jetty.server.Server.doStart(Server.java:354)
>         at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
>         at org.apache.kafka.connect.runtime.rest.RestServer.start(RestServer.java:145)
>         at org.apache.kafka.connect.runtime.Connect.start(Connect.java:56)
>         at org.apache.kafka.connect.cli.ConnectStandalone.main(ConnectStandalone.java:84)
> [2017-04-19 14:38:37,178] INFO Kafka Connect stopping (org.apache.kafka.connect.runtime.Connect:68)
> [2017-04-19 14:38:37,179] INFO Stopping REST server (org.apache.kafka.connect.runtime.rest.RestServer:154)
> [2017-04-19 14:38:37,183] INFO Stopped ServerConnector@139982de{HTTP/1.1}{0.0.0.0:8083}
(org.eclipse.jetty.server.ServerConnector:306)
> [2017-04-19 14:38:37,193] INFO Stopped o.e.j.s.ServletContextHandler@3c46e67a{/,null,UNAVAILABLE}
(org.eclipse.jetty.server.handler.ContextHandler:865)
> [2017-04-19 14:38:37,195] INFO REST server stopped (org.apache.kafka.connect.runtime.rest.RestServer:165)
> [2017-04-19 14:38:37,195] INFO Herder stopping (org.apache.kafka.connect.runtime.standalone.StandaloneHerder:76)
> [2017-04-19 14:38:37,195] INFO Worker stopping (org.apache.kafka.connect.runtime.Worker:123)
> [2017-04-19 14:38:37,196] INFO Stopped FileOffsetBackingStore (org.apache.kafka.connect.storage.FileOffsetBackingStore:68)
> [2017-04-19 14:38:37,196] INFO Worker stopped (org.apache.kafka.connect.runtime.Worker:143)
> [2017-04-19 14:38:39,232] WARN could not create Dir using jarFile from url file:/usr/hdp/current/kafka-broker/bin/../libs/zookeeper.jar.
skipping. (org.reflections.Reflections:104)
> java.lang.NullPointerException
>         at java.util.zip.ZipFile.<init>(ZipFile.java:207)
>         at java.util.zip.ZipFile.<init>(ZipFile.java:149)
>         at java.util.jar.JarFile.<init>(JarFile.java:166)
>         at java.util.jar.JarFile.<init>(JarFile.java:130)
>         at org.reflections.vfs.Vfs$DefaultUrlTypes$1.createDir(Vfs.java:212)
>         at org.reflections.vfs.Vfs.fromURL(Vfs.java:99)
>         at org.reflections.vfs.Vfs.fromURL(Vfs.java:91)
>         at org.reflections.Reflections.scan(Reflections.java:237)
>         at org.reflections.Reflections.scan(Reflections.java:204)
>         at org.reflections.Reflections.<init>(Reflections.java:129)
>         at org.apache.kafka.connect.runtime.AbstractHerder.connectorPlugins(AbstractHerder.java:275)
>         at org.apache.kafka.connect.runtime.AbstractHerder$1.run(AbstractHerder.java:384)
>         at java.lang.Thread.run(Thread.java:745)
> [2017-04-19 14:38:39,234] WARN could not create Vfs.Dir from url. ignoring the exception
and continuing (org.reflections.Reflections:208)
> org.reflections.ReflectionsException: Could not open url connection
>         at org.reflections.vfs.JarInputDir$1$1.<init>(JarInputDir.java:37)
>         at org.reflections.vfs.JarInputDir$1.iterator(JarInputDir.java:33)
>         at org.reflections.Reflections.scan(Reflections.java:240)
>         at org.reflections.Reflections.scan(Reflections.java:204)
>         at org.reflections.Reflections.<init>(Reflections.java:129)
>         at org.apache.kafka.connect.runtime.AbstractHerder.connectorPlugins(AbstractHerder.java:275)
>         at org.apache.kafka.connect.runtime.AbstractHerder$1.run(AbstractHerder.java:384)
>         at java.lang.Thread.run(Thread.java:745)
> Caused by: java.io.FileNotFoundException: /usr/hdp/current/kafka-broker/bin/../libs/zookeeper.jar
(No such file or directory)
>         at java.io.FileInputStream.open0(Native Method)
>         at java.io.FileInputStream.open(FileInputStream.java:195)
>         at java.io.FileInputStream.<init>(FileInputStream.java:138)
>         at java.io.FileInputStream.<init>(FileInputStream.java:93)
>         at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90)
>         at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188)
>         at org.reflections.vfs.JarInputDir$1$1.<init>(JarInputDir.java:36)
>         ... 7 more
> [2017-04-19 14:38:41,473] WARN could not create Dir using jarFile from url file:/usr/hdp/current/kafka-broker/bin/../libs/ojdbc6.jar.
skipping. (org.reflections.Reflections:104)
> java.lang.NullPointerException
>         at java.util.zip.ZipFile.<init>(ZipFile.java:207)
>         at java.util.zip.ZipFile.<init>(ZipFile.java:149)
>         at java.util.jar.JarFile.<init>(JarFile.java:166)
>         at java.util.jar.JarFile.<init>(JarFile.java:130)
>         at org.reflections.vfs.Vfs$DefaultUrlTypes$1.createDir(Vfs.java:212)
>         at org.reflections.vfs.Vfs.fromURL(Vfs.java:99)
>         at org.reflections.vfs.Vfs.fromURL(Vfs.java:91)
>         at org.reflections.Reflections.scan(Reflections.java:237)
>         at org.reflections.Reflections.scan(Reflections.java:204)
>         at org.reflections.Reflections.<init>(Reflections.java:129)
>         at org.apache.kafka.connect.runtime.AbstractHerder.connectorPlugins(AbstractHerder.java:275)
>         at org.apache.kafka.connect.runtime.AbstractHerder$1.run(AbstractHerder.java:384)
>         at java.lang.Thread.run(Thread.java:745)
> [2017-04-19 14:38:41,474] WARN could not create Vfs.Dir from url. ignoring the exception
and continuing (org.reflections.Reflections:208)
> org.reflections.ReflectionsException: Could not open url connection
>         at org.reflections.vfs.JarInputDir$1$1.<init>(JarInputDir.java:37)
>         at org.reflections.vfs.JarInputDir$1.iterator(JarInputDir.java:33)
>         at org.reflections.Reflections.scan(Reflections.java:240)
>         at org.reflections.Reflections.scan(Reflections.java:204)
>         at org.reflections.Reflections.<init>(Reflections.java:129)
>         at org.apache.kafka.connect.runtime.AbstractHerder.connectorPlugins(AbstractHerder.java:275)
>         at org.apache.kafka.connect.runtime.AbstractHerder$1.run(AbstractHerder.java:384)
>         at java.lang.Thread.run(Thread.java:745)
> Caused by: java.io.FileNotFoundException: /usr/hdp/current/kafka-broker/bin/../libs/ojdbc6.jar
(No such file or directory)
>         at java.io.FileInputStream.open0(Native Method)
>         at java.io.FileInputStream.open(FileInputStream.java:195)
>         at java.io.FileInputStream.<init>(FileInputStream.java:138)
>         at java.io.FileInputStream.<init>(FileInputStream.java:93)
>         at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90)
>         at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188)
>         at org.reflections.vfs.JarInputDir$1$1.<init>(JarInputDir.java:36)
>         ... 7 more
> [2017-04-19 14:38:42,351] INFO Reflections took 5392 ms to scan 111 urls, producing 5940
keys and 38349 values  (org.reflections.Reflections:229)
> [2017-04-19 14:38:42,364] INFO Herder stopped (org.apache.kafka.connect.runtime.standalone.StandaloneHerder:86)
> [2017-04-19 14:38:42,364] INFO Kafka Connect stopped (org.apache.kafka.connect.runtime.Connect:73)
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message