ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Speidel" <>
Subject Re: Review Request 36376: BP configuration methods getFullProperties() and getFullAttributes() may modify the underlying configuration in some cases
Date Thu, 09 Jul 2015 23:10:46 GMT

This is an automatically generated e-mail. To reply, visit:

(Updated July 9, 2015, 11:10 p.m.)

Review request for Ambari and Robert Nettleton.

Bugs: AMBARI-12366

Repository: ambari


In some cases the methods getFullProperties() and getFullAttributes() in the Configuration
class modify the underlying configuration. In one path, a deep copy isn't being properly done
on the configuration maps so the underlying map is being modified. This can cause a host group
configuration to be set on the cluster scoped configuration.


  ambari-server/src/main/java/org/apache/ambari/server/topology/ 91b7736

  ambari-server/src/test/java/org/apache/ambari/server/topology/ 9bab88f


Testing (updated)

- Deployed a cluster via blueprint which contained host group scoped config
- Fixed existing unit tests to catch this scenario
- Currently running full unit test suite and will update Jira with results prior to merging

Results :

Tests run: 3115, Failures: 0, Errors: 0, Skipped: 28
Total run:771
Total errors:0
Total failures:0


John Speidel

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