cassandra用Etl勺子

时间:2013-10-24 05:51:11

标签: cassandra pentaho etl spoon

An unexpected error occurred in Spoon:  
Could not initialize class org.apache.thrift.transport.TSocket
java.lang.NoClassDefFoundError: Could not initialize class org.apache.thrift.transport.TSocket
    at org.pentaho.cassandra.legacy.CassandraConnection.openConnection(CassandraConnection.java:234)
    at org.pentaho.cassandra.legacy.CassandraConnection.checkOpen(CassandraConnection.java:151)
    at org.pentaho.cassandra.legacy.CassandraConnection.setKeyspace(CassandraConnection.java:174)
    at org.pentaho.cassandra.legacy.LegacyKeyspace.setKeyspace(LegacyKeyspace.java:93)
    at org.pentaho.cassandra.legacy.CassandraConnection.getKeyspace(CassandraConnection.java:277)
    at org.pentaho.di.trans.steps.cassandrainput.CassandraInputDialog.popupSchemaInfo(CassandraInputDialog.java:926)
    at org.pentaho.di.trans.steps.cassandrainput.CassandraInputDialog$12.widgetSelected(CassandraInputDialog.java:518)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
    at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
    at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
    at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1227)
    at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7368)
    at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:8673)
    at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:625)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134)

1 个答案:

答案 0 :(得分:0)

我遇到了同样的问题。 经过一些调查后,我通过复制以下文件来修复

  • 数据集成/ LIB / log4j的-1.2.16.jar
  • 数据集成/插件/的pentaho-大数据插件/ LIB / SLF4J-API-1.7.3.jar
  • 数据集成/插件/的pentaho-大数据插件/ LIB / SLF4J-log4j12-1.7.3.jar

to ... / data-integration / plugins / pentaho-cassandra-plugin / lib / directory