granewang commented on PR #6873:
URL: https://github.com/apache/gravitino/pull/6873#issuecomment-2803508334
> Yeah, we need to verify it locally at least. @granewang could you please
take some time to verify it locally? If you are busy, please let us know,
thanks.
I have already passed the verification.
steps:
1、curl -X POST -H "Accept: application/vnd.gravitino.v1+json" \
-H "Content-Type: application/json" -d '{
"name": "iceberg_catalog",
"type": "RELATIONAL",
"comment": "iceberg catalog",
"provider": "lakehouse-iceberg",
"properties": {
"catalog-backend": "hive",
"warehouse": "/pathforhivetest",
"uri": "thrift://HMS HOST:9083",
"gravitino.bypass.hadoop.security.authentication": "kerberos",
"gravitino.bypass.hive.metastore.sasl.enabled": "true",
"gravitino.bypass.hive.metastore.kerberos.principal": "hive/HMS
HOST@REALM",
"authentication.kerberos.keytab-uri": "PATH OF KEYTAB",
"authentication.kerberos.principal": "hive/HOST INSATANCE@REALM",
"authentication.type": "kerberos",
"authentication.impersonation-enable": true
}
}' http://localhost:8090/api/metalakes/dev_metalake/catalogs
2、
spark-sql -v --conf
spark.plugins="org.apache.gravitino.spark.connector.plugin.GravitinoSparkPlugin"
--conf spark.sql.gravitino.uri=http://localhost:8090 --conf
spark.sql.gravitino.metalake=dev_metalake --conf
spark.sql.gravitino.enableIcebergSupport=true --conf
spark.sql.warehouse.dir=xxxx --conf spark.sql.gravitino.authType=kerberos
--conf spark.kerberos.principal=uer1/[email protected]
spark.kerberos.keytab=/uer1.keytab
3、use iceberg_catalog;show database

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