Ahmed Hussein created HADOOP-17960:
--------------------------------------
Summary: 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
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] , [[email protected]], [~tasanuma]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]