-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/32821/
-----------------------------------------------------------
Review request for ranger, Alok Lal, Madhan Neethiraj, and Ramesh Mani.
Bugs: RANGER-369
https://issues.apache.org/jira/browse/RANGER-369
Repository: ranger
Description
-------
RANGER-369: ranger agent connection to ssl enabled ranger admin fails
Ranger agent connection to ssl enabled ranger admin fails.
The root cause is mismatched names between config parameter name in service def
json file and parameter name used in org.apache.ranger.common.ServiceUtil.java
service def file uses config param name:
certificate.cn
ServiceUtil looks up by param name:
commonNameForCertificate
We have to use consistent name
Changing all the servive def json file to use param name:
commonNameForCertificate
Diffs
-----
agents-common/src/main/resources/service-defs/ranger-servicedef-hbase.json
42fb502
agents-common/src/main/resources/service-defs/ranger-servicedef-hdfs.json
a37d549
agents-common/src/main/resources/service-defs/ranger-servicedef-hive.json
27bd40f
agents-common/src/main/resources/service-defs/ranger-servicedef-kafka.json
11b5d15
agents-common/src/main/resources/service-defs/ranger-servicedef-knox.json
894b976
agents-common/src/main/resources/service-defs/ranger-servicedef-solr.json
793ec28
agents-common/src/main/resources/service-defs/ranger-servicedef-storm.json
3a00276
agents-common/src/main/resources/service-defs/ranger-servicedef-yarn.json
e0a18da
Diff: https://reviews.apache.org/r/32821/diff/
Testing
-------
Reproduced the problem using knox agent trying to download policies from ssl
enabled ranger admin.
Verified the problem is fixed using knox agent trying to download policies from
ssl enabled ranger admin.
Thanks,
dilli dorai