You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Steve Loughran (JIRA)" <ji...@apache.org> on 2017/06/28 15:44:00 UTC

[jira] [Created] (HADOOP-14609) NPE in AzureNativeFileSystemStore.checkContainer() if StorageException lacks an error code

Steve Loughran created HADOOP-14609:
---------------------------------------

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


if something goes wrong in {{AzureNativeFileSystemStore.checkContainer() }} the {{StorageException}} error code is checked.
{code}
if (ex.getErrorCode().equals(StorageErrorCode.RESOURCE_NOT_FOUND.toString())) {
 ...
}

But if there's no error code: NPE.





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

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