Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
-
None
Description
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.
Attachments
Attachments
Issue Links
- is related to
-
HADOOP-9991 Fix up Hadoop POMs, roll up JARs to latest versions
- Open
- is superceded by
-
HADOOP-15960 Update guava to 27.0-jre in hadoop-project
- Resolved
- relates to
-
HADOOP-15960 Update guava to 27.0-jre in hadoop-project
- Resolved