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

Aaron Fabbri commented on HADOOP-15113:
---------------------------------------

Looks good to me, +1. (Tested in us west 2)

Volatile seems reasonable here.  Seems the cheapest we can get is these memory 
barriers on the closed flag. Expensive from CPU perspective but I doubt we'll 
notice with the other very slow things (s3 accesses) going on here.



> NPE in S3A getFileStatus: null instrumentation on using closed instance
> -----------------------------------------------------------------------
>
>                 Key: HADOOP-15113
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15113
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/s3
>    Affects Versions: 3.1.0
>            Reporter: Steve Loughran
>            Assignee: Steve Loughran
>         Attachments: HADOOP-15113-001.patch
>
>
> NPE in getFileStatus in a downstream test of mine; s3a ireland
> {{PathMetadata pm = metadataStore.get(path, needEmptyDirectoryFlag);. }}
> Something up with the bucket config?



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

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

Reply via email to