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

IMPALA-10986 seems to break test_show_grant_hive_privilege

    XMLWordPrintableJSON

Details

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

    Description

      We found that the recently merged IMPALA-10986 (Require the SELECT privilege to execute a UDF) seems to break test_show_grant_hive_privilege with the following error message and stack trace.

      Error message.

      assert 'lock' in []  +  where [] = <function _get_ranger_privileges_db at 0x7f8383434cf8>('jenkins', 'test_show_grant_hive_privilege_c23b8f31_db')  +    where <function _get_ranger_privileges_db at 0x7f8383434cf8> = TestRanger._get_ranger_privileges_db
      

      Stack trace.

      authorization/test_ranger.py:764: in test_show_grant_hive_privilege
          assert "lock" in TestRanger._get_ranger_privileges_db(user, unique_db)
      E   assert 'lock' in []
      E    +  where [] = <function _get_ranger_privileges_db at 0x7f8383434cf8>('jenkins', 'test_show_grant_hive_privilege_c23b8f31_db')
      E    +    where <function _get_ranger_privileges_db at 0x7f8383434cf8> = TestRanger._get_ranger_privileges_db
      

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: