You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "Johny Rufus (JIRA)" <ji...@apache.org> on 2015/07/04 19:15:05 UTC
[jira] [Created] (FLUME-2735) Kafka Channel needs zookeeper.jar to
function without errors
Johny Rufus created FLUME-2735:
----------------------------------
Summary: Kafka Channel needs zookeeper.jar to function without errors
Key: FLUME-2735
URL: https://issues.apache.org/jira/browse/FLUME-2735
Project: Flume
Issue Type: Bug
Reporter: Johny Rufus
Assignee: Johny Rufus
Currently using kafka channel, gives the following error. Adding the zookeeper.jar (tried both 3.3.6 or 3.4.6) to the classpath helps to get past this error.
(With only zkclient:jar pulled in by Kafka, the above error occurs )
2015-07-04 08:18:09,201 (SinkRunner-PollingRunner-DefaultSinkProcessor) [INFO - kafka.utils.Logging$class.info(Logging.scala:68)] [flume_jrufus-MBP.local-1436023089200-e4aacadf], Connecting to zookeeper instance at jrufus-ptest-1.vpc.cloudera.com:2181
2015-07-04 08:18:09,203 (SinkRunner-PollingRunner-DefaultSinkProcessor) [ERROR - org.apache.flume.SinkRunner$PollingRunner.run(SinkRunner.java:160)] Unable to deliver event. Exception follows.
java.lang.IllegalStateException: close() called when transaction is OPEN - you must either commit or rollback first
at com.google.common.base.Preconditions.checkState(Preconditions.java:172)
at org.apache.flume.channel.BasicTransactionSemantics.close(BasicTransactionSemantics.java:179)
at org.apache.flume.sink.LoggerSink.process(LoggerSink.java:105)
at org.apache.flume.sink.DefaultSinkProcessor.process(DefaultSinkProcessor.java:68)
at org.apache.flume.SinkRunner$PollingRunner.run(SinkRunner.java:147)
at java.lang.Thread.run(Thread.java:745)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)