Version compatibility detection wrong in 2.1.0.BUILD-SNAPSHOT (Tue Apr 28 00:37:19 EEST 2015)
See original GitHub issueI’m getting the following warning in my log.
15/04/29 10:04:38 WARN rdd.EsSpark: Incorrect classpath detected; Elasticsearch Spark compiled for Spark 1.0-1.2 but used with Spark 1.3.1
I checked the code and it’s using the absence of org.elasticsearch.spark.sql.EsSchemaRDDWriter
to detect that this library was compiled for Spark 1.3.1.
In the snapshot I have that library does, indeed, exist.
Issue Analytics
- State:
- Created 8 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
No results found
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@fpopic - Good find! The compatibility check code assumes Spark 1.3 compatibility in the case that
EsSchemaRDDWriter
is absent. This class was only present in the old es-spark1.0-1.2 compatibility
packages. Since the1.0-1.2
packages have been removed with the advent of Spark 2.0, the check now erroneously assumes that every version run is es-spark1.3
compatibility. This is not a blocker, as it simply prints a warning log, but it is indeed confusing.Could you kindly open a new Github issue for this so that we may track it separately from this currently closed one? Thanks.
Thanks, I did it: https://github.com/elastic/elasticsearch-hadoop/issues/824 (it my first ever =) )