Cloudera Runtime | Contents | iv
Configuration to expose buckets under non-default volumes............................................................................31
REST endpoints supported on Ozone S3 Gateway........................................................................................... 31
Configuring Ozone to work as a pure object store............................................................................................32
Access Ozone S3 Gateway using the S3A filesystem.......................................................................................32
Accessing Ozone S3 using S3A FileSystem..........................................................................................33
Examples of using the S3A filesystem with Ozone S3 Gateway..........................................................36
Configuring Spark access for S3A.........................................................................................................36
Configuring Hive access for S3A.......................................................................................................... 38
Configuring Impala access for S3A.......................................................................................................39
Using the AWS CLI with Ozone S3 Gateway.................................................................................................. 40
Configuring an https endpoint in Ozone S3 Gateway to work with AWS CLI.....................................40
Examples of using the AWS CLI for Ozone S3 Gateway.................................................................... 41
Accessing Ozone object store with Amazon Boto3 client................................... 43
Obtaining resources to Ozone............................................................................................................................43
Obtaining client to Ozone through session........................................................................................................43
List of APIs verified...........................................................................................................................................44
Create a bucket....................................................................................................................................... 44
List buckets.............................................................................................................................................44
Head a bucket......................................................................................................................................... 44
Delete a bucket....................................................................................................................................... 44
Upload a file...........................................................................................................................................45
Download a file...................................................................................................................................... 45
Head an object........................................................................................................................................45
Delete Objects.........................................................................................................................................45
Multipart upload......................................................................................................................................45
Working with Ozone File System (ofs).................................................................46
Setting up ofs......................................................................................................................................................46
Volume and bucket management using ofs.......................................................................................................47
Key management using ofs................................................................................................................................48
Working with Ozone File System (o3fs)...............................................................49
Setting up o3fs....................................................................................................................................................49
Ozone configuration options to work with CDP components............................ 50
Configuration options for Spark to work with Ozone File System (ofs)...........................................................50
Configuration options to store Hive managed tables on Ozone........................................................................ 50
Overview of the Ozone Manager in High Availability....................................... 51
Considerations for configuring High Availability on the Ozone Manager........................................................51
Ozone Manager nodes in High Availability...................................................................................................... 51
Read and write requests with Ozone Manager in High Availability.....................................................51
Overview of Storage Container Manager in High Availability..........................52
Considerations for configuring High Availability on Storage Container Manager........................................... 52
Storage Container Manager operations in High Availability............................................................................ 53
Offloading Application Logs to Ozone.................................................................53