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

TThreadPoolServer (java) dies when threadpool is consumed

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment