dyrnq commented on issue #7935:
URL: https://github.com/apache/gravitino/issues/7935#issuecomment-3157610281

   `bin/spark-sql` also need these properties
   
   ```bash
   bin/spark-sql \
   --jars \
   
/opt/maven-repo/org/apache/gravitino/gravitino-spark-connector-runtime-3.5_2.12/0.9.1/gravitino-spark-connector-runtime-3.5_2.12-0.9.1.jar,\
   
/opt/maven-repo/org/apache/iceberg/iceberg-aws-bundle/1.8.1/iceberg-aws-bundle-1.8.1.jar,\
   
/opt/maven-repo/org/apache/iceberg/iceberg-spark-runtime-3.5_2.12/1.8.1/iceberg-spark-runtime-3.5_2.12-1.8.1.jar
 \
   --conf 
spark.plugins="org.apache.gravitino.spark.connector.plugin.GravitinoSparkPlugin"
 \
   --conf spark.sql.gravitino.uri=http://192.168.6.159:8090 \
   --conf spark.sql.gravitino.metalake=mylake \
   --conf spark.sql.gravitino.enableIcebergSupport=true \
   --conf spark.sql.catalog.foo_rest_catalog.prefix=foo \
   --conf 
spark.sql.catalog.foo_rest_catalog.s3.endpoint=http://192.168.6.159:9000 \
   --conf spark.sql.catalog.foo_rest_catalog.s3.path-style-access=true \
   --conf spark.sql.catalog.foo_rest_catalog.client.region=us-east-1 \
   --conf spark.sql.catalog.foo_rest_catalog.s3.access-key-id=vUR3oLMF5ds8gWCP \
   --conf 
spark.sql.catalog.foo_rest_catalog.s3.secret-access-key=odWFIZukYrw9dY0G5ezDKMZWbhU0S4oD
 \
   --conf spark.sql.catalog.bar_rest_catalog.prefix=bar \
   --conf 
spark.sql.catalog.bar_rest_catalog.s3.endpoint=http://192.168.6.159:9200 \
   --conf spark.sql.catalog.bar_rest_catalog.s3.path-style-access=true \
   --conf spark.sql.catalog.bar_rest_catalog.client.region=us-east-1 \
   --conf spark.sql.catalog.bar_rest_catalog.s3.access-key-id=vUR3oLMF5ds8gWCP \
   --conf 
spark.sql.catalog.bar_rest_catalog.s3.secret-access-key=odWFIZukYrw9dY0G5ezDKMZWbhU0S4oD
   ``` 
   
   <img width="1915" height="645" alt="Image" 
src="https://github.com/user-attachments/assets/1de56cca-0b67-469b-b3ea-9fe4794596e5";
 />


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