datavane / datasophon

The next generation of cloud-native big data management expert , Aims to help users rapidly build stable, efficient, and scalable cloud-native platforms for big data.
https://datasophon.github.io/datasophon-website/
Apache License 2.0
1.01k stars 360 forks source link

fix ranger-hbase #516

Closed gaozhenfeng1 closed 3 months ago

gaozhenfeng1 commented 3 months ago

Fixed the problem of invalid permissions caused by hbase enabling ranger to execute enable-hbase-plugin.sh error.

gaozhenfeng1 commented 3 months ago

缺少配置执行enable脚本报错如下 *** ERROR: unable to process xml configuration changes due to error:org.apache.ranger.utils.install.XmlConfigChanger$ValidationException: ERROR: configuration token [XAAUDIT.AMAZON_CLOUDWATCH.ENABLE] is not defined in the file: [/opt/datasophon/hbase/ranger-hbase-plugin/install.properties] java.lang.RuntimeException: org.apache.ranger.utils.install.XmlConfigChanger$ValidationException: ERROR: configuration token [XAAUDIT.AMAZON_CLOUDWATCH.ENABLE] is not defined in the file: [/opt/datasophon/hbase/ranger-hbase-plugin/install.properties] at org.apache.ranger.utils.install.XmlConfigChanger.run(XmlConfigChanger.java:198) at org.apache.ranger.utils.install.XmlConfigChanger.main(XmlConfigChanger.java:77) Caused by: org.apache.ranger.utils.install.XmlConfigChanger$ValidationException: ERROR: configuration token [XAAUDIT.AMAZON_CLOUDWATCH.ENABLE] is not defined in the file: [/opt/datasophon/hbase/ranger-hbase-plugin/install.properties] at org.apache.ranger.utils.install.XmlConfigChanger.replaceProp(XmlConfigChanger.java:458) at org.apache.ranger.utils.install.XmlConfigChanger.run(XmlConfigChanger.java:195) ... 1 more