You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Yin Huai (JIRA)" <ji...@apache.org> on 2017/12/15 01:44:00 UTC
[jira] [Created] (HADOOP-15119) AzureNativeFileSystemStore's rename
swallow InterruptedExceptions
Yin Huai created HADOOP-15119:
---------------------------------
Summary: 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: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org