-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with Apache Iceberg 1.4.2 and StarRocks 3.1.5 #36287
Comments
Try to create catalog as: create external catalog 'iceberg'
PROPERTIES
(
"type"="iceberg",
"iceberg.catalog.type"="rest",
"iceberg.catalog.uri"="http://iceberg-rest:8181",
"iceberg.catalog.warehouse"="starrocks",
"aws.s3.access_key"="admin",
"aws.s3.secret_key"="password",
"aws.s3.endpoint"="http://minio:9000",
"aws.s3.enable_path_style_access"="true",
"client.factory"="com.starrocks.connector.iceberg.IcebergAwsClientFactory"
); Force using SR's AWS client factory in the rest catalog. |
Because in order to seamlessly support Tabular, Starrocks used Iceberg's official AWS client factory in the rest catalog, which caused the parameters of |
validated the fix. |
@Smith-Cruise Can you please help figure out what to write in the docs about Is this property used only for Tabular? |
No, this property only used by iceberg self-hosted rest catalog. If you are using tabular, you don't need to add this property. |
OK, I am using the REST catalog container provided by Tabular (the same as Albert was using). I will try it with and without the property. |
that rest catalog container is provided by apache iceberg. |
This one @alberttwong ? |
Here is what I am thinking for the section of the Lakehouse quickstart that describes the external catalog: Create an external catalogThe external catalog is the configuration that allows StarRocks to operate on CREATE EXTERNAL CATALOG 'iceberg'
PROPERTIES
(
"type"="iceberg",
"iceberg.catalog.type"="rest",
"iceberg.catalog.uri"="http://iceberg-rest:8181",
"iceberg.catalog.warehouse"="warehouse",
"aws.s3.access_key"="admin",
"aws.s3.secret_key"="password",
"aws.s3.endpoint"="http://minio:9000",
"aws.s3.enable_path_style_access"="true",
"client.factory"="com.starrocks.connector.iceberg.IcebergAwsClientFactory"
); PROPERTIES
|
following https://iceberg.apache.org/spark-quickstart/ and #23427
docker-compose.yml
then we run
docker-compose up
.creating table and data.
FE error log
The text was updated successfully, but these errors were encountered: