Hive
  1. Hive
  2. HIVE-6864

HiveServer2 concurrency uses incorrect user information in unsecured mode

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.13.0
    • Fix Version/s: 0.13.0
    • Component/s: HiveServer2
    • Labels:
      None

      Description

      Concurrent queries create table with wrong ownership

      1. HIVE-6864.1.patch
        2 kB
        Vaibhav Gumashta
      2. HIVE-6864.2.patch
        3 kB
        Vaibhav Gumashta

        Issue Links

          Activity

          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Patch Available Patch Available
          1d 23h 1 Vaibhav Gumashta 10/Apr/14 05:54
          Patch Available Patch Available Resolved Resolved
          18h 6m 1 Thejas M Nair 11/Apr/14 00:01
          Thejas M Nair made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Hide
          Thejas M Nair added a comment -

          Patch committed to 0.13 branch and trunk.

          Show
          Thejas M Nair added a comment - Patch committed to 0.13 branch and trunk.
          Hide
          Harish Butani added a comment -

          +1 for 0.13

          Show
          Harish Butani added a comment - +1 for 0.13
          Hide
          Hive QA added a comment -

          Overall: +1 all checks pass

          Here are the results of testing the latest attachment:
          https://issues.apache.org/jira/secure/attachment/12639637/HIVE-6864.2.patch

          SUCCESS: +1 5571 tests passed

          Test results: http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/2208/testReport
          Console output: http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/2208/console

          Messages:

          Executing org.apache.hive.ptest.execution.PrepPhase
          Executing org.apache.hive.ptest.execution.ExecutionPhase
          Executing org.apache.hive.ptest.execution.ReportingPhase
          

          This message is automatically generated.

          ATTACHMENT ID: 12639637

          Show
          Hive QA added a comment - Overall : +1 all checks pass Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12639637/HIVE-6864.2.patch SUCCESS: +1 5571 tests passed Test results: http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/2208/testReport Console output: http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/2208/console Messages: Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase This message is automatically generated. ATTACHMENT ID: 12639637
          Vaibhav Gumashta made changes -
          Attachment HIVE-6864.2.patch [ 12639637 ]
          Hide
          Vaibhav Gumashta added a comment -

          Thejas M Nair Patch includes feedback. Thanks!

          Show
          Vaibhav Gumashta added a comment - Thejas M Nair Patch includes feedback. Thanks!
          Thejas M Nair made changes -
          Priority Major [ 3 ] Blocker [ 1 ]
          Hide
          Thejas M Nair added a comment -

          Looks good. Just a minor comment about the exception in rb.

          Harish, I think we should include this in 0.13 . This can result in action being done as a wrong user.

          Show
          Thejas M Nair added a comment - Looks good. Just a minor comment about the exception in rb. Harish, I think we should include this in 0.13 . This can result in action being done as a wrong user.
          Vaibhav Gumashta made changes -
          Remote Link This issue links to "Review Board (Web Link)" [ 14839 ]
          Hide
          Vaibhav Gumashta added a comment -

          This is basically based on a patch provided by Thejas M Nair while testing a fix.

          Show
          Vaibhav Gumashta added a comment - This is basically based on a patch provided by Thejas M Nair while testing a fix.
          Vaibhav Gumashta made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Vaibhav Gumashta made changes -
          Attachment HIVE-6864.1.patch [ 12639534 ]
          Hide
          Vaibhav Gumashta added a comment -

          Thejas M Nair Harish Butani Another last minute bug for 13!

          Show
          Vaibhav Gumashta added a comment - Thejas M Nair Harish Butani Another last minute bug for 13!
          Vaibhav Gumashta made changes -
          Field Original Value New Value
          Summary HiveServer2 unsecured mode concurrency errors HiveServer2 concurrency uses incorrect user information in unsecured mode
          Vaibhav Gumashta created issue -

            People

            • Assignee:
              Vaibhav Gumashta
              Reporter:
              Vaibhav Gumashta
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development