我正在尝试部署zeebe集群,并使用外部elasticsearch在kubernetes上操作。问题是elasticsearch的版本是7.9.2,但根据文档,它只与elasticsearch 6.8.13兼容,当我查看日志时,我得到了这样的消息:
{"error":{"root_cause":[{"type":"parse_exception","reason":"failed to parse date field [2021-01-27T20:16:30.802+0000] with format [date_time]: [failed to parse date field [2021-01-27T20:16:30.802+0000] with format [date_time]]"}],"type":"search_phase_execution_exception","reason":"all shards failed","phase":"query","grouped":true,"failed_shards":[{"shard":0,"index":"operate-operation-0.26.0_","node":"3bbob-UKTBuU71ucWEHbtg","reason":{"type":"parse_exception","reason":"failed to parse date field [2021-01-27T20:16:30.802+0000] with format [date_time]: [failed to parse date field [2021-01-27T20:16:30.802+0000] with format [date_time]]","caused_by":{"type":"illegal_argument_exception","reason":"failed to parse date field [2021-01-27T20:16:30.802+0000] with format [date_time]","caused_by":{"type":"date_time_parse_exception","reason":"Text '2021-01-27T20:16:30.802+0000' could not be parsed at index 23"}}}}]},"status":400}
我发现问题是由于日期字段的格式造成的。有没有办法修复这个错误?
发布于 2021-01-28 05:22:20
根据Zeebe论坛上的this discussion和链接的相当旧的问题(Support Elasticsearch 7 #3445),它仍然不支持elasticsearch 7。该问题报告了这个日期错误:
Operate在ELK 7.6上的大部分工作-当试图在UI中管理工作流实例时出现的问题(例如取消或重试)-它抛出一堆错误并保持无限旋转(与向Zeebe索引添加内容时ELK日志相同):
原因: org.elasticsearch.ElasticsearchParseException:无法解析格式为date_time的日期字段2020-05-06T23:46:34.477-0400:[无法解析格式为date_time的日期字段2020-05-06T23:46:34.477-0400 ]
看起来你应该把你的elasticsearch降级到6.8.13版本,或者等开发人员有更多的时间来解决这个问题。
https://stackoverflow.com/questions/65926849
复制相似问题