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-14304) AdlStoreClient#getExceptionFromResponse should not swallow defaultMessage
Date Mon, 04 Dec 2017 15:01:00 GMT

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

Steve Loughran updated HADOOP-14304:
------------------------------------
    Parent Issue: HADOOP-14764  (was: HADOOP-14112)

> AdlStoreClient#getExceptionFromResponse should not swallow defaultMessage
> -------------------------------------------------------------------------
>
>                 Key: HADOOP-14304
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14304
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/adl
>    Affects Versions: 2.8.0
>            Reporter: John Zhuge
>            Assignee: Atul Sikaria
>              Labels: newbie, supportability
>
> Discovered the issue in HADOOP-14292.
> In {{AdlStoreClient}}, {{enumerateDirectoryInternal}} called {{getExceptionFromResponse}}
with {{defaultMessage}} set to {{"Error enumerating directory " + path}}. This useful message
was swallowed at https://github.com/Azure/azure-data-lake-store-java/blob/2.1.4/src/main/java/com/microsoft/azure/datalake/store/ADLStoreClient.java#L1106.
> Actually {{getExceptionFromResponse}} swallows {{defaultMessage}} at several places.
Suggest always displaying the {{defaultMessage}} in some way.



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