ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmytro Sen" <>
Subject Re: Review Request 39517: Enable Ranger plugin properties should be validated to have same value as in Ranger service
Date Thu, 22 Oct 2015 08:37:44 GMT

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

(Updated Окт. 22, 2015, 8:37 д.п.)

Review request for Ambari, Dmitro Lisnichenko and Jaimin Jetly.

Bugs: AMBARI-13504

Repository: ambari


This is to detect deviations in Ranger plugin properties for individual services from the
central plugin config in Ranger service.

Base property	                         Derived property	                                 
ranger-env/ranger-hdfs-plugin-enabled	ranger-hdfs-plugin-properties/ranger-hdfs-plugin-enabled
HDP-2.2 onwards
ranger-env/ranger-hive-plugin-enabled	ranger-hive-plugin-properties/ranger-hive-plugin-enabled
HDP-2.2 onwards
ranger-env/ranger-hbase-plugin-enabled	ranger-hbase-plugin-properties/ranger-hbase-plugin-enabled
HDP-2.2 onwards
ranger-env/ranger-knox-plugin-enabled	ranger-knox-plugin-properties/ranger-knox-plugin-enabled
HDP-2.2 onwards
ranger-env/ranger-kafka-plugin-enabled	ranger-kafka-plugin-properties/ranger-kafka-plugin-enabled
HDP-2.3 onwards
ranger-env/ranger-yarn-plugin-enabled	ranger-yarn-plugin-properties/ranger-yarn-plugin-enabled
HDP-2.3 onwards
ranger-env/ranger-storm-plugin-enabled	ranger-storm-plugin-properties/ranger-storm-plugin-enabled
HDP-2.2 onwards

This translates to following behavior on web-ui:
If value of ranger-env/ranger-hdfs-plugin-enabled is false on Ranger smart config page and
user changes the value of ranger-hdfs-plugin-properties/ranger-hdfs-plugin-enabled to true
on HDFS service page and saves the configuration then it should show validation error saying
that the value of ranger-env/ranger-hdfs-plugin-enabled and ranger-hdfs-plugin-properties/ranger-hdfs-plugin-enabled
should always be same

Diffs (updated)

  ambari-server/src/main/resources/stacks/HDP/2.0.6/services/ 3db5bfd 
  ambari-server/src/main/resources/stacks/HDP/2.2/services/ 3192ca2 
  ambari-server/src/test/python/stacks/2.0.6/common/ 533808e 
  ambari-server/src/test/python/stacks/2.2/common/ 3362c94 



Unit tests passed


Dmytro Sen

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