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 "Junping Du (JIRA)" <ji...@apache.org> on 2017/09/11 05:11:01 UTC
[jira] [Updated] (HADOOP-14304)
AdlStoreClient#getExceptionFromResponse should not swallow defaultMessage
[ https://issues.apache.org/jira/browse/HADOOP-14304?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Junping Du updated HADOOP-14304:
--------------------------------
Target Version/s: 2.8.3 (was: 2.8.1)
> 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