You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks nawatts. So I think the answer then is that there’s not currently a way to export to elasticsearch from Spark 3, and until there is Hail likely won’t support it.
mhebrard said:
Hi.
I am installing Hail v0.2.60 on spark 3.0.0 / scala 2.12.10
I am able to load, process and write data without issues.
The problem rise when I wish to export my table on Elasticsearch. Here I got a error that seems like an incompatibility with scala 2.12.
mhebrard said:
In the mean time, I am able to install Hail v0.2.60 on spark 2.4.6 / scala 2.11.12
In this context
hl.export_elasticsearch()
code above run without issuejohnc1231 said:
You’re right, this is a mistake. We hard code the path to the elasticsearch dependency to use spark 2 and scala 2.11.
I made a github issue here: hail-is/hail#9767
and assigned it to myself. Will try to address in next few days.
johnc1231 said:
I’m actually not sure how to do this. We use the library here, which is explicitly for spark 2.x:
mvnrepository.com
I’ve done some quick googling and didn’t immediately find anyone doing this with Spark 3, I’ll have to keep looking.
nawatts said:
There’s an open issue for Spark 3 / Scala 2.12 support in the elasticsearch-hadoop connnector.
github.com/elastic/elasticsearch-hadoop
johnc1231 said:
Thanks nawatts. So I think the answer then is that there’s not currently a way to export to elasticsearch from Spark 3, and until there is Hail likely won’t support it.
nawatts said:
Also, https://www.elastic.co/guide/en/elasticsearch/hadoop/current/install.html lists (in the Apache Spark section) supported Spark / Scala versions and their corresponding ES-Hadoop artifact ID.
The text was updated successfully, but these errors were encountered: