jojochuang commented on code in PR #191: URL: https://github.com/apache/ozone-site/pull/191#discussion_r2656614355
########## docs/05-administrator-guide/02-configuration/03-security/03-ranger.md: ########## @@ -4,4 +4,23 @@ sidebar_label: Apache Ranger # Configuring Apache Ranger -**TODO:** File a subtask under [HDDS-9859](https://issues.apache.org/jira/browse/HDDS-9859) and complete this page or section. +Apache Rangerâ„¢ is a framework to enable, monitor and manage comprehensive data security across the Hadoop platform and beyond. Apache Ranger has supported authorization for Ozone since version 2.0. However, due to improvements and bug fixes, using the [latest release](https://ranger.apache.org/download.html) is recommended. + +To use Apache Ranger, you must have Apache Ranger installed in your Hadoop Cluster. For installation instructions of Apache Ranger, please take a look at the [Apache Ranger website](https://ranger.apache.org/index.html). + +If you have a working Apache Ranger installation that is aware of Ozone, then configuring Ozone to work with Apache Ranger is trivial. You have to enable the ACLs support and set the acl authorizer class inside Ozone to be Ranger authorizer. Please add the following properties to the `ozone-site.xml`. + +| Property | Value | +|----------|-------| +| `ozone.acl.enabled` | `true` | +| `ozone.acl.authorizer.class` | `org.apache.ranger.authorization.ozone.authorizer.RangerOzoneAuthorizer` | + +To use the `RangerOzoneAuthorizer`, you also need to add the following environment variables to `ozone-env.sh`: + +```bash +export OZONE_MANAGER_CLASSPATH="${OZONE_HOME}/share/ozone/lib/libext/*" +``` + +- The location of the ranger-ozone-plugin jars depends on where the Ranger Plugin is installed. Review Comment: Not clear what this "ranger-ozone-plugin jars" is. A little explanation is needed. cc @smengcl ########## docs/05-administrator-guide/02-configuration/03-security/03-ranger.md: ########## @@ -4,4 +4,23 @@ sidebar_label: Apache Ranger # Configuring Apache Ranger -**TODO:** File a subtask under [HDDS-9859](https://issues.apache.org/jira/browse/HDDS-9859) and complete this page or section. +Apache Rangerâ„¢ is a framework to enable, monitor and manage comprehensive data security across the Hadoop platform and beyond. Apache Ranger has supported authorization for Ozone since version 2.0. However, due to improvements and bug fixes, using the [latest release](https://ranger.apache.org/download.html) is recommended. + +To use Apache Ranger, you must have Apache Ranger installed in your Hadoop Cluster. For installation instructions of Apache Ranger, please take a look at the [Apache Ranger website](https://ranger.apache.org/index.html). + +If you have a working Apache Ranger installation that is aware of Ozone, then configuring Ozone to work with Apache Ranger is trivial. You have to enable the ACLs support and set the acl authorizer class inside Ozone to be Ranger authorizer. Please add the following properties to the `ozone-site.xml`. Review Comment: the configurations are to be added to the ozone-site.xml of Ozone Managers. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
