[
https://issues.apache.org/jira/browse/SPARK-5159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15101484#comment-15101484
]
Ma Xiaoyu commented on SPARK-5159:
----------------------------------
Sorry for not following up on this.
Per what I investigate before. The problem is, what Hive get in session is not
passed to DAGScheduler since they are in different thread.
The multi-threaded part is in DAGEventLoop. What I did before is added a field
in event loop to pass the user that been impersonated. So in DAGScheduler event
handler we can re-impersonate again across different threads.
If that's a OK solution, I can stick on that and resubmmit one.
Also I would like to follow up and redesign if needed.
> Thrift server does not respect hive.server2.enable.doAs=true
> ------------------------------------------------------------
>
> Key: SPARK-5159
> URL: https://issues.apache.org/jira/browse/SPARK-5159
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Affects Versions: 1.2.0
> Reporter: Andrew Ray
> Attachments: spark_thrift_server_log.txt
>
>
> I'm currently testing the spark sql thrift server on a kerberos secured
> cluster in YARN mode. Currently any user can access any table regardless of
> HDFS permissions as all data is read as the hive user. In HiveServer2 the
> property hive.server2.enable.doAs=true causes all access to be done as the
> submitting user. We should do the same.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]