hadoop-hdfs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Todd Lipcon <t...@cloudera.com>
Subject Re: DFSClient swallows InterruptedException
Date Wed, 16 Jun 2010 18:45:54 GMT
On Wed, Jun 16, 2010 at 11:38 AM, Owen O'Malley <omalley@apache.org> wrote:

>
> 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.)
>
>
This is partially improved in HADOOP-6762

-Todd


>  -- Owen
>



-- 
Todd Lipcon
Software Engineer, Cloudera

Mime
View raw message