-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/30639/
-----------------------------------------------------------
Review request for Ambari, John Speidel, Robert Levas, and Yusaku Sako.
Bugs: AMBARI-9480
https://issues.apache.org/jira/browse/AMBARI-9480
Repository: ambari
Description
-------
This patch resolves AMBARI-9480.
The Ranger-related properties that have recently been added to the
stack definitions did not include all the required metadata for
the Blueprint processor to function correctly. In particular,
password properties must be annotated with the correct metadata,
so that the Blueprint processor can remove these properties
from a Blueprint that is exported from a running cluster.
This patch resolves the problem by adding the correct
"PASSWORD" type to the Ranger properties that represent
passwords. This patch also marks these properties as
requiring user input, and removes the default passwords
that were previously included in the stack. This metadata
is required so that the Blueprint processor can detect
the case of a property that is a password.
Diffs
-----
ambari-server/src/main/resources/common-services/KNOX/0.5.0.2.2/configuration/ranger-knox-plugin-properties.xml
b744658
ambari-server/src/main/resources/stacks/HDP/2.2/services/HBASE/configuration/ranger-hbase-plugin-properties.xml
fdc2c7c
ambari-server/src/main/resources/stacks/HDP/2.2/services/HDFS/configuration/ranger-hdfs-plugin-properties.xml
7bb6a8a
ambari-server/src/main/resources/stacks/HDP/2.2/services/HIVE/configuration/ranger-hive-plugin-properties.xml
3ee693e
ambari-server/src/main/resources/stacks/HDP/2.2/services/STORM/configuration/ranger-storm-plugin-properties.xml
1c28f03
Diff: https://reviews.apache.org/r/30639/diff/
Testing
-------
1. Ran the ambari-server unit-test suite (all tests passing)
2. Manually verified that a cluster with the updated stack definition changes
will deploy properly, and also verified that a Blueprint exported from this
running cluster will not include the password properties related to Ranger.
Thanks,
Robert Nettleton