hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yin Huai (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-15119) AzureNativeFileSystemStore's rename swallow InterruptedExceptions
Date Fri, 15 Dec 2017 01:44:00 GMT
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

To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org

View raw message