You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2019/05/29 00:24:20 UTC
[GitHub] [pulsar] jerrypeng opened a new pull request #4398: fix dependency
issue with pulsar-io-common
jerrypeng opened a new pull request #4398: fix dependency issue with pulsar-io-common
URL: https://github.com/apache/pulsar/pull/4398
### Motivation
Can't use pulsar modules within sources/sinks/functions due to internal shading
Will cause exceptions such as
```
23:28:14.120 [tenant-ali/ns-ali/twitter-source1-0] ERROR org.apache.pulsar.functions.instance.JavaInstanceRunnable - [tenant-ali/ns-ali/twitter-source1:0] Uncaught exception in Java Instance
java.lang.NoSuchMethodError: org.apache.pulsar.common.util.ObjectMapperFactory.getThreadLocal()Lcom/fasterxml/jackson/databind/ObjectMapper;
at org.apache.pulsar.io.common.IOConfigUtils.loadWithSecrets(IOConfigUtils.java:68) ~[pulsar-io-common-2.4.0-SNAPSHOT.jar:2.4.0-SNAPSHOT]
at org.apache.pulsar.io.common.IOConfigUtils.loadWithSecrets(IOConfigUtils.java:36) ~[pulsar-io-common-2.4.0-SNAPSHOT.jar:2.4.0-SNAPSHOT]
at org.apache.pulsar.io.twitter.TwitterFireHose.open(TwitterFireHose.java:60) ~[pulsar-io-twitter-0.0.1.nar-unpacked/:?]
at org.apache.pulsar.functions.instance.JavaInstanceRunnable.setupInput(JavaInstanceRunnable.java:688) ~[java-instance.jar:2.4.0-streamlio-22]
at org.apache.pulsar.functions.instance.JavaInstanceRunnable.setupJavaInstance(JavaInstanceRunnable.java:200) ~[java-instance.jar:2.4.0-streamlio-22]
at org.apache.pulsar.functions.instance.JavaInstanceRunnable.run(JavaInstanceRunnable.java:230) [java-instance.jar:2.4.0-streamlio-22]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_212]
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services