Title
Create new category
Edit page index title
Edit category
Edit link
Configure ODP with Ceph S3 Ceph Using S3A
This document covers how to configure ODP to use Ceph RGW Object Storage via Hadoop S3A connector for Hadoop, Hive, Spark3, Impala, and Trino, and how to troubleshoot common issues.
Integrate the ODP with Ceph RGW Object Storage over the S3A protocol to optimize data management on open-source object storage. This setup uses Hadoop’s native S3A connector and requires no additional plugins.
For Ceph erasure coding (EC), Ceph uses Jerasure by default, but also allows other accelerator plugins such as ISA-L. Choose the accelerator that best fits your EC deployment.
For details, see the pages below:
Prerequisites
Ceph RGW endpoint URL and valid access/secret keys.
Network connectivity from ODP components to the Ceph RGW endpoint (HTTP/HTTPS).
Administrative access to Hadoop, Hive, and Trino configuration directories.
Create Ceph/IAM User
For ODP-Ceph integration, we have two distinct user types - Ceph native user and IAM user.
Both user types are required:
The Ceph native user bootstraps access
The IAM user enables Ranger policy enforcement
Understanding the difference is important before proceeding.
User Type | Created via | Used to | Recognized by Ranger |
|---|---|---|---|
Ceph Native User | radosgw-admin user create | Bootstrap initial IAM API access | ❌ No |
IAM User |
| Ranger policy enforcement via RGW IAM API | ✅ Yes |

Create Ceph RGW Admin User
Create a new IAM account
Create a Ceph admin user with IAM account
Make sure to copy and store both the Access Key ID and Secret Access Key in a secure location.
Register the Ceph admin user to the AWS CLI.
Create IAM Admin User
Create IAM admin user in AWS CLI
Make sure to copy and store both the Access Key ID and Secret Access Key in a secure location.
Assign S3/IAM permissions to IAM admin user
Configuration
To access data in a Ceph S3 bucket, apply the following configuration changes.
Hadoop Configuration for HDFS/Spark3/Impala
Add configurations in HDFS → Configs → Advanced → Custom core-site
Property | Value |
|---|---|
fs.s3a.access.key | <AWS-access-key> |
fs.s3a.secret.key | <AWS-secret-key> |
fs.s3a.endpoint | |
fs.s3a.aws.credentials.provider | org.apache.hadoop.fs.s3a.SimpleAWSCredentialsProvider |
fs.s3a.impl | org.apache.hadoop.fs.s3a.S3AFileSystem |
fs.s3a.path.style.access | true |
fs.s3a.connection.ssl.enabled | false |
Add configurations in MapReduce → Configs → Advanced → Custom mapred-site
Property | Value |
|---|---|
fs.s3a.impl | org.apache.hadoop.fs.s3a.S3AFileSystem |
Hive Configuration
Reference: Configure Apache Hive with S3A (applies only to 3.3.6.1-101) - Acceldata Open Source Data Platform
Create
.jcekscredentials using access/secret keys
Add the following property at Hive → Config → Custom hive-site
Set the session-level configurations on CLI
Trino Configuration
Add configurations in Trino → Configs → Advanced → Advanced trino-hive → Hive Config
Trino uses its own S3 client (TrinoS3FileSystem), not Hadoop S3A (S3AFileSystem). The S3 credentials and endpoint must be configured in hive.properties to configure Trino.
Ceph with Ranger S3 Plugin
The ODP Ranger S3 plugin manages policies through IAM; create required IAM users before setting up the plugin.
Create an IAM admin user and grant Ceph S3 access permissions.
For detailed setup instructions, see: https://docs.acceldata.io/odp/documentation/ranger-implementation
Quick Connection Test
Create a test bucket.
Upload a test file to the bucket via HDFS.
Check the test file uploaded on the Ceph cluster.
You should be able to see the test.txt file in the Ceph bucket
Troubleshooting
If Ranger policy creation against Ceph fails with an IAM token error, verify the following settings.
Ranger Policy Creation for Ceph Fails with “IAM Invalid Token” Error
