Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HDFS >> mail # user >> DFSClient swallows InterruptedException


Copy link to this message
-
Re: DFSClient swallows InterruptedException

On Jun 15, 2010, at 4:25 PM, Dhruba Borthakur wrote:

> I think we should open a JIRA and fix it. Code than runs as part of  
> an application should not swallow interrrupted exception.

I'm a big fan of removing the swallowing of interrupted exceptions.  
One word of caution however, the catches buried down in RPC are hard  
to remove with out breaking things. (In particular, the rpc protocols  
don't declare interrupted exception, so if you throw it through one of  
the proxy object methods, you'll get bad results.)

-- Owen