hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-15134) ADL problems parsing JSON responses to include error details
Date Mon, 05 Feb 2018 23:24:00 GMT

    [ 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


Mime
View raw message