You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by "massakam (via GitHub)" <gi...@apache.org> on 2023/03/07 07:58:38 UTC

[GitHub] [pulsar] massakam commented on pull request #19736: [fix][sec] Bump snakeyaml to 2.0

massakam commented on PR #19736:
URL: https://github.com/apache/pulsar/pull/19736#issuecomment-1457715199

   Some tests failed. It seems impossible to upgrade snakeyaml at least until jackson-dataformat-yaml is fixed.
   ```
     Error:  Tests run: 8, Failures: 1, Errors: 0, Skipped: 3, Time elapsed: 4.55 s <<< FAILURE! - in org.apache.pulsar.io.alluxio.sink.AlluxioSinkConfigTest
     Error:  loadFromYamlFileTest(org.apache.pulsar.io.alluxio.sink.AlluxioSinkConfigTest)  Time elapsed: 0.012 s  <<< FAILURE!
     java.lang.NoSuchMethodError: 'void org.yaml.snakeyaml.parser.ParserImpl.<init>(org.yaml.snakeyaml.reader.StreamReader)'
     	at com.fasterxml.jackson.dataformat.yaml.YAMLParser.<init>(YAMLParser.java:178)
     	at com.fasterxml.jackson.dataformat.yaml.YAMLFactory._createParser(YAMLFactory.java:466)
     	at com.fasterxml.jackson.dataformat.yaml.YAMLFactory.createParser(YAMLFactory.java:354)
     	at com.fasterxml.jackson.dataformat.yaml.YAMLFactory.createParser(YAMLFactory.java:15)
     	at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3494)
     	at org.apache.pulsar.io.alluxio.sink.AlluxioSinkConfig.load(AlluxioSinkConfig.java:97)
     	at org.apache.pulsar.io.alluxio.sink.AlluxioSinkConfigTest.loadFromYamlFileTest(AlluxioSinkConfigTest.java:41)
     	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
     	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
     	at org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:139)
     	at org.testng.internal.invokers.InvokeMethodRunnable.runOne(InvokeMethodRunnable.java:47)
     	at org.testng.internal.invokers.InvokeMethodRunnable.call(InvokeMethodRunnable.java:76)
     	at org.testng.internal.invokers.InvokeMethodRunnable.call(InvokeMethodRunnable.java:11)
     	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
     	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
     	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
     	at java.base/java.lang.Thread.run(Thread.java:833)
   ```


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org