You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Istvan Toth (Jira)" <ji...@apache.org> on 2020/04/08 13:31:00 UTC

[jira] [Created] (PHOENIX-5826) Remove guava from queryserver

Istvan Toth created PHOENIX-5826:
------------------------------------

             Summary: Remove guava from queryserver
                 Key: PHOENIX-5826
                 URL: https://issues.apache.org/jira/browse/PHOENIX-5826
             Project: Phoenix
          Issue Type: Improvement
          Components: queryserver
    Affects Versions: queryserver-1.0.0
            Reporter: Istvan Toth
            Assignee: Istvan Toth


The queryserver repo has to work with multiple phoenix branches.
HBase and Hadoop master has already migrated to guava27/28.

Queryserver has to work both with the 4.x branch, which will probably have to stay on the old guava version, and master, which will have to be upgraded to 28.

The queryserver codebase does not work with Guava 28.

The simplest way to solve this problem is to remove guava from the queryserver modules.
Most of the guava uses are trivial to replace, but unfortunately changing the host information that load-balancer stores in zookeeper is a non backward compatible change. The HostAndPort object would have to be replaced by something like InetSocketAddress .

Since we are before the first release of the unbundled queryserver, I think that this a great time to get this done with minimal disruption to the users.




--
This message was sent by Atlassian Jira
(v8.3.4#803005)