Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-16973

Print out configType has malformed json text as part of the ambari server startup error handling

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • trunk
    • trunk
    • ambari-server
    • None

    Description

      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.

      Attachments

        1. AMBARI-16973.patch
          2 kB
          Di Li

        Activity

          People

            dili Di Li
            dili Di Li
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: