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 "Ahmed Hussein (Jira)" <ji...@apache.org> on 2021/10/11 21:00:00 UTC

[jira] [Resolved] (HADOOP-17960) hadoop-auth module cannot import non-guava implementation in hatoop util

     [ https://issues.apache.org/jira/browse/HADOOP-17960?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ahmed Hussein resolved HADOOP-17960.
------------------------------------
    Resolution: Won't Fix

> hadoop-auth module cannot import non-guava implementation in hatoop util
> ------------------------------------------------------------------------
>
>                 Key: HADOOP-17960
>                 URL: https://issues.apache.org/jira/browse/HADOOP-17960
>             Project: Hadoop Common
>          Issue Type: Sub-task
>            Reporter: Ahmed Hussein
>            Priority: Major
>
> hadoop-common  provides several util implementations in {{org.apache.hadoop.util.*}}. Since hadoop-common depends on hadoop-auth, all the utility implementations cannot be used within hadoop-auth.
> There are several options:
> * similar to {{hadoop-annotations}} generic and utility implementations such as maps, Strings, Preconditions, ..etc could be moved to a new common-util module that has no dependency on other modules.
> * easier fix is to manually replace the guava calls in hadoop-auth module without importing {{hadoop.util.*}}. Only few calls need to be manually replaced: {{Splitter}}, {{Preconditions.checkNotNull}}, and {{Preconditions.checkArgument}}
> CC: [~vjasani] , [~stevel@apache.org], [~tasanuma]



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

---------------------------------------------------------------------
To unsubscribe, e-mail: common-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-dev-help@hadoop.apache.org