wangyum opened a new pull request, #41276:
URL: https://github.com/apache/spark/pull/41276

   ### What changes were proposed in this pull request?
   
   This PR port 
[HIVE-12188](https://issues.apache.org/jira/browse/HIVE-12188)(DoAa does not 
work properly in non-kerberos secure HS2) to Spark
   
   ### Why are the changes needed?
   
   The case with following settings is valid but it seems still not work 
correctly in current HS2:
   ```
   hive.server2.authentication=NONE (or LDAP)
   hive.server2.enable.doAs=true
   hive.metastore.sasl.enabled=true (with HMS Kerberos enabled)
   ```
   
   ### Does this PR introduce _any_ user-facing change?
   
   No.
   
   ### How was this patch tested?
   
   Manual test.
   


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to