gaocho commented on issue #3640:
URL: https://github.com/apache/polaris/issues/3640#issuecomment-3865627514

   Additional Configuration Details:
   application.properties:
   
   quarkus.http.port=8181
   
   # Polaris persistence
   polaris.persistence.type=relational-jdbc
   
   polaris.realm-context.realms=uat1.3
   
   # Quarkus datasource (PostgreSQL)
   quarkus.datasource.db-kind=postgresql
   quarkus.datasource.jdbc.url=jdbc:postgresql://postgres-server:5432/polaris
   quarkus.datasource.username=polaris
   quarkus.datasource.password=mypolaris02
   quarkus.hibernate-orm.database.generation=update
   quarkus.hibernate-orm.sql-load-script=no-file
   quarkus.hibernate-orm.database.default-schema=polaris_schema
   
   polaris.features.SKIP_CREDENTIAL_SUBSCOPING_INDIRECTION=false
   
polaris.features.realm-overrides.polaris.SKIP_CREDENTIAL_SUBSCOPING_INDIRECTION=false
   
   # Disable credential vending for S3-compatible storage
   polaris.catalog.default.s3.credential-vending-enabled=false
   polaris.service.storage.s3.use-sts=false
   polaris.service.storage.credentials-vending=false
   
   # Force use of static credentials from catalog properties
   polaris.catalog.default.s3.use-static-credentials=true
   
   
   spark-defaults.conf (relevant Polaris sections):
   
   spark.sql.catalog.polaris=org.apache.iceberg.spark.SparkCatalog
   spark.sql.catalog.polaris.type=rest
   spark.sql.catalog.polaris.uri=my_server_uri
   spark.sql.catalog.polaris.warehouse=netapp_iceberg
   spark.sql.catalog.polaris.credential=my_client_id:my_secret
   spark.sql.catalog.polaris.s3.remote-signing-enabled=false
   spark.sql.catalog.polaris.header.X-Iceberg-Access-Delegation=false
   spark.sql.catalog.polaris.scope=PRINCIPAL_ROLE:spark_role
   spark.sql.catalog.polaris.token-refresh-enabled=true
   
   spark.sql.catalog.polaris.io-impl=org.apache.iceberg.aws.s3.S3FileIO
   spark.sql.catalog.polaris.s3.access-key-id=my_access_key-id
   spark.sql.catalog.polaris.s3.secret-access-key=my_secret_access_key
   
   # NetApp S3
   spark.hadoop.fs.s3a.endpoint=https://my_netapp_endpoint
   spark.hadoop.fs.s3a.path.style.access=true
   spark.hadoop.fs.s3a.connection.ssl.enabled=true
   spark.hadoop.fs.s3a.access.key=my_access_key-id
   spark.hadoop.fs.s3a.secret.key=my_secret_access_key
   spark.hadoop.fs.s3a.impl.disable.cache=true
   
spark.hadoop.fs.s3a.aws.credentials.provider=org.apache.hadoop.fs.s3a.SimpleAWSCredentialsProvider
   
   
   Catalog configuration (output of catalogs list):
   
   {
     "type": "INTERNAL",
     "name": "netapp_iceberg",
     "properties": {
       "default-base-location": "s3://iceberg/warehouse",
       "s3.path-style-access": "true",
       "s3.access-key-id": "my_access-key-id",
       "s3.secret-access-key": "my_secret_access_key",
       "s3.endpoint": "my_netapp_endpoint",
       "s3.signer-uri": "my_netapp_endpoint",
       "warehouse": "s3://iceberg/warehouse"
     },
     "createTimestamp": 1769985780684,
     "lastUpdateTimestamp": 1770492972420,
     "entityVersion": 4,
     "storageConfigInfo": {
       "storageType": "S3",
       "allowedLocations": ["s3://iceberg/warehouse"],
       "stsUnavailable": true,
       "pathStyleAccess": false
     }
   }
   
   
   Polaris started with:
   
   SKIP_CREDENTIAL_SUBSCOPING_INDIRECTION=false java -Daws.region=us-east-1 
-jar quarkus-run.jar
   
   
   


-- 
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]

Reply via email to