GitHub user dongjoon-hyun opened a pull request:
https://github.com/apache/spark/pull/16795
[WIP][SPARK-19409][BUILD] Fix ParquetAvroCompatibilitySuite failure due to
test dependency on avro
## What changes were proposed in this pull request?
After using Apache Parquet 1.8.2, `ParquetAvroCompatibilitySuite` fails on
**Maven** test.
This PR aims to fix the test dependency to use avro 1.8.0.
https://amplab.cs.berkeley.edu/jenkins/view/Spark%20QA%20Test%20(Dashboard)/job/spark-master-test-maven-hadoop-2.7/2530/consoleFull
```
ParquetAvroCompatibilitySuite:
*** RUN ABORTED ***
java.lang.NoClassDefFoundError: org/apache/avro/LogicalType
at
org.apache.parquet.avro.AvroParquetWriter.writeSupport(AvroParquetWriter.java:144)
```
## How was this patch tested?
Pass the existing test with **Maven** manually.
```
build/mvn -T C1 -DskipTests -Phadoop-2.7 -Pyarn -Phive -Phive-thriftserver
-Pkinesis-asl -Pmesos clean package
build/mvn -Phadoop-2.7 -Pyarn -Phive -Phive-thriftserver -Pkinesis-asl
-Pmesos -pl sql/core test
```
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/dongjoon-hyun/spark SPARK-19409-2
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/16795.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #16795
----
commit 2cc8653ab304fbe3ff77e70ca0f141235db021a5
Author: Dongjoon Hyun <[email protected]>
Date: 2017-02-03T19:32:40Z
[SPARK-19409][BUILD] Fix ParquetAvroCompatibilitySuite failure due to test
dependency on avro.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]