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/05/31 21:12:12 UTC

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

Di Li created AMBARI-16973:
------------------------------

             Summary: 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


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)