incubator-doris [Bug] fetch es index [xxx] shard partitions fail

2ul0zpep  于 2022-04-22  发布在  Java
关注(0)|答案(0)|浏览(181)

Search before asking

  • I had searched in the issues and found no similar issues.

Version

trunk

What's Wrong?

2022-03-24 14:19:18,487 ERROR (es repository|40) [EsShardPartitions.findShardPartitions():85] fetch index [tradeorder_v1] shard partitions failure
java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.Integer
        at org.apache.doris.external.elasticsearch.EsShardPartitions.findShardPartitions(EsShardPartitions.java:80) [palo-fe.jar:0.15-SNAPSHOT]
        at org.apache.doris.external.elasticsearch.EsRestClient.searchShards(EsRestClient.java:156) [palo-fe.jar:0.15-SNAPSHOT]
        at org.apache.doris.external.elasticsearch.PartitionPhase.execute(PartitionPhase.java:40) [palo-fe.jar:0.15-SNAPSHOT]
        at org.apache.doris.external.elasticsearch.EsMetaStateTracker.run(EsMetaStateTracker.java:53) [palo-fe.jar:0.15-SNAPSHOT]
        at org.apache.doris.catalog.EsTable.syncTableMetaData(EsTable.java:458) [palo-fe.jar:0.15-SNAPSHOT]
        at org.apache.doris.external.elasticsearch.EsRepository.runAfterCatalogReady(EsRepository.java:76) [palo-fe.jar:0.15-SNAPSHOT]
        at org.apache.doris.common.util.MasterDaemon.runOneCycle(MasterDaemon.java:58) [palo-fe.jar:0.15-SNAPSHOT]
        at org.apache.doris.common.util.Daemon.run(Daemon.java:116) [palo-fe.jar:0.15-SNAPSHOT]

What You Expected?

No exception

How to Reproduce?

  • No response*

Anything Else?

  • No response*

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题