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

Nicolas Liochon commented on HBASE-10521:
-----------------------------------------

For RpcServer#Listener#run, we could just log and return, no? This will stop 
the thread cleanly.
In RpcServer#Reader#doRunLoop we shallow the interruption
In RpcServer#Responder#doRunLoop we can do a return or a break as well (see the 
case of an exception coming from waitPending today: we take into account this 
exception, as it's caught and it terminates the thread cleanly)


> Add handling for swallowed InterruptedException thrown by Thread.sleep in 
> RpcServer and RpcClient
> -------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-10521
>                 URL: https://issues.apache.org/jira/browse/HBASE-10521
>             Project: HBase
>          Issue Type: Sub-task
>          Components: IPC/RPC
>            Reporter: Feng Honghua
>            Assignee: Feng Honghua
>            Priority: Minor
>         Attachments: HBASE-10521-trunk_v1.patch, HBASE-10521-trunk_v2.patch
>
>
> A sub-task of HBASE-10497



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to