hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mingliang Liu (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (HADOOP-14609) NPE in AzureNativeFileSystemStore.checkContainer() if StorageException lacks an error code
Date Wed, 28 Jun 2017 21:24:00 GMT

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

Mingliang Liu edited comment on HADOOP-14609 at 6/28/17 9:23 PM:
-----------------------------------------------------------------

Committed to {{trunk}} and {{branch-2}} branches. Fixed the trivial checkstyle warnings, and
leave the other as it is unrelated to this patch. Let's address later. Thanks for your contribution
[~stevel@apache.org].


was (Author: liuml07):
Committed to {{trunk}} and {{branch-2}} branches. Fixed the trivial checkstyle warnings, and
leave the other as it is unrelated to this patch. Let's address later.

> NPE in AzureNativeFileSystemStore.checkContainer() if StorageException lacks an error
code
> ------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-14609
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14609
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/azure
>    Affects Versions: 2.9.0
>            Reporter: Steve Loughran
>            Assignee: Steve Loughran
>             Fix For: 2.9.0, 3.0.0-alpha4
>
>         Attachments: HADOOP-14609-001.patch
>
>
> if something goes wrong in {{AzureNativeFileSystemStore.checkContainer()}} the {{StorageException}}
error code is checked.
> {code}
> if (ex.getErrorCode().equals(StorageErrorCode.RESOURCE_NOT_FOUND.toString())) {
>  ...
> }
> {code}
> But if there's no error code: NPE.



--
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