# Problem with Iceberg Catalog and Singlestore deployment on Openshift

**URL:** <https://www.singlestore.com/forum/t/problem-with-iceberg-catalog-and-singlestore-deployment-on-openshift/8058>\
**Category:** Help\
**Tags:** pipelines\
**Created:** [December 23, 2024, 2:44pm UTC](https://www.singlestore.com/forum/t/problem-with-iceberg-catalog-and-singlestore-deployment-on-openshift/8058 "2024-12-23T14:44:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![buituanh2002](https://www.singlestore.com/forum/letter_avatar_proxy/v4/letter/b/c67d28/32.png) [@buituanh2002](https://www.singlestore.com/forum/u/buituanh2002)\
**Post date:** [December 23, 2024, 2:44pm UTC](https://www.singlestore.com/forum/t/problem-with-iceberg-catalog-and-singlestore-deployment-on-openshift/8058/1 "2024-12-23T14:44:16Z")

</div>

Hi everyone,

I’m new to SingleStore, so I might not have as much experience with it.  
I’m using SingleStore v8.9 on OpenShift, and my S3-compatible storage is exposed through both NodePort and Route in OpenShift (in the default namespace, not in the SingleStore namespace).  
Here’s what’s happening:

When I use the Route URL to connect to my S3-compatible object storage and run commands like `CREATE DATABASE` or `CREATE PIPELINE AS LOAD DATA S3`, everything works without any errors. For example:

CREATE DATABASE test\_db  
PARTITIONS 4 SUB\_PARTITIONS 16  
ON S3 ‘new\_bucket/data\_ss/test\_db’  
CONFIG ‘{“endpoint\_url”: “[https://minio-ceph-rgw.lh.com](https://minio-ceph-rgw.lh.com)”, “verify\_ssl”: false}’  
CREDENTIALS ‘{“aws\_access\_key\_id”: , “aws\_secret\_access\_key”: }’;

CREATE PIPELINE temp\_pipeline  
AS LOAD DATA S3 ‘s3://landingdev/source/parquet/temp/data/\*.parquet’  
CONFIG ‘{“endpoint\_url”: “[https://minio-ceph-rgw.lh.com](https://minio-ceph-rgw.lh.com)”}’  
CREDENTIALS ‘{“aws\_access\_key\_id”: , “aws\_secret\_access\_key”: }’  
BATCH\_INTERVAL 2500 RESOURCE POOL pipeline\_pool\_1  
ENABLE OUT\_OF\_ORDER OPTIMIZATION ENABLE OFFSETS METADATA GC SKIP DUPLICATE KEY ERRORS  
INTO TABLE temp\_table  
FORMAT Parquet (id ← id, matthc ← matthc);

=\> Both commands run successfully with no issues.

However, when I try to create a pipeline to ingest data from Iceberg using the same endpoint\_url, I get the following error:  
Caused by: java.net.UnknownHostException: [rawdev.minio-ceph-rgw.lh.com](http://rawdev.minio-ceph-rgw.lh.com)

Here’s the command I used:  
CREATE OR REPLACE PIPELINE addresses\_pipe DEBUG  
AS LOAD DATA S3 ‘temp\_db.temp\_table’  
CONFIG ‘{  
“catalog\_type”: “HIVE”,  
“catalog.uri”: “thrift://hive-metastore-svc.cluster.local:9083”,  
“catalog.hive.metastore.client.auth.mode”: “PLAIN”,  
“catalog.hive.metastore.client.plain.username”: “dev”,  
“catalog.hive.metastore.client.plain.password”: ,  
“catalog.metastore.use.SSL”: “true”,  
“region”: “us-east-1”,  
“catalog.hive.metastore.truststore.type”: “PKCS12”,  
“catalog.hive.metastore.truststore.path”: “/tmp/truststore.p12”,  
“catalog.hive.metastore.truststore.password”: “hive123”,  
“endpoint\_url”: “[https://minio-ceph-rgw.lh.com](https://minio-ceph-rgw.lh.com)”,  
“catalog\_name”: “rawdev”  
}’  
CREDENTIALS ‘{  
“aws\_access\_key\_id”: ,  
“aws\_secret\_access\_key”:   
}’  
SKIP DUPLICATE KEY ERRORS  
INTO TABLE temp\_table  
FORMAT ICEBERG(…);

Interestingly, when I replace the `endpoint_url` with the IP:Port from the NodePort service, it works as expected.

My question is: Given that the Route URL works for S3 pipelines but not for Iceberg ingestion, is any additional configuration needed to support Iceberg with the Route URL in SingleStore?

I’d appreciate any advice or insights you can share.  
Thanks a lot!

---

<div class="post-metadata">

**Author:** ![hlib-pylypets](https://www.singlestore.com/forum/letter_avatar_proxy/v4/letter/h/da6949/32.png) [@hlib-pylypets](https://www.singlestore.com/forum/u/hlib-pylypets)\
**Post date:** [January 2, 2025, 6:12am UTC](https://www.singlestore.com/forum/t/problem-with-iceberg-catalog-and-singlestore-deployment-on-openshift/8058/2 "2025-01-02T06:12:22Z")

</div>

Hello, thank you for posting this detailed comparison.  
We will fix the behavior in the upcoming release to be the same as for S3.

For now, can you try “catalog.s3.path-style-access”: “true” option in the config to have hostname resolved?
