[
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: [email protected]
For additional commands, e-mail: [email protected]