hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Igor Dvorzhak (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-15218) Make Hadoop compatible with Guava 22.0+
Date Thu, 08 Feb 2018 22:58:00 GMT
Igor Dvorzhak created HADOOP-15218:

             Summary: Make Hadoop compatible with Guava 22.0+
                 Key: HADOOP-15218
                 URL: https://issues.apache.org/jira/browse/HADOOP-15218
             Project: Hadoop Common
          Issue Type: Improvement
            Reporter: Igor Dvorzhak
            Assignee: Igor Dvorzhak

Deprecated HostAndPort#getHostText method was deleted in Guava 22.0 and new HostAndPort#getHost
method is not available before Guava 20.0.

This patch implements getHost(HostAndPort) method that extracts host from HostAndPort#toString value.

This is a little hacky, that's why I'm not sure if it worth to merge this patch, but it
could be nice if Hadoop will be Guava-neutral.

With this patch Hadoop can be built against latest Guava v24.0.

This message was sent by Atlassian JIRA

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

View raw message