[faq](doc) add some FAQ for flink-doris-connector (#21829)

This commit is contained in:
yagagagaga
2023-09-02 21:56:59 +08:00
committed by GitHub
parent 95488c4d93
commit 3619cd9d68
2 changed files with 15 additions and 0 deletions

View File

@ -672,3 +672,11 @@ When Flink imports data, if there is dirty data, such as field format, length, e
11. **How should the source table and Doris table correspond?**
When using Flink Connector to import data, pay attention to two aspects. The first is that the columns and types of the source table correspond to the columns and types in flink sql; the second is that the columns and types in flink sql must match those of the doris table For the correspondence between columns and types, please refer to the above "Doris & Flink Column Type Mapping" for details
12. **TApplicationException: get_next failed: out of sequence response: expected 4 but got 3**
This is due to concurrency bugs in the Thrift. It is recommended that you use the latest connector and compatible Flink version possible.
13. **DorisRuntimeException: Fail to abort transaction 26153 with url http://192.168.0.1:8040/api/table_name/_stream_load_2pc**
You can search for the log `abort transaction response` in TaskManager and determine whether it is a client issue or a server issue based on the HTTP return code.

View File

@ -674,3 +674,10 @@ Flink在数据导入时,如果有脏数据,比如字段格式、长度等问
11. **源表和Doris表应如何对应?**
使用Flink Connector导入数据时,要注意两个方面,第一是源表的列和类型跟flink sql中的列和类型要对应上;第二个是flink sql中的列和类型要跟doris表的列和类型对应上,具体可以参考上面的"Doris 和 Flink 列类型映射关系"
12. **TApplicationException: get_next failed: out of sequence response: expected 4 but got 3**
这是由于 Thrift 框架存在并发 bug 导致的,建议你使用尽可能新的 connector 以及与之兼容的 flink 版本。
13. **DorisRuntimeException: Fail to abort transaction 26153 with url http://192.168.0.1:8040/api/table_name/_stream_load_2pc**
你可以在 TaskManager 中搜索日志 `abort transaction response`,根据 http 返回码确定是 client 的问题还是 server 的问题。