You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Igor Dvorzhak (JIRA)" <ji...@apache.org> on 2018/02/08 22:58:00 UTC
[jira] [Created] (HADOOP-15218) Make Hadoop compatible with Guava
22.0+
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: common-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-dev-help@hadoop.apache.org