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

Keep LdapKerberosImpalaShellTest* compatible with older guava versions

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Impala 4.3.0
    • Impala 4.3.0
    • Frontend
    • None
    • ghx-label-5

    Description

      LdapKerberosImpalaShellTestBase.java and LdapKerberosImpalaShellTest.java use the ImmutableMap.of function with 8+ pairs. Older versions of guava like 28.1-jre do not have ImmutableMap.of() for that number of arguments.

      Since we often want to use the guava version that the underlying Hadoop/Hive use, it can be useful for compatibility to be able to build against older guava (like 28.1-jre).

      Most other code is fine, so if we switch these locations to use ImmutableMap.<String, String>builder(), then the whole codebase can compile with the older guava (while remaining forward compatible as well).

      Attachments

        Activity

          People

            joemcdonnell Joe McDonnell
            joemcdonnell Joe McDonnell
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: