0

我正在使用 Pentaho 8.1 CE

当我在 Pentaho 勺子中使用超过 1 个 Cassandra 输入时,大多数情况下(大约 4 次中的 3 次),我们会收到以下错误:

java.lang.NoClassDefFoundError: io/netty/util/internal/TypeParameterMatcher
2019/02/22 14:46:53 - Get cancel tickets.0 -    at java.lang.Class.forName0(Native Method)
2019/02/22 14:46:53 - Get cancel tickets.0 -    at java.lang.Class.forName(Class.java:348)
2019/02/22 14:46:53 - Get cancel tickets.0 -    at io.netty.util.internal.JavassistTypeParameterMatcherGenerator.generate(JavassistTypeParameterMatcherGenerator.java:62)
2019/02/22 14:46:53 - Get cancel tickets.0 -    at io.netty.util.internal.JavassistTypeParameterMatcherGenerator.generate(JavassistTypeParameterMatcherGenerator.java:54)
2019/02/22 14:46:53 - Get cancel tickets.0 -    at io.netty.util.internal.TypeParameterMatcher.get(TypeParameterMatcher.java:42)
2019/02/22 14:46:53 - Get cancel tickets.0 -    at io.netty.util.internal.TypeParameterMatcher.find(TypeParameterMatcher.java:78)
2019/02/22 14:46:53 - Get cancel tickets.0 -    at io.netty.channel.SimpleChannelInboundHandler.<init>(SimpleChannelInboundHandler.java:67)
2019/02/22 14:46:53 - Get cancel tickets.0 -    at io.netty.channel.SimpleChannelInboundHandler.<init>(SimpleChannelInboundHandler.java:57)
2019/02/22 14:46:53 - Get cancel tickets.0 -    at com.datastax.driver.core.Connection$Dispatcher.<init>(Connection.java:1017)
2019/02/22 14:46:53 - Get cancel tickets.0 -    at com.datastax.driver.core.Connection.<init>(Connection.java:116)
2019/02/22 14:46:53 - Get cancel tickets.0 -    at com.datastax.driver.core.Connection.<init>(Connection.java:128)
2019/02/22 14:46:53 - Get cancel tickets.0 -    at com.datastax.driver.core.Connection$Factory.open(Connection.java:806)
2019/02/22 14:46:53 - Get cancel tickets.0 -    at com.datastax.driver.core.ControlConnection.tryConnect(ControlConnection.java:252)
2019/02/22 14:46:53 - Get cancel tickets.0 -    at com.datastax.driver.core.ControlConnection.reconnectInternal(ControlConnection.java:201)
2019/02/22 14:46:53 - Get cancel tickets.0 -    at com.datastax.driver.core.ControlConnection.connect(ControlConnection.java:79)
2019/02/22 14:46:53 - Get cancel tickets.0 -    at com.datastax.driver.core.Cluster$Manager.negotiateProtocolVersionAndConnect(Cluster.java:1619)
2019/02/22 14:46:53 - Get cancel tickets.0 -    at com.datastax.driver.core.Cluster$Manager.init(Cluster.java:1537)
2019/02/22 14:46:53 - Get cancel tickets.0 -    at com.datastax.driver.core.Cluster.getMetadata(Cluster.java:399)
2019/02/22 14:46:53 - Get cancel tickets.0 -    at org.pentaho.cassandra.driver.datastax.DriverConnection.getKeyspace(DriverConnection.java:152)
2019/02/22 14:46:53 - Get cancel tickets.0 -    at org.pentaho.di.trans.steps.cassandrainput.CassandraInput.processRow(CassandraInput.java:156)
2019/02/22 14:46:53 - Get cancel tickets.0 -    at org.pentaho.di.trans.step.RunThread.run(RunThread.java:62)
2019/02/22 14:46:53 - Get cancel tickets.0 -    at java.lang.Thread.run(Thread.java:748)
2019/02/22 14:46:53 - Get cancel tickets.0 - Caused by: java.lang.ClassNotFoundException: io.netty.util.internal.TypeParameterMatcher
2019/02/22 14:46:53 - Get cancel tickets.0 -    at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
2019/02/22 14:46:53 - Get cancel tickets.0 -    at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
2019/02/22 14:46:53 - Get cancel tickets.0 -    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
2019/02/22 14:46:53 - Get cancel tickets.0 -    ... 22 more

有没有人遇到过这样的事情?我们在几个工作站上得到了这个,包括 Windows 和 Mac 平台。

4

3 回答 3

1

我将netty版本更新到4.0.56.Finalpentaho-cassandra-plugin 并解决了这个问题。我对此进行了测试,pdi-ce-9.0并且效果很好pdi-ce-8.1(效果更好,但有时会出现问题)。

于 2020-04-15T09:37:11.787 回答
0

您可以在 Pentaho 中更改 Cassandra 库:

PATH:$Pentaho/design-tools/data-integration-8.1/plugins/pentaho-cassandra-plugin/lib

修复错误后,我已将netty*版本更新4.0.44到我的机器上。4.1.25

于 2020-03-03T02:49:51.363 回答
0

您好,感谢您的所有努力。我已经尝试了你所有的提示,但它们没有奏效。

最后,我们将 Pentaho CE 升级到了最新版本,它解决了这个问题。

再次感谢 !

于 2020-09-13T08:11:27.990 回答