hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nandor Kollar (Jira)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-21737) Upgrade Avro to version 1.9.1
Date Thu, 05 Sep 2019 08:15:00 GMT

    [ https://issues.apache.org/jira/browse/HIVE-21737?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16923164#comment-16923164
] 

Nandor Kollar commented on HIVE-21737:
--------------------------------------

[~Fokko] FYI, precommit job failed, with the expected issue. Here are the results: https://builds.apache.org/job/PreCommit-HIVE-Build/18437/

For example, org.apache.hadoop.hive.serde2.avro.TestTypeInfoToSchema.createAvroUnionSchema
failed with:
{code}
org.apache.avro.AvroRuntimeException: Unknown datum class: class org.codehaus.jackson.node.NullNode
	at org.apache.avro.util.internal.JacksonUtils.toJson(JacksonUtils.java:87)
	at org.apache.avro.util.internal.JacksonUtils.toJsonNode(JacksonUtils.java:48)
	at org.apache.avro.Schema$Field.<init>(Schema.java:560)
	at org.apache.hadoop.hive.serde2.avro.TypeInfoToSchema.getFields(TypeInfoToSchema.java:244)
	at org.apache.hadoop.hive.serde2.avro.TypeInfoToSchema.convert(TypeInfoToSchema.java:63)
	at org.apache.hadoop.hive.serde2.avro.TestTypeInfoToSchema.getAvroSchemaString(TestTypeInfoToSchema.java:89)
	at org.apache.hadoop.hive.serde2.avro.TestTypeInfoToSchema.createAvroUnionSchema(TestTypeInfoToSchema.java:314)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
{code}

> Upgrade Avro to version 1.9.1
> -----------------------------
>
>                 Key: HIVE-21737
>                 URL: https://issues.apache.org/jira/browse/HIVE-21737
>             Project: Hive
>          Issue Type: Improvement
>          Components: Hive
>            Reporter: Ismaël Mejía
>            Assignee: Fokko Driesprong
>            Priority: Minor
>              Labels: pull-request-available
>         Attachments: 0001-HIVE-21737-Bump-Apache-Avro-to-1.9.1.patch
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Avro 1.9.0 was released recently. It brings a lot of fixes including a leaner version
of Avro without Jackson in the public API. Worth the update.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Mime
View raw message