Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-1869

TThreadPoolServer (java) dies when threadpool is consumed

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.9
    • Fix Version/s: 0.9.1
    • Component/s: Java - Library
    • Labels:
      None

      Description

      When TThreadPoolServer hit's max threads, it throws a RejectedExceptionException and dies. This is not expected by users of this class.

      java.util.concurrent.RejectedExecutionException 
      at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(Unknown Source) 
      at java.util.concurrent.ThreadPoolExecutor.reject(Unknown Source) 
      at java.util.concurrent.ThreadPoolExecutor.execute(Unknown Source) 
      at org.apache.thrift.server.TThreadPoolServer.serve(TThreadPoolServer.java:108) 
      

        Attachments

        1. THRIFT-1869-0.patch
          2 kB
          Brock Noland

          Issue Links

            Activity

              People

              • Assignee:
                roger Roger Meier
                Reporter:
                brocknoland Brock Noland
              • Votes:
                1 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: