hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-15113) NPE in S3A getFileStatus: null instrumentation on using closed instance
Date Thu, 14 Dec 2017 20:15:00 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-15113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Steve Loughran updated HADOOP-15113:
------------------------------------
    Attachment: HADOOP-15113-001.patch

Patch 001

* adds an entryPoint() call which does the check as well as incrementing the instrumentation
counter
* declared for all public methods
* adds a test

Testing: s3 ireland

There's no checks on the internal operations. 
I'm tempted to add to the ops which are used by input/output streams & via writeOperationsHelper,
to catch the case: FS closed while FS is in use

> 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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message