# Elasticsearch dependency on zeppelin and emr breaks the ability to read parquet files

**URL:** <https://discuss.elastic.co/t/elasticsearch-dependency-on-zeppelin-and-emr-breaks-the-ability-to-read-parquet-files/66818>\
**Category:** Elasticsearch\
**Tags:** es-hadoop\
**Created:** [November 22, 2016, 7:27am UTC](https://discuss.elastic.co/t/elasticsearch-dependency-on-zeppelin-and-emr-breaks-the-ability-to-read-parquet-files/66818 "2016-11-22T07:27:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![doskey](https://avatars.discourse-cdn.com/v4/letter/d/d6d6ee/32.png) [@doskey](https://discuss.elastic.co/u/doskey)\
**Post date:** [November 22, 2016, 7:27am UTC](https://discuss.elastic.co/t/elasticsearch-dependency-on-zeppelin-and-emr-breaks-the-ability-to-read-parquet-files/66818/1 "2016-11-22T07:27:30Z")

</div>

Hi,  
I am running zeppelin and spark on amazon EMR and when I add a dependency to elasticsearch (org.elasticsearch:elasticsearch-spark-20\_2.11:5.0.1) reading parquet files starts failing with the following error:  
java.io.InvalidClassException: org.apache.spark.sql.execution.datasources.parquet.ParquetFileFormat; local class incompatible: stream classdesc serialVersionUID = 8032587261116450585, local class serialVersionUID = -3906549587749639683

In case someone want to reproduce the problem, this snippet will make it happen on EMR 5.0.3  
sqlContext.sql("select 'fooo' as some\_column").write.mode("overwrite").parquet("s3a://yours3bucket/somepathinthebucket")  
sqlContext.read.parquet("s3a://yours3bucket/somepathinthebucket").createOrReplaceTempView("yayaya")  
sqlContext.sql("select \* from yayaya").count

Did anyone see this behavior and can help solve this?

Thanks!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [December 20, 2016, 7:27am UTC](https://discuss.elastic.co/t/elasticsearch-dependency-on-zeppelin-and-emr-breaks-the-ability-to-read-parquet-files/66818/2 "2016-12-20T07:27:57Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
