You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Dmitry Lysnichenko (JIRA)" <ji...@apache.org> on 2014/10/07 17:57:34 UTC

[jira] [Created] (AMBARI-7676) Stack API generates invalid json files at "content" area

Dmitry Lysnichenko created AMBARI-7676:
------------------------------------------

             Summary: Stack API generates invalid json files at "content" area
                 Key: AMBARI-7676
                 URL: https://issues.apache.org/jira/browse/AMBARI-7676
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
    Affects Versions: 1.7.0
            Reporter: Dmitry Lysnichenko
            Assignee: Dmitry Lysnichenko
             Fix For: 1.7.0


Content of files that is presented at /api/v1/stacks/HDP/versions/2.2/services/HDFS/configurations/content# generates invalid json. Commas are missing between sections.

Result of validation:
{code}
Error: Parse error on line 14:
...fs-log4j.xml"  }} {  "href" : "http:/
---------------------^
Expecting 'EOF', '}', ',', ']'
{code}

I've attached JSON I've got



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)