Details
-
Sub-task
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
Usage of Guava APIs in hadoop may not have one line replacement in Java8+. We need to create some classes to wrap those common functionalities instead of reinventing the wheel everywhere.
For example, we should have new package package org.apache.hadoop.util.collections.
Then we create classes like MultiMap which may have the entire implementation from scratch or we can use Apache Commons Collections 4.4 API.
The Pros of using wrapper is to avoid adding more dependencies in POM if we vote to use a third party jar.
Attachments
Issue Links
- incorporates
-
HADOOP-17126 implement non-guava Precondition checkNotNull
- Resolved
-
HADOOP-17152 Implement wrapper for guava newArrayList and newLinkedList
- Resolved
- requires
-
HADOOP-17106 Add unguava implementation for Joiner in hadoop.StringUtils
- Patch Available