ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmytro Sen" <d...@hortonworks.com>
Subject Re: Review Request 26413: Stack API generates invalid json files at "content" area
Date Wed, 08 Oct 2014 10:32:01 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/26413/#review55781
-----------------------------------------------------------


Are unit tests still fail ?

- Dmytro Sen


On Окт. 8, 2014, 10:28 д.п., Dmitro Lisnichenko wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/26413/
> -----------------------------------------------------------
> 
> (Updated Окт. 8, 2014, 10:28 д.п.)
> 
> 
> Review request for Ambari, Dmytro Sen and Tom Beerbower.
> 
> 
> Bugs: AMBARI-7676
>     https://issues.apache.org/jira/browse/AMBARI-7676
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> 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:
> Error: Parse error on line 14:
> ...fs-log4j.xml"  }} {  "href" : "http:/
> ---------------------^
> Expecting 'EOF', '}', ',', ']'
> I've attached JSON I've got
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/java/org/apache/ambari/server/api/services/serializers/JsonSerializer.java
59d5a8a 
>   ambari-server/src/test/java/org/apache/ambari/server/api/services/serializers/JsonSerializerTest.java
90063a0 
> 
> Diff: https://reviews.apache.org/r/26413/diff/
> 
> 
> Testing
> -------
> 
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] Ambari Main ....................................... SUCCESS [3.560s]
> [INFO] Apache Ambari Project POM ......................... SUCCESS [0.257s]
> [INFO] Ambari Web ........................................ SUCCESS [33.899s]
> [INFO] Ambari Views ...................................... SUCCESS [1.492s]
> [INFO] Ambari Admin View ................................. SUCCESS [8.862s]
> [INFO] Ambari Server ..................................... FAILURE [21:30.575s]
> [INFO] Ambari Agent ...................................... SKIPPED
> [INFO] Ambari Client ..................................... SKIPPED
> [INFO] Ambari Python Client .............................. SKIPPED
> [INFO] Ambari Groovy Client .............................. SKIPPED
> [INFO] Ambari Shell ...................................... SKIPPED
> [INFO] Ambari Python Shell ............................... SKIPPED
> [INFO] Ambari Groovy Shell ............................... SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 22:19.290s
> [INFO] Finished at: Tue Oct 07 19:55:33 FET 2014
> [INFO] Final Memory: 33M/396M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test
(default-test) 
> 
> Tests are failing on trunk. Will retest later.
> 
> 
> Thanks,
> 
> Dmitro Lisnichenko
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message