java.lang.IllegalStateException: Log is closed

Stack Overflow | sanketthodge | 9 months ago
Do you find the tips below useful? Click on the to mark them and say thanks to rp . Or join the community to write better ones.
  1. 0

    [FLUME-1232] Cannot start agent a 3rd time when using FileChannel - ASF JIRA | 2 years ago
    java.lang.IllegalStateException: Channel closed
  2. 0

    [Flume-user] flume restart exception - Grokbase | 1 year ago
    java.lang.IllegalStateException: Channel closed [channel=fileChannel3]
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    FileChannels Event implementation uses Hadoop IO's Writable for serialization. Without it a class loader error is thrown but never caught and logged killing the thread invisibly. This repeats and puts flume into a state where interrupts are not responded to, making clean shutdown impossible old desc for posterity: Reduced to a minimal configuration for simplicity. I can recreate this on some machines, and not others. I wouldn't be surprised if it is some machines specific issue(test machines on CentOS5.4. On some it worked, others not), however whatever exception was thrown when attempting to get created is consumed and never passed onwards Config: test.channels.ch1.type = file test.channels.ch1.checkpointDir = /home/share/juhani_connolly/flume-1.2.0-incubating-SNAPSHOT/check test.channels.ch1.dataDirs = /home/share/juhani_connolly/flume-1.2.0-incubating-SNAPSHOT/filechdata = exec = /usr/bin top -b -d 1 = true = 1000 = ts = org.apache.flume.interceptor.TimestampInterceptor$Builder = ch1 test.sinks.log.type = logger = ch1 test.channels = ch1 test.sources = top test.sinks = log attaching logs with general/lifecycle loglevel down to debug. A solution to this is probably going to be just improving error reporting. Another possibly more important element is that flume enters a state from which it cannot shutdown without kill -9. It looks like the Interrupts are getting swallowed up silently somewhere

    Apache's JIRA Issue Tracker | 5 years ago | Juhani Connolly
    java.lang.IllegalStateException: Channel closed
  5. 0
    samebug tip
    Check if there is no nexus running. If not, delete sonatype-work/nexus/nexus.lock .

  1. arturgajowy 4 times, last 2 days ago
  2. SteVio1989 4 times, last 1 week ago
  3. Dunmer 2 times, last 3 weeks ago
  4. jf-ast 3 times, last 2 months ago
  5. Hronom 2 times, last 3 months ago
11 more registered users
64 unregistered visitors
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

    Log is closed

  2. Guava
    1 frame
  3. org.apache.flume
    3 frames
  4. Flume
    3. org.apache.flume.source.SpoolDirectorySource$
    3 frames
  5. Java RT
    1. java.util.concurrent.Executors$
    2. java.util.concurrent.FutureTask.runAndReset(
    3. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(
    4. java.util.concurrent.ScheduledThreadPoolExecutor$
    5. java.util.concurrent.ThreadPoolExecutor.runWorker(
    6. java.util.concurrent.ThreadPoolExecutor$
    7 frames