hadoop-mapreduce-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <ste...@apache.org>
Subject Re: InterruptedException
Date Thu, 27 Aug 2009 10:41:17 GMT
Owen O'Malley wrote:
> 
> On Aug 26, 2009, at 8:15 AM, Steve Loughran wrote:
>>
>> I havent' seen those. As owen says, swallowing interruptions is 
>> naughty, I don't know what the hadoop-wide policy is on processing 
>> them; something to look at.
> 
> It is currently broken. Currently the biggest breakage is the RPC layer 
> that swallows them in a really evil way. We need to fix that, but it is 
> a big job. In particular, all of the methods in all of the protocols 
> need to have InterruptedExceptions added to their signatures. That is 
> pretty painful.

I can see the appeal of an InterruptedIOException that extends 
IOException, but its really just damage limitation. Changing the 
signatures would be better

Mime
View raw message