Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
None
-
None
-
None
-
None
Description
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
Attachments
Issue Links
- blocks
-
HADOOP-17123 remove guava Preconditions from Hadoop-common-project modules
- Resolved