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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          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:

              Slack

                Issue deployment