Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-5447 HttpFS support in Ozone
  3. HDDS-5826

[HTTPFSGW] Remove or replace Hadoop shaded guava dependencies.

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.4.0
    • None

    Description

      There are some shaded Guava dependencies coming from the Hadoop project's shaded Guava version.
      It would be nice to get rid of them, as most of them are just convenience, or easy to get rid of.

      The following classes are used:

      • org.apache.hadoop.thirdparty.com.google.common.base.Charsets - can be replaced by java.nio.charset.StandardCharsets.UTF-8
      • org.apache.hadoop.thirdparty.com.google.common.base.Preconditions. we have shaded in ratis thirdparty, we can switch to that (org.apache.ratis.thirdparty.com.google.common.base.Preconditions)
      • org.apache.hadoop.thirdparty.com.google.common.collect.Lists.newXXX and Maps.newXXX can be replaced by simple constructor call
      • org.apache.hadoop.thirdparty.com.google.common.annotations.VisibleForTesting - we can switch to shaded in ratis thirdparty (org.apache.ratis.thirdparty.com.google.common.annotations.VisibleForTesting)

      Attachments

        Issue Links

          Activity

            People

              zitadombi Zita Dombi
              pifta István Fajth
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: