Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-13113

Ranger Hive Tests failing - deny operations

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.2
    • Component/s: None
    • Labels:
      None

      Description

      1\. When there are no policies configured for Hive, and if Hive Ranger plugin
      is enabled, user operations should be denied.
      2\. If there is no policy configured for a specific user, that user should get
      a permission denied error when trying to do any operation.

      Currently, all operations are allowed

      Test log: <http://qelog.hortonworks.com/log/os-d7-jexvbs-xaagents/test-
      logs/XaAgents/report/html/>

      -----------------------------------------------------------------------------
      ---------------------------------------------
      Nightly run jenkins job : <http://linux-jenkins.qe.hortonworks.com:8080/job
      /Nightly-Start-EC2-Run-HDP/10286/parameters/>

      Xa database used is MySQL
      OS: Debian7

      -----------------------------------------------------------------------------
      ---------------------------------------------
      Issue reproduced on new cluster
      Xa database used is SQLAnywhere

      Test log: <http://qelog.hortonworks.com/log/os-d7-jexvbs-xaagentsre1/test-
      logs/XaAgents/report/html/>

      Cluster details:

      Ambari node: <http://172.22.102.6:8080>

      No of testcases blocked - 34

        Issue Links

          Activity

          Hide
          aonishuk Andrew Onischuk added a comment -

          Committed to trunk and branch-2.1

          Show
          aonishuk Andrew Onischuk added a comment - Committed to trunk and branch-2.1
          Hide
          hudson Hudson added a comment -

          SUCCESS: Integrated in Ambari-branch-2.1 #540 (See https://builds.apache.org/job/Ambari-branch-2.1/540/)
          AMBARI-13113. Ranger Hive Tests failing - deny operations (aonishuk) (aonishuk: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=b726df76f4a795655a430a0730c42806495a1594)

          • ambari-server/src/main/resources/stacks/HDP/2.1/services/stack_advisor.py
          • ambari-server/src/main/resources/stacks/HDP/2.0.6/services/stack_advisor.py
          Show
          hudson Hudson added a comment - SUCCESS: Integrated in Ambari-branch-2.1 #540 (See https://builds.apache.org/job/Ambari-branch-2.1/540/ ) AMBARI-13113 . Ranger Hive Tests failing - deny operations (aonishuk) (aonishuk: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=b726df76f4a795655a430a0730c42806495a1594 ) ambari-server/src/main/resources/stacks/HDP/2.1/services/stack_advisor.py ambari-server/src/main/resources/stacks/HDP/2.0.6/services/stack_advisor.py
          Hide
          hudson Hudson added a comment -

          SUCCESS: Integrated in Ambari-trunk-Commit #3451 (See https://builds.apache.org/job/Ambari-trunk-Commit/3451/)
          AMBARI-13113. Ranger Hive Tests failing - deny operations (aonishuk) (aonishuk: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=bf6db1ff93b1ce12c85def5007d0498e9024cb97)

          • ambari-server/src/main/resources/stacks/HDP/2.1/services/stack_advisor.py
          • ambari-server/src/main/resources/stacks/HDP/2.0.6/services/stack_advisor.py
          Show
          hudson Hudson added a comment - SUCCESS: Integrated in Ambari-trunk-Commit #3451 (See https://builds.apache.org/job/Ambari-trunk-Commit/3451/ ) AMBARI-13113 . Ranger Hive Tests failing - deny operations (aonishuk) (aonishuk: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=bf6db1ff93b1ce12c85def5007d0498e9024cb97 ) ambari-server/src/main/resources/stacks/HDP/2.1/services/stack_advisor.py ambari-server/src/main/resources/stacks/HDP/2.0.6/services/stack_advisor.py

            People

            • Assignee:
              aonishuk Andrew Onischuk
              Reporter:
              aonishuk Andrew Onischuk
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development