Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-15218

Make Hadoop compatible with Guava 22.0+

    XMLWordPrintableJSON

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

        1. HADOOP-15218-001.patch
          2 kB
          Igor Dvorzhak

        Issue Links

          Activity

            People

              medb Igor Dvorzhak
              medb Igor Dvorzhak
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: