Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-6907

HiveServer2 - wrong user gets used for metastore operation with embedded metastore

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 0.13.0
    • 0.13.0
    • HiveServer2
    • None

    Description

      When queries are being run concurrently against HS2, sometimes the wrong user ends performing the metastore action and you get an error like -

      ..INFO|java.sql.SQLException: Error while processing statement: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. MetaException(message:java.security.AccessControlException: action WRITE not permitted on path hdfs://example.net:8020/apps/hive/warehouse/tbl_4eeulg9zp4 for user hrt_qa)
      

      Attachments

        1. HIVE-6907.1.patch
          4 kB
          Thejas Nair
        2. HIVE-6907.2.patch
          4 kB
          Thejas Nair
        3. HIVE-6907.3.patch
          4 kB
          Thejas Nair

        Issue Links

          Activity

            People

              thejas Thejas Nair
              thejas Thejas Nair
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: