John Zhuge created HADOOP-14304:
-----------------------------------

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


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.3.15#6346)

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

Reply via email to