Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-7292 Hive on Spark
  3. HIVE-8787

UT: update hive-site.xml for spark UTs to add hive_admin_user to admin role

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • spark-branch
    • 1.1.0
    • Tests
    • None

    Description

      The test authorization_admin_almighty1 fails with this error:
      FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. hive_admin_user doesn't belong to role admin

      The problem is that the hive-site.xml under data/conf/spark/ is missing this entry
      <property>
      <name>hive.users.in.admin.role</name>
      <value>hive_admin_user</value>
      </property>

      Attachments

        1. HIVE-8787.2-spark.patch
          3 kB
          Xuefu Zhang
        2. HIVE-8787.1-spark.patch
          0.4 kB
          Xuefu Zhang

        Activity

          People

            tfriedr Thomas Friedrich
            tfriedr Thomas Friedrich
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: