EsSpark.saveTo报错:EsHadoopNoNodesLeftException: Connection error (check network and/or proxy settings

报错:

报错1:
Get org.elasticsearch.hadoop.rest.EsHadoopNoNodesLeftException: Connection 
error (check network and/or proxy settings)- all nodes failed; tried

报错2:
org.elasticsearch.hadoop.EsHadoopIllegalArgumentException: Discovery cannot be 
enabled when running in WAN mode

解决:

添加下面参数:

"es.nodes.wan.only" -> "true"

如果有设置则移除下面参数:

es.nodes.discovery

参考链接:链接

完!

已标记关键词 清除标记
相关推荐
©️2020 CSDN 皮肤主题: 技术黑板 设计师:CSDN官方博客 返回首页