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

TThreadPoolServer (java) dies when threadpool is consumed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.9
    • 0.9.1
    • Java - Library
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: