zezOtik commented on issue #12765: URL: https://github.com/apache/iceberg/issues/12765#issuecomment-3096195823
I have the same issue **Spark 3.5** `java.io.UncheckedIOException: org.apache.hadoop.fs.UnsupportedFileSystemException: No FileSystem for scheme "s3"` , with the current state: Dockerfile with jars ``` RUN wget -O $SPARK_HOME/jars/iceberg-spark-runtime.jar https://repo1.maven.org/maven2/org/apache/iceberg/iceberg-spark-runtime-3.5_2.12/1.9.1/iceberg-spark-runtime-3.5_2.12-1.9.1.jar && \ wget -O $SPARK_HOME/jars/nessie-spark-extensions.jar https://repo1.maven.org/maven2/org/projectnessie/nessie-integrations/nessie-spark-extensions-3.5_2.12/0.103.3/nessie-spark-extensions-3.5_2.12-0.103.3.jar && \ wget -O $SPARK_HOME/jars/aws-sdk-bundle.jar https://repo1.maven.org/maven2/software/amazon/awssdk/bundle/2.20.131/bundle-2.20.131.jar ``` SparkSessionMaintenance.py ``` spark = SparkSession.builder \ .appName("IcebergWithMinIO") \ .config("spark.sql.extensions", "org.apache.iceberg.spark.extensions.IcebergSparkSessionExtensions," "org.projectnessie.spark.extensions.NessieSparkSessionExtensions") \ .config("spark.driver.memory", "8g") \ .config(f"spark.sql.catalog.{NESSIE_CATALOG_NAME}.uri", CATALOG_URI) \ .config(f"spark.sql.catalog.{NESSIE_CATALOG_NAME}.ref", CATALOG_MAIN_BRANCH) \ .config(f"spark.sql.catalog.{NESSIE_CATALOG_NAME}.authentication.type", "OAUTH2") \ .config(f"spark.sql.catalog.{NESSIE_CATALOG_NAME}.authentication.oauth2.client-id", SECRET_NESSIE_AUTH_CLIENT_ID) \ .config(f"spark.sql.catalog.{NESSIE_CATALOG_NAME}.authentication.oauth2.client-secret", SECRET_NESSIE_AUTH_CLIENT_SECRET) \ .config(f"spark.sql.catalog.{NESSIE_CATALOG_NAME}.authentication.oauth2.issuer-url", OAUTH_ISSUER_AUTH_URI) \ .config(f"spark.sql.catalog.{NESSIE_CATALOG_NAME}.catalog-impl", "org.apache.iceberg.nessie.NessieCatalog") \ .config(f"spark.sql.catalog.{NESSIE_CATALOG_NAME}.warehouse", CATALOG_WAREHOUSE) \ .config(f"spark.sql.catalog.{NESSIE_CATALOG_NAME}", "org.apache.iceberg.spark.SparkCatalog") \ .config(f"spark.sql.catalog.{NESSIE_CATALOG_NAME}.s3.endpoint", S3_ENDPOINT) \ .config(f"spark.sql.catalog.{NESSIE_CATALOG_NAME}.s3.endpoint.region", AWS_REGION) \ .config(f"spark.sql.catalog.{NESSIE_CATALOG_NAME}.io-impl", "org.apache.iceberg.aws.s3.S3FileIO") \ .getOrCreate() .... spark.sql(f"CALL {NESSIE_CATALOG_NAME}.system.remove_orphan_files(table => '{NESSIE_CATALOG_NAME}.{full_name}'," f"older_than => TIMESTAMP '{AIRFLOW_TIMESTAMP}')") ``` All other maintenance operation - work, CRUD work via spark.sql -- 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