[
https://issues.apache.org/jira/browse/HADOOP-13386?focusedWorklogId=747176&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-747176
]
ASF GitHub Bot logged work on HADOOP-13386:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 24/Mar/22 12:22
Start Date: 24/Mar/22 12:22
Worklog Time Spent: 10m
Work Description: aajisaka commented on pull request #3990:
URL: https://github.com/apache/hadoop/pull/3990#issuecomment-1077570607
Hi @pjfanning - Would you ignore the findbugs error?
> A known null value is checked to see if it is an instance of
org.apache.avro.util.Utf8 in
org.apache.hadoop.mapreduce.jobhistory.JobSubmitted.customDecode(ResolvingDecoder)
At JobSubmitted.java:checked to see if it is an instance of
org.apache.avro.util.Utf8 in
org.apache.hadoop.mapreduce.jobhistory.JobSubmitted.customDecode(ResolvingDecoder)
At JobSubmitted.java:[line 1238]
The class is generated by Avro and the generated source code is as follows.
I think it is a bug in Avro side and we can simply ignore.
```
java.lang.CharSequence k0 = null;
k0 = in.readString(k0 instanceof Utf8 ? (Utf8)k0 : null);
java.lang.CharSequence v0 = null;
v0 = in.readString(v0 instanceof Utf8 ? (Utf8)v0 : null);
```
Sorry for the late response.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 747176)
Time Spent: 3h 50m (was: 3h 40m)
> Upgrade Avro to 1.8.x or later
> ------------------------------
>
> Key: HADOOP-13386
> URL: https://issues.apache.org/jira/browse/HADOOP-13386
> Project: Hadoop Common
> Issue Type: Sub-task
> Components: build
> Reporter: Ben McCann
> Priority: Major
> Labels: pull-request-available
> Time Spent: 3h 50m
> Remaining Estimate: 0h
>
> Avro 1.8.x makes generated classes serializable which makes them much easier
> to use with Spark. It would be great to upgrade Avro to 1.8.x
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]