ming12713 commented on issue #7709: URL: https://github.com/apache/iceberg/issues/7709#issuecomment-1577843182
> Can you try setting: > > ``` > s3.path-style-access=true > ``` > > This can be done on a catalog level: > > ```shell > spark.sql.extensions org.apache.iceberg.spark.extensions.IcebergSparkSessionExtensions > spark.sql.catalog.demo org.apache.iceberg.spark.SparkCatalog > spark.sql.catalog.demo.catalog-impl org.apache.iceberg.rest.RESTCatalog > spark.sql.catalog.demo.uri http://rest:8181 > spark.sql.catalog.demo.io-impl org.apache.iceberg.aws.s3.S3FileIO > spark.sql.catalog.demo.warehouse s3a://xx/ > spark.sql.catalog.demo.s3.endpoint http://los.xxxx.com:9000 > spark.sql.catalog.demo.s3.path-style-access true > spark.sql.defaultCatalog demo > spark.eventLog.enabled true > spark.eventLog.dir /home/iceberg/spark-events > spark.history.fs.logDirectory /home/iceberg/spark-events > spark.sql.catalogImplementation in-memory > Thanks @Fokko But, Failed to modify sql.catalog ``` spark.hadoop.fs.s3a.aws.credentials.provider org.apache.hadoop.fs.s3a.SimpleAWSCredentialsProvider spark.hadoop.fs.s3a.impl org.apache.hadoop.fs.s3a.S3AFileSystem spark.hadoop.fs.s3a.endpoint.region cn-north-1 spark.hadoop.fs.s3a.access.key xm2U3ww spark.hadoop.fs.s3a.secret.key eDMZQAulRQJm spark.hadoop.fs.s3a.endpoint http://los.xxx.com spark.hadoop.fs.s3a.bucket.probe 0 spark.hadoop.fs.s3a.change.detection.version.required false spark.hadoop.fs.s3a.change.detection.mode none spark.hadoop.fs.s3a.path.style.access true # spark jdbc spark.sql.extensions org.apache.iceberg.spark.extensions.IcebergSparkSessionExtensions spark.sql.catalog.jdbc org.apache.iceberg.spark.SparkCatalog spark.sql.catalog.jdbc.catalog-impl org.apache.iceberg.jdbc.JdbcCatalog spark.sql.catalog.jdbc.uri jdbc:postgresql://10.0.162.5:31884/jdbc_gm spark.sql.catalog.jdbc.jdbc.user postgres spark.sql.catalog.jdbc.jdbc.password QzBodddd spark.sql.catalog.jdbc.warehouse s3://minio-jdbc spark.sql.catalog.jdbc.io-impl org.apache.iceberg.aws.s3.S3FileIO spark.sql.catalog.jdbc.s3.endpoint http://los.xxx.com spark.sql.catalog.jdbc.s3.path-style-access true spark.eventLog.enabled true ``` errors output  AWS profile is configured in os profile -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
