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

Yin Huai commented on HADOOP-15119:
-----------------------------------

cc [~tmarquardt]

> AzureNativeFileSystemStore's rename swallow InterruptedExceptions
> -----------------------------------------------------------------
>
>                 Key: HADOOP-15119
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15119
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs/azure
>            Reporter: Yin Huai
>
> AzureNativeFileSystemStore's rename calls 
> [waitForCopyToComplete|https://github.com/apache/hadoop/blob/d69b7358b65128197b4c0fe5ef3c02f3d59864b3/hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azure/AzureNativeFileSystemStore.java#L2742],
>  which swallow InterruptedExceptions and prevent the current thread being 
> from interrupted. Once we catch the exception, it will be nice to call 
> Thread.currentThread().interrupt(). So, if this thread is blocked at a later 
> time, an InterruptedException will be properly thrown.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to