You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Madhan Neethiraj (Jira)" <ji...@apache.org> on 2021/12/30 09:01:00 UTC
[jira] [Updated] (RANGER-3563) [Docker] plugin installation fails with error: XAAUDIT.AMAZON_CLOUDWATCH.ENABLE not defined
[ https://issues.apache.org/jira/browse/RANGER-3563?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Madhan Neethiraj updated RANGER-3563:
-------------------------------------
Attachment: RANGER-3563.patch
> [Docker] plugin installation fails with error: XAAUDIT.AMAZON_CLOUDWATCH.ENABLE not defined
> -------------------------------------------------------------------------------------------
>
> Key: RANGER-3563
> URL: https://issues.apache.org/jira/browse/RANGER-3563
> Project: Ranger
> Issue Type: Bug
> Components: plugins
> Affects Versions: 2.3.0
> Reporter: Madhan Neethiraj
> Assignee: Madhan Neethiraj
> Priority: Major
> Fix For: 3.0.0, 2.3.0
>
> Attachments: RANGER-3563.patch
>
>
> After recent updates in RANGER-3540 to support Amazon CloudWatch as audit log destination, setup of plugins in docker fail with following error:
> {noformat}
> ******* 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/ranger/ranger-hdfs-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/ranger/ranger-hdfs-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/ranger/ranger-hdfs-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
> *************************************************************************
> ERROR: Unable to make changes to config. file: /opt/hadoop/etc/hadoop/ranger-hdfs-audit.xml
> exiting ....{noformat}
>
> Configuration files used to setup plugins in docker should be updated to fix this failure.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)