vagetablechicken commented on PR #15064:
URL: https://github.com/apache/pulsar/pull/15064#issuecomment-1095930351

   > While testing, I found this exception when starting the connector. Could 
you please take a look? @vagetablechicken
   > 
   > ```
   > 2022-04-11T15:58:55,371+0800 [function-timer-thread-17-1] ERROR 
org.apache.pulsar.functions.runtime.RuntimeSpawner - 
public/default/jdbc-openmldb-sink Function Container is dead with following 
exception. Restarting.
   > java.lang.UnsatisfiedLinkError: 'long 
com._4paradigm.openmldb.sql_router_sdkJNI.new_SQLRouterOptions()'
   >         at 
com._4paradigm.openmldb.sql_router_sdkJNI.new_SQLRouterOptions(Native Method) 
~[?:?]
   >         at 
com._4paradigm.openmldb.SQLRouterOptions.<init>(SQLRouterOptions.java:56) ~[?:?]
   >         at 
com._4paradigm.openmldb.sdk.impl.SqlClusterExecutor.<init>(SqlClusterExecutor.java:66)
 ~[?:?]
   >         at 
com._4paradigm.openmldb.sdk.impl.SqlClusterExecutor.<init>(SqlClusterExecutor.java:90)
 ~[?:?]
   >         at 
com._4paradigm.openmldb.jdbc.SQLDriver.connect(SQLDriver.java:54) ~[?:?]
   >         at java.sql.DriverManager.getConnection(DriverManager.java:677) 
~[java.sql:?]
   >         at java.sql.DriverManager.getConnection(DriverManager.java:189) 
~[java.sql:?]
   >         at 
org.apache.pulsar.io.jdbc.JdbcAbstractSink.open(JdbcAbstractSink.java:93) ~[?:?]
   >         at 
org.apache.pulsar.functions.instance.JavaInstanceRunnable.setupOutput(JavaInstanceRunnable.java:857)
 ~[classes/:?]
   >         at 
org.apache.pulsar.functions.instance.JavaInstanceRunnable.setup(JavaInstanceRunnable.java:223)
 ~[classes/:?]
   >         at 
org.apache.pulsar.functions.instance.JavaInstanceRunnable.run(JavaInstanceRunnable.java:258)
 ~[classes/:?]
   >         at java.lang.Thread.run(Thread.java:829) [?:?]
   > ```
   > 
   > Full exception context
   
   Fixed, use openmldb-native allinone version.


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to