You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@kyuubi.apache.org by GitBox <gi...@apache.org> on 2022/06/08 15:13:07 UTC

[GitHub] [incubator-kyuubi] cxzl25 opened a new issue, #2831: [Improvement] Spark engine supports local mode in kerberos environment

cxzl25 opened a new issue, #2831:
URL: https://github.com/apache/incubator-kyuubi/issues/2831

   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   
   
   ### Search before asking
   
   - [X] I have searched in the [issues](https://github.com/apache/incubator-kyuubi/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### What would you like to be improved?
   
   Now in the kerberos environment, the spark engine cannot access the Hive meta store using `spark-submit --master=local --proxy-user xxx`.
   
   ```
   beeline -u "jdbc:hive2://XXXX/default;principal=XXXX/_HOST@XXXX;#kyuubi.engine.share.level=CONNECTION;spark.master=local;spark.submit.deployMode=client;"
   ```
   
   
   ```
   javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)]
   
           at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1743)
           at org.apache.hadoop.hive.thrift.client.TUGIAssumingTransport.open(TUGIAssumingTransport.java:49)
           at org.apache.hadoop.hive.metastore.HiveMetaStoreClient.open(HiveMetaStoreClient.java:483)
   ```
   
   ### How should we improve?
   
   After initializing the spark session, obtain a hive delegation token.
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!


-- 
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: notifications-unsubscribe@kyuubi.apache.org.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org


[GitHub] [incubator-kyuubi] cxzl25 commented on issue #2831: [Improvement] Spark engine supports local mode in kerberos environment

Posted by GitBox <gi...@apache.org>.
cxzl25 commented on issue #2831:
URL: https://github.com/apache/incubator-kyuubi/issues/2831#issuecomment-1150695215

   Closed in favour of https://github.com/apache/incubator-kyuubi/issues/2708


-- 
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: notifications-unsubscribe@kyuubi.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org


[GitHub] [incubator-kyuubi] cxzl25 closed issue #2831: [Improvement] Spark engine supports local mode in kerberos environment

Posted by GitBox <gi...@apache.org>.
cxzl25 closed issue #2831: [Improvement] Spark engine supports local mode in kerberos environment
URL: https://github.com/apache/incubator-kyuubi/issues/2831


-- 
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: notifications-unsubscribe@kyuubi.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org