You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Joe McDonnell (Jira)" <ji...@apache.org> on 2023/09/07 21:47:00 UTC

[jira] [Created] (IMPALA-12432) Keep LdapKerberosImpalaShellTest* compatible with older guava versions

Joe McDonnell created IMPALA-12432:
--------------------------------------

             Summary: Keep LdapKerberosImpalaShellTest* compatible with older guava versions
                 Key: IMPALA-12432
                 URL: https://issues.apache.org/jira/browse/IMPALA-12432
             Project: IMPALA
          Issue Type: Improvement
          Components: Frontend
    Affects Versions: Impala 4.3.0
            Reporter: Joe McDonnell


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).



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org