Hello Dataminer, Riche 78, Many thanks for your help. I am struggling since last two weeks on how to fix this issue. I have also installed CDH 5.0.1 now and it is working fine.
Hi! I've got the same error message and I solved using the latest elasticsearch-spark version to my corresponding scala version:
spark-submit --packages org.elasticsearch:elasticsearch-spark-20_2.11:6.2.4 your_script.py
Hope it helps.