Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-9047

Some Ranger related test cases fail when using a newer version of Ranger

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • Impala 3.4.0
    • Frontend
    • None
    • ghx-label-6

    Description

      Some Ranger related E2E tests and FE tests would fail when we are using a newer version of Ranger (e.g., ranger-2.0.0.7.0.2.0-98 instead of ranger-1.2.0.7.1.0.0-33) due to the changes to the default Ranger policies described at https://issues.apache.org/jira/browse/RANGER-2536. In the attachment the screenshots of the policies of "all - database, table, column" before and after using the newer Ranger are also provided.

      Some operations which were not authorized previously could now be authorized successfully because of the changes. In this regard, we also have to change the test cases in at least 4 files of Impala's E2E tests and FE tests, which are listed in the following.

      1. test_authorized_proxy.py
      2. test_ranger.py
      3. AuthorizationStmtTest.java
      4. RangerAuditLogTest.java

      Attachments

        1. Ranger_policy_before_cdp_number_bump.png
          391 kB
          Fang-Yu Rao
        2. Ranger_policy_after_cdp_number_bump.png
          385 kB
          Fang-Yu Rao

        Issue Links

          Activity

            People

              fangyurao Fang-Yu Rao
              fangyurao Fang-Yu Rao
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: