ranger-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Don Bosco Durai (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (RANGER-2128) Implement SparkSQL plugin
Date Fri, 06 Jul 2018 01:06:00 GMT

    [ https://issues.apache.org/jira/browse/RANGER-2128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16534345#comment-16534345

Don Bosco Durai commented on RANGER-2128:

Hi [~Qin Yao], I was able to use the latest Ranger Hive Plugin with Spark. I have to do a
bit of hack to use Jersey2 and also comment out one line in the Hive plugin code.

Next, I am trying to see if I can integrate which SparkSQL Thrift server. I will update this
JIRA after that. Hopefully by tomorrow.

I also wrote a standalone Spark plugin and updated your code to call it. However, when I ran
it in SparkSQL Thrift server, it was called, but I was not able to get the effective user
(when doAs is false). I traced the code and it seems the Hive SessionState that is created
has the effective user, however, I am not able to get that outside of it. If you know to get
that somehow, then our implementation of the Spark plugin will be much simpler and not dependent
on the HiveAuthorizer.

> Implement SparkSQL plugin
> -------------------------
>                 Key: RANGER-2128
>                 URL: https://issues.apache.org/jira/browse/RANGER-2128
>             Project: Ranger
>          Issue Type: New Feature
>          Components: plugins, Ranger
>    Affects Versions: 1.1.0
>            Reporter: t oo
>            Assignee: Kent Yao
>            Priority: Major
>             Fix For: 2.0.0
> Implement SparkSQL plugin

This message was sent by Atlassian JIRA

View raw message