You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Steve Loughran (JIRA)" <ji...@apache.org> on 2015/12/01 11:05:10 UTC

[jira] [Commented] (HADOOP-12608) Fix error message in WASB in connecting through Anonymous Credential codepath

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

Steve Loughran commented on HADOOP-12608:
-----------------------------------------

# should a more specific exception be raised, .e.g. {{PathAccessDeniedException}}?
# Is there an existing test for this outcome?
# patch requirements for anything against an object store primarily consist of confirming you've run *all* the existing tests + your patch: https://wiki.apache.org/hadoop/HowToContribute#Submitting_patches_against_object_stores_such_as_Amazon_S3.2C_OpenStack_Swift_and_Microsoft_Azure

> Fix error message in WASB in connecting through Anonymous Credential codepath
> -----------------------------------------------------------------------------
>
>                 Key: HADOOP-12608
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12608
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: tools
>    Affects Versions: 2.8.0
>            Reporter: Dushyanth
>            Assignee: Dushyanth
>             Fix For: 2.8.0
>
>         Attachments: HADOOP-12608.001.patch
>
>
> Users of WASB have raised complaints over the error message returned back from WASB when they are trying to connect to Azure storage with anonymous credentials. Current implementation returns the correct message when we encounter a Storage exception, however for scenarios like querying to check if a container exists does not throw a StorageException but returns false when URI is directly specified (Anonymous access) the error message returned does not clearly state that credentials for storage account is not provided. This JIRA tracks the fix the error message to return what is returned when a storage exception is hit and also correct spelling mistakes in the error message.



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