Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-5159

Thrift server does not respect hive.server2.enable.doAs=true

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Incomplete
    • 1.2.0
    • None
    • SQL

    Description

      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.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            a1ray Andrew Ray
            Votes:
            16 Vote for this issue
            Watchers:
            51 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment