You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "István Fajth (Jira)" <ji...@apache.org> on 2021/10/18 16:55:00 UTC

[jira] [Commented] (HDDS-5826) [HTTPFSGW] Remove or replace Hadoop shaded guava dependencies.

    [ https://issues.apache.org/jira/browse/HDDS-5826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17430093#comment-17430093 ] 

István Fajth commented on HDDS-5826:
------------------------------------

I have merged the changes to the branch, thank you [~zitadombi]

> [HTTPFSGW] Remove or replace Hadoop shaded guava dependencies.
> --------------------------------------------------------------
>
>                 Key: HDDS-5826
>                 URL: https://issues.apache.org/jira/browse/HDDS-5826
>             Project: Apache Ozone
>          Issue Type: Sub-task
>            Reporter: István Fajth
>            Assignee: Zita Dombi
>            Priority: Major
>              Labels: pull-request-available
>
> 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)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org