首页 > 其他 > 详细

doris on es客户端查询报one instance report fail throw updateStatus()

时间:2020-05-19 16:52:38      阅读:124      评论:0      收藏:0      [点我收藏+]

报错信息如下:

[Coordinator.updateStatus():612] one instance report fail throw updateStatus(), need cancel. job id: -1, query id:
[Coordinator.getNext():630] get next fail, need cancel. query id:
[Coordinator.getNext():650] query failed: inner hits node is not an array
[StmtExecutor.execute():288] execute Exception. inner hits node is not an array

 

这个在我的情景下是在ES上没找到相应的type,

CREATE EXTERNAL TABLE `es_table` (
  `id` bigint(20) COMMENT "",
  `k1` bigint(20) COMMENT "",
  `k2` datetime COMMENT "",
  `k3` varchar(20) COMMENT "",
  `k4` varchar(100) COMMENT "",
  `k5` float COMMENT ""
) ENGINE=ELASTICSEARCH
PARTITION BY RANGE(`id`)
()
PROPERTIES (
"hosts" = "http://192.168.0.1:8200,http://192.168.0.2:8200",
"user" = "root",
"password" = "root",
"index" = "tindex”,
"type" = "doc"
);

上面这个建表语句中,在doris中建的表是:es_table

映射的ES上的索引是tindex

映射的ES上的type是doc

 

doris on es客户端查询报one instance report fail throw updateStatus()

原文:https://www.cnblogs.com/1394htw/p/12917847.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!