gpt4 book ai didi

apache-spark - Spark 流传输期间无法将数据帧保存到Elasticsearch

转载 作者:行者123 更新时间:2023-12-02 22:37:21 25 4
gpt4 key购买 nike

在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?)

最佳答案

您应该将小写字母用于elasticsearch索引。
使用[custact_index / custact_index_type]代替[custAct_index / custAct_index_type]。

关于apache-spark - Spark 流传输期间无法将数据帧保存到Elasticsearch,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46665051/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com