You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Di Li (JIRA)" <ji...@apache.org> on 2016/06/03 16:13:59 UTC

[jira] [Updated] (AMBARI-16973) Print out configType has malformed json text as part of the ambari server startup error handling

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

Di Li updated AMBARI-16973:
---------------------------
    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

> Print out configType has malformed json text as part of the ambari server startup error handling
> ------------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-16973
>                 URL: https://issues.apache.org/jira/browse/AMBARI-16973
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: trunk
>            Reporter: Di Li
>            Assignee: Di Li
>             Fix For: trunk
>
>         Attachments: AMBARI-16973.patch
>
>
> Ambari server loads properties during server start up. If for some reason the json string in the database for a given configType is corrupted, ambari server prints an error message saying 
> "com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Expected EOF at line 1 column 5319"
> The error messsage however does not indicate which configType has the malformed JSON string.
> This JIRA is to update the exception message to include the configType and the corresponding config_id so user knows which one to look at in the database.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)