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 "Steve Loughran (JIRA)" <ji...@apache.org> on 2018/02/05 23:24:00 UTC
[jira] [Commented] (HADOOP-15134) ADL problems parsing JSON
responses to include error details
[ https://issues.apache.org/jira/browse/HADOOP-15134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16353086#comment-16353086 ]
Steve Loughran commented on HADOOP-15134:
-----------------------------------------
FWIW, suspect underlying cause is endpoint returning text/html because a proxy got in the way, and JSON parser isn't checking content-type first
> ADL problems parsing JSON responses to include error details
> ------------------------------------------------------------
>
> Key: HADOOP-15134
> URL: https://issues.apache.org/jira/browse/HADOOP-15134
> Project: Hadoop Common
> Issue Type: Bug
> Components: fs/adl
> Affects Versions: 3.0.0
> Reporter: Steve Loughran
> Priority: Major
> Labels: supportability
>
> Currently any failure of ADL's response JSON parsing results in the error text like "Unexpected error happened reading response stream or parsing JSon from rename()";". This is not useful. Fix by: including the exception text, logging the Ex & info
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org