Details

    • Type: Sub-task Sub-task
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.13.0
    • Component/s: Authorization, Metastore
    • Labels:
      None

      Description

      Database in metastore does not have owner associated with it. Database owner is needed for sql std authorization rules.

      1. HIVE-6386.1.patch
        76 kB
        Ashutosh Chauhan
      2. HIVE-6386.2.patch
        77 kB
        Ashutosh Chauhan
      3. HIVE-6386.3.patch
        262 kB
        Ashutosh Chauhan
      4. HIVE-6386.4.patch
        239 kB
        Ashutosh Chauhan
      5. HIVE-6386.patch
        73 kB
        Ashutosh Chauhan

        Issue Links

          Activity

          Hide
          Ashutosh Chauhan added a comment -

          First cut patch.

          Show
          Ashutosh Chauhan added a comment - First cut patch.
          Hide
          Thejas M Nair added a comment -

          can you create a review board link ?

          Show
          Thejas M Nair added a comment - can you create a review board link ?
          Hide
          Ashutosh Chauhan added a comment -
          Show
          Ashutosh Chauhan added a comment - RB request : https://reviews.apache.org/r/18103/
          Hide
          Hive QA added a comment -

          Overall: -1 at least one tests failed

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

          ERROR: -1 due to 1 failed/errored test(s), 5100 tests executed
          Failed tests:

          org.apache.hadoop.hive.cli.TestMinimrCliDriver.testCliDriver_auto_sortmerge_join_16
          

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

          Messages:

          Executing org.apache.hive.ptest.execution.PrepPhase
          Executing org.apache.hive.ptest.execution.ExecutionPhase
          Executing org.apache.hive.ptest.execution.ReportingPhase
          Tests exited with: TestsFailedException: 1 tests failed
          

          This message is automatically generated.

          ATTACHMENT ID: 12628894

          Show
          Hive QA added a comment - Overall : -1 at least one tests failed Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12628894/HIVE-6386.2.patch ERROR: -1 due to 1 failed/errored test(s), 5100 tests executed Failed tests: org.apache.hadoop.hive.cli.TestMinimrCliDriver.testCliDriver_auto_sortmerge_join_16 Test results: http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/1322/testReport Console output: http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/1322/console Messages: Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase Tests exited with: TestsFailedException: 1 tests failed This message is automatically generated. ATTACHMENT ID: 12628894
          Hide
          Ashutosh Chauhan added a comment -

          Incorporating Thejas feedback.

          Show
          Ashutosh Chauhan added a comment - Incorporating Thejas feedback.
          Hide
          Thejas M Nair added a comment -

          +1

          Show
          Thejas M Nair added a comment - +1
          Hide
          Lefty Leverenz added a comment -

          Can the owner be changed?

          Show
          Lefty Leverenz added a comment - Can the owner be changed?
          Hide
          Thejas M Nair added a comment -

          Can the owner be changed?

          Not with the changes in this jira. I have created another jira for that feature - HIVE-6440

          Show
          Thejas M Nair added a comment - Can the owner be changed? Not with the changes in this jira. I have created another jira for that feature - HIVE-6440
          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/12629139/HIVE-6386.4.patch

          SUCCESS: +1 5097 tests passed

          Test results: http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/1350/testReport
          Console output: http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/1350/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: 12629139

          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/12629139/HIVE-6386.4.patch SUCCESS: +1 5097 tests passed Test results: http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/1350/testReport Console output: http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/1350/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: 12629139
          Hide
          Thejas M Nair added a comment -

          Patch committed to trunk. Thanks Ashutosh!

          Show
          Thejas M Nair added a comment - Patch committed to trunk. Thanks Ashutosh!

            People

            • Assignee:
              Ashutosh Chauhan
              Reporter:
              Thejas M Nair
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development