[ https://issues.apache.org/jira/browse/HADOOP-17960?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17427324#comment-17427324 ]
Viraj Jasani edited comment on HADOOP-17960 at 10/11/21, 7:00 PM: ------------------------------------------------------------------ +1 for replacing them manually. I have done the same with Lists and Sets API replacements in the past. Only VisibleForTesting has not been a problem so far because it is part of hadoop-annotations. Thanks was (Author: vjasani): +1 for replacing them manually. I have done the same with Lists and Sets API replacements in the past. Thanks > 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] , [~ste...@apache.org], [~tasanuma] -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org