[
https://issues.apache.org/jira/browse/AMBARI-16973?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15314344#comment-15314344
]
Di Li commented on AMBARI-16973:
--------------------------------
committed to trunk as
https://git-wip-us.apache.org/repos/asf?p=ambari.git;a=commit;h=c126aa318234ca511ea23b6ddb31da41104e5bb5
> 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)