[ 
https://issues.apache.org/jira/browse/AMBARI-16973?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15314590#comment-15314590
 ] 

Hudson commented on AMBARI-16973:
---------------------------------

FAILURE: Integrated in Ambari-trunk-Commit #5003 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/5003/])
AMBARI-16973 Print out configType has malformed json text as part of the (dili: 
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=c126aa318234ca511ea23b6ddb31da41104e5bb5])
* ambari-server/src/main/java/org/apache/ambari/server/state/ConfigImpl.java
* 
ambari-server/src/main/java/org/apache/ambari/server/orm/dao/ServiceConfigDAO.java


> 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)

Reply via email to