ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmytro Sen (JIRA)" <>
Subject [jira] [Resolved] (AMBARI-5574) Need some logging when JSON parsing throws an error
Date Fri, 25 Apr 2014 17:37:20 GMT


Dmytro Sen resolved AMBARI-5574.

    Resolution: Fixed

Committed to trunk

> Need some logging when JSON parsing throws an error
> ---------------------------------------------------
>                 Key: AMBARI-5574
>                 URL:
>             Project: Ambari
>          Issue Type: Bug
>          Components: agent
>    Affects Versions: 1.6.0
>            Reporter: Dmytro Sen
>            Assignee: Dmytro Sen
>             Fix For: 1.6.0
> We have had some reports of Agent-Server communication going down because of JSON parsing
error. This is usually a malformed JSON that either the agent sends or receives. We need some
WARN level log to spit out the JSON when such error is encountered.
> The possibility is that the Agent logs the last JSON sent to the server when it encounters
a communication error with the server. And, similarly, it can log the JSON received if response
processing encounters an error. At, the heartbeat loop we can log response or
data or both based on when the failure occurs.

This message was sent by Atlassian JIRA

View raw message