-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/57531/
-----------------------------------------------------------
Review request for ranger, Don Bosco Durai, Colm O hEigeartaigh, Ramesh Mani,
and Velmurugan Periasamy.
Bugs: RANGER-1447
https://issues.apache.org/jira/browse/RANGER-1447
Repository: ranger
Description
-------
[root@dap90 ranger-1.0.0-SNAPSHOT-hbase-plugin]# ./enable-hbase-plugin.sh
Custom user and group is available, using custom user and group.
ERROR: Unable to find the conf directory of component [hbase]; dir
[/home/rangerplugin/hbase/conf] not found.
Exiting installation.
I analyzed the reasons
we should add 'COMPONENT_INSTALL_DIR_NAME=' in the file install.properties
Diffs
-----
hbase-agent/scripts/install.properties 54587a8
Diff: https://reviews.apache.org/r/57531/diff/1/
Testing
-------
[root@dap90 ranger-1.0.0-SNAPSHOT-hbase-plugin]# ./enable-hbase-plugin.sh
Custom user and group is available, using custom user and group.
+ 2017? 03? 11? ??? 12:18:12 CST : hbase: lib folder=/home/hdfs/hbase-1.1.5/lib
conf folder=/home/hdfs/hbase-1.1.5/conf
+ 2017? 03? 11? ??? 12:18:12 CST : Saving current config file:
/home/hdfs/hbase-1.1.5/conf/hbase-site.xml to
/home/hdfs/hbase-1.1.5/conf/.hbase-site.xml.20170311-121812 ...
+ 2017? 03? 11? ??? 12:18:12 CST : Saving current config file:
/home/hdfs/hbase-1.1.5/conf/ranger-hbase-audit.xml to
/home/hdfs/hbase-1.1.5/conf/.ranger-hbase-audit.xml.20170311-121812 ...
+ 2017? 03? 11? ??? 12:18:12 CST : Saving current config file:
/home/hdfs/hbase-1.1.5/conf/ranger-hbase-security.xml to
/home/hdfs/hbase-1.1.5/conf/.ranger-hbase-security.xml.20170311-121812 ...
+ 2017? 03? 11? ??? 12:18:13 CST : Saving current config file:
/home/hdfs/hbase-1.1.5/conf/ranger-policymgr-ssl.xml to
/home/hdfs/hbase-1.1.5/conf/.ranger-policymgr-ssl.xml.20170311-121812 ...
+ 2017? 03? 11? ??? 12:18:14 CST : Saving current JCE file:
/etc/ranger/hbasedev/cred.jceks to
/etc/ranger/hbasedev/.cred.jceks.20170311121814 ...
Ranger Plugin for hbase has been enabled. Please restart hbase to ensure that
changes are effective.
Thanks,
Qiang Zhang