All the jars that are mentioned in the plugin.xml file are in the producer lib directory. however, Pentaho cannot find them. I am using Pentaho CE 6.0.1 and the producer version buildId="20160110-0357".
I get the following error:
2016/01/11 10:34:00 - Apache Kafka Producer.0 - ERROR (version 6.0.1.0-386, build 1 from 2015-12-03 11.37.25 by buildguy) : Unexpected error
2016/01/11 10:34:00 - Apache Kafka Producer.0 - ERROR (version 6.0.1.0-386, build 1 from 2015-12-03 11.37.25 by buildguy) : java.lang.NoClassDefFoundError: Could not initialize class org.apache.log4j.LogManager
2016/01/11 10:34:00 - Apache Kafka Producer.0 - at org.apache.log4j.Logger.getLogger(Logger.java:104)
2016/01/11 10:34:00 - Apache Kafka Producer.0 - at kafka.utils.Logging$class.logger(Logging.scala:24)
2016/01/11 10:34:00 - Apache Kafka Producer.0 - at kafka.utils.VerifiableProperties.logger$lzycompute(VerifiableProperties.scala:26)
2016/01/11 10:34:00 - Apache Kafka Producer.0 - at kafka.utils.VerifiableProperties.logger(VerifiableProperties.scala:26)
2016/01/11 10:34:00 - Apache Kafka Producer.0 - at kafka.utils.Logging$class.info(Logging.scala:67)
2016/01/11 10:34:00 - Apache Kafka Producer.0 - at kafka.utils.VerifiableProperties.info(VerifiableProperties.scala:26)
2016/01/11 10:34:00 - Apache Kafka Producer.0 - at kafka.utils.VerifiableProperties.verify(VerifiableProperties.scala:217)
2016/01/11 10:34:00 - Apache Kafka Producer.0 - at kafka.producer.ProducerConfig.(ProducerConfig.scala:57)
2016/01/11 10:34:00 - Apache Kafka Producer.0 - at com.ruckuswireless.pentaho.kafka.producer.KafkaProducerStep.processRow(KafkaProducerStep.java:80)
2016/01/11 10:34:00 - Apache Kafka Producer.0 - at org.pentaho.di.trans.step.RunThread.run(RunThread.java:62)
2016/01/11 10:34:00 - Apache Kafka Producer.0 - at java.lang.Thread.run(Thread.java:745)
by changing some of the dependencies in the plugin library to align them to the version used by the main pentaho DI library, this problem seems to go away.
Pentaho cannot find the library dependencies.
All the jars that are mentioned in the plugin.xml file are in the producer lib directory. however, Pentaho cannot find them. I am using Pentaho CE 6.0.1 and the producer version buildId="20160110-0357".
I get the following error:
2016/01/11 10:34:00 - Apache Kafka Producer.0 - ERROR (version 6.0.1.0-386, build 1 from 2015-12-03 11.37.25 by buildguy) : Unexpected error 2016/01/11 10:34:00 - Apache Kafka Producer.0 - ERROR (version 6.0.1.0-386, build 1 from 2015-12-03 11.37.25 by buildguy) : java.lang.NoClassDefFoundError: Could not initialize class org.apache.log4j.LogManager 2016/01/11 10:34:00 - Apache Kafka Producer.0 - at org.apache.log4j.Logger.getLogger(Logger.java:104) 2016/01/11 10:34:00 - Apache Kafka Producer.0 - at kafka.utils.Logging$class.logger(Logging.scala:24) 2016/01/11 10:34:00 - Apache Kafka Producer.0 - at kafka.utils.VerifiableProperties.logger$lzycompute(VerifiableProperties.scala:26) 2016/01/11 10:34:00 - Apache Kafka Producer.0 - at kafka.utils.VerifiableProperties.logger(VerifiableProperties.scala:26) 2016/01/11 10:34:00 - Apache Kafka Producer.0 - at kafka.utils.Logging$class.info(Logging.scala:67) 2016/01/11 10:34:00 - Apache Kafka Producer.0 - at kafka.utils.VerifiableProperties.info(VerifiableProperties.scala:26) 2016/01/11 10:34:00 - Apache Kafka Producer.0 - at kafka.utils.VerifiableProperties.verify(VerifiableProperties.scala:217) 2016/01/11 10:34:00 - Apache Kafka Producer.0 - at kafka.producer.ProducerConfig.(ProducerConfig.scala:57)
2016/01/11 10:34:00 - Apache Kafka Producer.0 - at com.ruckuswireless.pentaho.kafka.producer.KafkaProducerStep.processRow(KafkaProducerStep.java:80)
2016/01/11 10:34:00 - Apache Kafka Producer.0 - at org.pentaho.di.trans.step.RunThread.run(RunThread.java:62)
2016/01/11 10:34:00 - Apache Kafka Producer.0 - at java.lang.Thread.run(Thread.java:745)