你可以的,加油

spark-ES报错current license is non-compliant for [security]

Elasticsearch | 作者 curry | 发布于2019年08月16日 | 阅读数:1935

我在使用spark写es程序运行时报错:Exception in thread “main” org.elasticsearch.hadoop.rest.EsHadoopInvalidRequest: current license is non-compliant for [security]

我的ES集群是在云端,版本是6.2.4,只设置了账号密码,我在代码中也设置了账号密码。我用spring和API开发的就可以连接上ES,并能读取和存储数据。这次用spark开发就报这个错。

在网上和官网找了好久没找到解决方案。请问有谁能帮我解决一下,万分感谢!
 
已邀请:

要回复问题请先登录注册