You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Anthony Dotterer (JIRA)" <ji...@apache.org> on 2017/09/06 14:02:00 UTC

[jira] [Commented] (SPARK-20958) Roll back parquet-mr 1.8.2 to parquet-1.8.1

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

Anthony Dotterer commented on SPARK-20958:
------------------------------------------

As a user of Spark 2.2.0 that mixes usage of parquet-avro and avro, here are some exceptions that I had.  This will hopefully make search engines find this library conflict more quickly for others.

{code}
java.lang.NoClassDefFoundError: org/apache/avro/LogicalType
	at org.apache.parquet.avro.AvroParquetWriter.writeSupport(AvroParquetWriter.java:144)
	at org.apache.parquet.avro.AvroParquetWriter.access$100(AvroParquetWriter.java:35)
	at org.apache.parquet.avro.AvroParquetWriter$Builder.getWriteSupport(AvroParquetWriter.java:173)
...
Caused by: java.lang.ClassNotFoundException: org.apache.avro.LogicalType
{code}


> Roll back parquet-mr 1.8.2 to parquet-1.8.1
> -------------------------------------------
>
>                 Key: SPARK-20958
>                 URL: https://issues.apache.org/jira/browse/SPARK-20958
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.2.0
>            Reporter: Cheng Lian
>            Assignee: Cheng Lian
>              Labels: release-notes, release_notes, releasenotes
>
> We recently realized that parquet-mr 1.8.2 used by Spark 2.2.0-rc2 depends on avro 1.8.1, which is incompatible with avro 1.7.6 used by parquet-mr 1.8.1 and avro 1.7.7 used by spark-core 2.2.0-rc2.
> Basically, Spark 2.2.0-rc2 introduced two incompatible versions of avro (1.7.7 and 1.8.1). Upgrading avro 1.7.7 to 1.8.1 is not preferable due to the reasons mentioned in [PR #17163|https://github.com/apache/spark/pull/17163#issuecomment-286563131]. Therefore, we don't really have many choices here and have to roll back parquet-mr 1.8.2 to 1.8.1 to resolve this dependency conflict.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org