clamar14 commented on issue #10078: URL: https://github.com/apache/iceberg/issues/10078#issuecomment-2345880274
thank you all, I finally solved it this way: ` .config("spark.sql.catalog.AwsDataCatalog.s3.access-key-id", "xxx") .config("spark.sql.catalog.AwsDataCatalog.s3.secret-access-key", "xxx") .config("spark.jars.packages", "org.apache.hadoop:hadoop-aws:3.3.4,org.slf4j:slf4j-simple:1.6.1,org.slf4j:slf4j-api:1.6.1,org.projectnessie.nessie-integrations:nessie-spark-extensions-3.5_2.12:0.91.2,org.apache.iceberg:iceberg-spark-runtime-3.5_2.12:1.5.2,software.amazon.awssdk:bundle:2.17.257,software.amazon.awssdk:url-connection-client:2.17.257") .config("spark.sql.extensions", "org.apache.iceberg.spark.extensions.IcebergSparkSessionExtensions,org.projectnessie.spark.extensions.NessieSparkSessionExtensions") .config("spark.kryo.registrator", "org.apache.sedona.core.serde.SedonaKryoRegistrator") .config("spark.sql.catalog.nessie", "org.apache.iceberg.spark.SparkCatalog") .config("spark.sql.catalog.nessie.catalog-impl", "org.apache.iceberg.nessie.NessieCatalog") .config("spark.sql.catalog.nessie.io-impl", "org.apache.iceberg.aws.s3.S3FileIO") .config("spark.sql.catalog.nessie.warehouse", "s3a://xxx/nessie") .config("spark.sql.catalog.nessie.s3.endpoint", "https://xxx") .config("spark.sql.catalog.nessie.uri", "http://xxx") .config("spark.sql.catalog.nessie.ref", "main") .config("spark.sql.catalog.nessie.authentication.type", "NONE") .config"spark.sql.warehouse.dir", "s3a://xxx/nessie") .config("spark.sql.catalog.nessie.client.credentials-provider", "software.amazon.awssdk.auth.credentials.SystemPropertyCredentialsProvider") .config("spark.driver.extraJavaOptions", "-Daws.region=eu-central-1") .config("spark.executor.extraJavaOptions", "-Daws.region=eu-central-1") .config("spark.sql.catalog.nessie.s3.access-key-id", "xxx") .config("spark.sql.catalog.nessie.s3.secret-access-key", "xxx") ` In particular, the extraJavaOptions configurations were helpful in removing the ‘Unable to load region ’ error, while the last two lines I solved the ‘Unable to load credentials ’ error -- 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: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org