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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Incomplete
    • Affects Version/s: 1.2.0
    • Fix Version/s: None
    • Component/s: SQL
    • Labels:

      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

        1. spark_thrift_server_log.txt
          94 kB
          Greg Senia

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                a1ray Andrew Ray
              • Votes:
                16 Vote for this issue
                Watchers:
                54 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: