java.lang.IllegalStateException: Queue full

JIRA | Shaoshan Liu | 2 years ago
  1. 0

    In MasterInfo, mLostWorkers is initialized to a fixed size queue (size = 32), when we have more than 32 failed workers, it would throw an exception as follows: 2015-04-02 17:30:29,144 ERROR server.TThreadPoolServer (TThreadPoolServer.java:run) - Error occurred during processing of message. java.lang.IllegalStateException: Queue full at java.util.AbstractQueue.add(AbstractQueue.java:71) at java.util.concurrent.ArrayBlockingQueue.add(ArrayBlockingQueue.java:209) at tachyon.master.MasterInfo.registerWorker(MasterInfo.java:2065) at tachyon.master.MasterServiceHandler.worker_register(MasterServiceHandler.java:3 26) at tachyon.thrift.MasterService$Processor$worker_register.getResult(MasterService.java:2445) at tachyon.thrift.MasterService$Processor$worker_register.getResult(MasterService.java:2429) at tachyon.org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39) at tachyon.org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39) at tachyon.org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:225) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) 2015-04-02 17:30:29,144 ERROR server.TThreadPoolServer (TThreadPoolServer.java:run) - Error occurred during processing of message. Suggested Fix: change it to use LinkedBlockingQueue

    JIRA | 2 years ago | Shaoshan Liu
    java.lang.IllegalStateException: Queue full
  2. 0

    Logic behind camel ServicePool when used with Netty

    Stack Overflow | 4 years ago | Kurt Granroth
    java.lang.IllegalStateException: Queue full
  3. 0

    Queue Full exception

    Google Groups | 7 years ago | Lee Campus
    java.lang.IllegalStateException: Queue full
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Bug 138985 – DebugURL: java.lang.IllegalStateException: Queue full

    netbeans.org | 1 year ago
    java.lang.IllegalStateException: Queue full

  1. jk 7 times, last 7 months ago
2 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

    Queue full

    at java.util.AbstractQueue.add()
  2. Java RT
    ArrayBlockingQueue.add
    1. java.util.AbstractQueue.add(AbstractQueue.java:71)
    2. java.util.concurrent.ArrayBlockingQueue.add(ArrayBlockingQueue.java:209)
    2 frames
  3. Tachyon Project Core
    TThreadPoolServer$WorkerProcess.run
    1. tachyon.master.MasterInfo.registerWorker(MasterInfo.java:2065)
    2. tachyon.master.MasterServiceHandler.worker_register(MasterServiceHandler.java:326)
    3. tachyon.thrift.MasterService$Processor$worker_register.getResult(MasterService.java:2445)
    4. tachyon.thrift.MasterService$Processor$worker_register.getResult(MasterService.java:2429)
    5. tachyon.org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39)
    6. tachyon.org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39)
    7. tachyon.org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:225)
    7 frames
  4. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    3. java.lang.Thread.run(Thread.java:662)
    3 frames