[ 
https://issues.apache.org/jira/browse/HBASE-8850?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13711985#comment-13711985
 ] 

Mikhail Bautin commented on HBASE-8850:
---------------------------------------

Hi [~larsgeorge], I added {{TestThreads}} as a test for the {{Threads}} class, 
which contains utility methods for thread manipulation. The only test that I 
added there was a test for {{Threads.sleepWithoutInterrupt}}, a method that 
sleeps for the given period of time, ignoring {{InterruptedException}}, but 
preserves the thread interrupted status after it finishes. The reason I needed 
that method was to ensure that the server does not shut down immediately on 
{{shutdownServer}}, even if the thread on which {{shutdownServer}} is called is 
itself interrupted. This is somewhat orthogonal to the bounded thread pool 
functionality that you are porting to Thrift 2.
                
> Port HBASE-4863 to Thrift 2
> ---------------------------
>
>                 Key: HBASE-8850
>                 URL: https://issues.apache.org/jira/browse/HBASE-8850
>             Project: HBase
>          Issue Type: Sub-task
>          Components: Thrift
>            Reporter: Lars George
>              Labels: thrift2
>
> HBASE-4863 adds a bounded thread pool. Add to Thrift 2 as well if applicable.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to