在 Mapping 里面,将 dynamic 参数设置成 strict 可以拒绝索引包含未知字段的文档。 此条 Tips 由 medcl 贡献。

spark streaming 写入 Elasticsearch 报错 Cannot detect ES version

Elasticsearch | 作者 夜玉 | 发布于2017年11月06日 | 阅读数:5962

 EsHadoopIllegalArgumentException: Cannot detect ES version - typically this happens if the network/Elasticsearch cluster is not accessible or when targeting a WAN/Cloud instance without the proper setting 'es.nodes.wan.only'
 
 
已邀请:

要回复问题请先登录注册