Uploaded image for project: 'Flume'
  1. Flume
  2. FLUME-2735

Kafka Channel needs zookeeper.jar to function without errors

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      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)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jrufus Johny Rufus
                Reporter:
                jrufus Johny Rufus
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: