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

    • Type: Sub-task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: spark-branch
    • Fix Version/s: 1.1.0
    • Component/s: Tests
    • Labels:
      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.1-spark.patch
          0.4 kB
          Xuefu Zhang
        2. HIVE-8787.2-spark.patch
          3 kB
          Xuefu Zhang

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: