Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id E46082009F8 for ; Fri, 3 Jun 2016 20:45:05 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id E337E160A49; Fri, 3 Jun 2016 18:45:05 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 42A3F160A3B for ; Fri, 3 Jun 2016 20:45:05 +0200 (CEST) Received: (qmail 22320 invoked by uid 500); 3 Jun 2016 18:44:59 -0000 Mailing-List: contact issues-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list issues@ambari.apache.org Received: (qmail 22086 invoked by uid 99); 3 Jun 2016 18:44:59 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Jun 2016 18:44:59 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 57FD52C1F6E for ; Fri, 3 Jun 2016 18:44:59 +0000 (UTC) Date: Fri, 3 Jun 2016 18:44:59 +0000 (UTC) From: "Hudson (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-16973) Print out configType has malformed json text as part of the ambari server startup error handling MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 03 Jun 2016 18:45:06 -0000 [ 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)