Configuring Hive access for Ozone using S3A
Learn about how to configure Hive access for Ozone using S3A.
- You must import the CA certificate to run Accessing Ozone S3 using S3A FileSystem.
- Perform the following steps to add the following configurations to S3
configurations for Ozone access:
- Sign in to Cloudera Manager.
- Navigate to .
- Add the following
properties:
fs.s3a.endpoint = <Ozone S3 endpoint URL> fs.s3a.bucket.probe = 0 fs.s3a.change.detection.version.required = false fs.s3a.path.style.access = true fs.s3a.change.detection.mode = none - Navigate to .
- Add the following
properties:
fs.s3a.endpoint = <Ozone S3 endpoint URL> fs.s3a.bucket.probe = 0 fs.s3a.change.detection.version.required = false fs.s3a.path.style.access = true fs.s3a.change.detection.mode = none - Restart the Stale services on the Clusters.
- Navigate to and click Deploy client configuration.
- Provide the required permissions in Ranger to the user running the queries.
Example: Provide a user with all the permissions:
- Assign the user with all permissions to the Database, table/udf, and URL resources in a HadoopSQL resource-based policy.
- Assign the user with
S3_VOLUME_POLICYin an Ozone policy.
You can change the permissions based on your requirements.
