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/08 13:09:33 UTC

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

     [ https://issues.apache.org/jira/browse/AMBARI-7676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dmitry Lysnichenko resolved AMBARI-7676.
----------------------------------------
    Resolution: Fixed

Committed to trunk and to brunch 1.7.0

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