我用的是pentaho 8.1 ce
当我在pentaho spoon中使用超过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平台在内的几个工作站上实现这一点。
3条答案
按热度按时间xfyts7mz1#
嗨,谢谢你的努力。我试过你所有的暗示,但都不管用。
最后,我们将pentaho-ce升级到最新版本,它解决了这个问题。
再次感谢!
gjmwrych2#
我更新了
netty
版本到4.0.56.Final
在pentahoCassandra插件和它修复了这个问题。我测试了这个pdi-ce-9.0
工作很好pdi-ce-8.1
(效果更好,但有时会出现问题)。bis0qfac3#
您可以更改pentaho中的cassandra库:
我已经更新了
netty*
版本4.0.44
至4.1.25
在我的机器上,这个错误被修复了。