报错信息如下:
[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