How to check connection of cassandra with pentaho data integrator

拈花ヽ惹草 提交于 2019-12-11 12:50:38

问题


I'm trying to load data from Oracle table to Cassandra table by using Pentaho Data Integration 5.1(Community Edition). But I'm not getting whether connection has been established between oracle and cassandra. I'm using Cassandra 2.2.3 and Oracle 11gR2. I've added following jars in lib folder of data-integration --cassandra-thrift-1.0.0 --apache-cassandra-cql-1.0.0 --libthrift-0.6.jar --guava-r08.jar --cassandra_driver.jar Please anyone can help me to figure out how to check whether connection has been established in Pentaho.


回答1:


There are some ways to debug if a connection is established to a database, I don't know if all of them are valid for cassandra, but I'll add a especial one for that.

1) The test button

By simply clicking the test button on the connection edit screen.

2) Logs with high details may help

Another way to test is running you transformation with a high detail log:

sh pan.sh -file=my_cassandra_transformation.ktr -level=Rowlevel

3) The input preview

For cassandra, in especific, I would try just to create a simple read operation using Cassandra Input step and clicking in the 'preview' button.

4) The controlled output test

Or maybe you can try with a simplier transformation first, to make sure it's running fine. Eg.



来源:https://stackoverflow.com/questions/34635084/how-to-check-connection-of-cassandra-with-pentaho-data-integrator

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!