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
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]