Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
3.0.0-alpha2
-
None
-
None
-
Reviewed
Description
After HADOOP-12705, the Jackson version upgraded from 2.2.3 to 2.7.8. This lead many APIs which we are used in hadoop being deprecated. Since 2.5, these two APIs are deprecated: ObjectReader#readerFor(Class<?> type),ObjectWriter#writerWithType(JavaType rootType)(http://fasterxml.github.io/jackson-databind/javadoc/2.6/com/fasterxml/jackson/databind/ObjectMapper.html).
According to the doc of ObjectMapper, we can use ObjectReader#readerFor(Class<?> type) and ObjectWriter#writerFor(JavaType) instead.
Attachments
Attachments
Issue Links
- is related to
-
MAPREDUCE-6821 Fix javac warning related to the deprecated APIs after upgrading Jackson
- Resolved
- relates to
-
HADOOP-12705 Upgrade Jackson 2.2.3 to 2.7.8
- Resolved