java.lang.IllegalStateException: begin() called when transaction is OPEN!

  1. 0

    Spark Flume sink fails with begin() called when transaction is OPEN

    Stack Overflow | 4 months ago | Wojciech Sznapka
    java.lang.IllegalStateException: begin() called when transaction is OPEN!
  2. 0

    Fiware Cygnus Error

    Stack Overflow | 1 year ago | AGonzalez
    org.apache.flume.EventDeliveryException: java.lang.IllegalStateException: begin() called when transaction is OPEN!
  3. 0

    FLUME IllegalStateException: begin() called when transaction is OPEN

    Stack Overflow | 11 months ago | Farda arda
    org.apache.flume.EventDeliveryException: MySink - Failed to publish events. Exception: at com.XYZ.flume.maprdb.MySink.process(MySink.java:116)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Hbase sink will not close the transaction if any error occurs like below {noformat} 06 Dec 2013 12:04:50,466 ERROR [SinkRunner-PollingRunner-DefaultSinkProcessor] (org.apache.flume.SinkRunner$PollingRunner.run:160) - Unable to deliver event. Exception follows. org.apache.flume.ChannelException: Failed to obtain lock for writing to the log. Try increasing the log write timeout value. [channel=c1] at org.apache.flume.channel.file.FileChannel$FileBackedTransaction.doTake(FileChannel.java:512) at org.apache.flume.channel.BasicTransactionSemantics.take(BasicTransactionSemantics.java:113) at org.apache.flume.channel.BasicChannelSemantics.take(BasicChannelSemantics.java:95) at org.apache.flume.sink.hbase.HBaseSink.process(HBaseSink.java:239) 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:662) {noformat} This will cause hbase sink to become non operative. {noformat} java.lang.IllegalStateException: begin() called when transaction is OPEN! at com.google.common.base.Preconditions.checkState(Preconditions.java:149) at org.apache.flume.channel.BasicTransactionSemantics.begin(BasicTransactionSemantics.java:131) at org.apache.flume.sink.hbase.HBaseSink.process(HBaseSink.java:236) 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:662) 04 Dec 2013 16:55:38,553 ERROR [SinkRunner-PollingRunner-DefaultSinkProcessor] (org.apache.flume.SinkRunner$PollingRunner.run:160) - Unable to deliver event. Exception follows. java.lang.IllegalStateException: begin() called when transaction is OPEN! at com.google.common.base.Preconditions.checkState(Preconditions.java:149) at org.apache.flume.channel.BasicTransactionSemantics.begin(BasicTransactionSemantics.java:131) at org.apache.flume.sink.hbase.HBaseSink.process(HBaseSink.java:236) 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:662) {noformat}

    Apache's JIRA Issue Tracker | 3 years ago | Gopinathan A
    java.lang.IllegalStateException: begin() called when transaction is OPEN!
  6. 0

    Cant open chest or anything.

    GitHub | 3 years ago | KirjoZzZ
    java.lang.IllegalStateException: Cannot call getOfflinePlayer(UUID) on main thread, this operation is blocking!
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalStateException

    begin() called when transaction is OPEN!

    at com.google.common.base.Preconditions.checkState()
  2. Guava
    Preconditions.checkState
    1. com.google.common.base.Preconditions.checkState(Preconditions.java:145)
    1 frame
  3. Flume
    SpillableMemoryChannel$SpillableMemoryTransaction.begin
    1. org.apache.flume.channel.BasicTransactionSemantics.begin(BasicTransactionSemantics.java:131)
    2. org.apache.flume.channel.SpillableMemoryChannel$SpillableMemoryTransaction.begin(SpillableMemoryChannel.java:305)
    2 frames
  4. Spark Project External Flume Sink
    TransactionProcessor$$anonfun$populateEvents$1.apply
    1. org.apache.spark.streaming.flume.sink.TransactionProcessor$$anonfun$populateEvents$1.apply(TransactionProcessor.scala:114)
    2. org.apache.spark.streaming.flume.sink.TransactionProcessor$$anonfun$populateEvents$1.apply(TransactionProcessor.scala:113)
    2 frames
  5. Scala
    Option.foreach
    1. scala.Option.foreach(Option.scala:236)
    1 frame
  6. Spark Project External Flume Sink
    TransactionProcessor.call
    1. org.apache.spark.streaming.flume.sink.TransactionProcessor.populateEvents(TransactionProcessor.scala:113)
    2. org.apache.spark.streaming.flume.sink.TransactionProcessor.call(TransactionProcessor.scala:243)
    3. org.apache.spark.streaming.flume.sink.TransactionProcessor.call(TransactionProcessor.scala:43)
    3 frames
  7. Java RT
    Thread.run
    1. java.util.concurrent.FutureTask.run(FutureTask.java:266)
    2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    4. java.lang.Thread.run(Thread.java:745)
    4 frames