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

Steve Loughran commented on HADOOP-11463:
-----------------------------------------

Looks good, but one question:

Will the FS shutdown() operation block until transfers have finished? I've hit 
problems in HDFS where the client blocks due to connection retries, so the a 
client app blocks on a control-C-initiated shutdown —as that is when 
{{FileSystem}} tries to shutdown all its instances.

> Replace method-local TransferManager object with S3AFileSystem#transfers
> ------------------------------------------------------------------------
>
>                 Key: HADOOP-11463
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11463
>             Project: Hadoop Common
>          Issue Type: Task
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>         Attachments: hadoop-11463-001.patch
>
>
> This is continuation of HADOOP-11446.
> The following changes are made according to Thomas Demoor's comments:
> 1. Replace method-local TransferManager object with S3AFileSystem#transfers
> 2. Do not shutdown TransferManager after purging existing multipart file - 
> otherwise the current transfer is unable to proceed
> 3. Shutdown TransferManager instance in the close method of S3AFileSystem



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to