zhangbutao commented on PR #5606:
URL: https://github.com/apache/hive/pull/5606#issuecomment-2696527602

   > > > > > Before merge this PR. i think we need to provide a doc to guide 
users how to use this feature. Otherwise no one would know how to use this 
feature.
   > > > > > I tried the rest catalog with Spark, but found some issues. I am 
not sure i missed some configuration:
   > > > > 
   > > > > 
   > > > > I believe you need to be authenticated first before using the API.
   > > > 
   > > > 
   > > > Is this the standard authentication method provided by iceberg? If 
not, We should implement authentication according to the iceberg rest 
specification.
   > > 
   > > 
   > > @dengzhhu653, probably same question: [#5606 
(comment)](https://github.com/apache/hive/pull/5606#discussion_r1967525191)
   > 
   > The `jwt` is our preferable way for authentication, and we have it 
supported in both `http` HS2 and metastore. I don't get much insight of the 
differences between those two auth methods, we can file another jira to 
implement this auth if we need to.
   
   Iceberg rest catalog should have its own credential framework. But sorrry 
for I haven't looked into this much yet.
   Other Rest catalog server like Apache gravitino has done the credential 
based on Iceberg restcatalog specification. Users can use some spark 
configuration to do authenticate.   Can refer to 
https://github.com/apache/gravitino/pull/5134/files. 
   
   BTW,  as a standard rest catalog, HMS rest catalog should consider other OSS 
like Spark how to access to it? Apache gravitino maybe give a good example: 
https://gravitino.apache.org/docs/0.8.0-incubating/iceberg-rest-service#exploring-the-apache-gravitino-iceberg-rest-catalog-service-with-apache-spark
   
   We can continue to disscuss this or file another jira to implement once find 
something new idea. :)


-- 
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: gitbox-unsubscr...@hive.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org
For additional commands, e-mail: gitbox-h...@hive.apache.org

Reply via email to