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

Hanisha Koneru updated HDFS-12705:
----------------------------------
    Attachment: HDFS-12705.001.patch

Thanks Daryn for filing the bug.
Uploaded a simple patch to retain the exception cause if it exists.

> WebHdfsFileSystem exceptions should retain the caused by exception
> ------------------------------------------------------------------
>
>                 Key: HDFS-12705
>                 URL: https://issues.apache.org/jira/browse/HDFS-12705
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: hdfs
>    Affects Versions: 2.8.0
>            Reporter: Daryn Sharp
>            Assignee: Hanisha Koneru
>         Attachments: HDFS-12705.001.patch
>
>
> {{WebHdfsFileSystem#runWithRetry}} uses reflection to prepend the remote host 
> to the exception.  While it preserves the original stacktrace, it omits the 
> original cause which complicates debugging.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to