【问题标题】:Cannot Save Data Frame to Elasticsearch during spark streaming在火花流式传输期间无法将数据帧保存到 Elasticsearch
【发布时间】:2018-03-21 18:16:08
【问题描述】:

在 Spark Stream 处理和将数据帧保存到 Elastic Search 期间面临以下错误:

org.elasticsearch.hadoop.EsHadoopIllegalArgumentException: Cannot determine write shards for [custAct_index/custAct_index_type]; 
    likely its format is incorrect (maybe it contains illegal characters?)

【问题讨论】:

    标签: apache-spark elasticsearch apache-spark-sql spark-dataframe spark-streaming


    【解决方案1】:

    弹性搜索索引应使用小写字母。 使用 [custact_index/custact_index_type] 而不是 [custAct_index/custAct_index_type]。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2022-01-23
      • 1970-01-01
      • 2020-08-11
      • 2018-01-19
      • 2016-09-14
      • 2018-11-08
      • 1970-01-01
      • 2018-02-11
      相关资源
      最近更新 更多