使用Flink调用arangodb Java驱动程序API将数据插入arangodb并报告错误err'已使用的事务ID'

问题描述 投票:0回答:1

使用Flink调用arangodb Java驱动程序API将数据插入arangodb并报告错误err'已使用的事务ID'

Caused by: TimerException{com.arangodb.ArangoDBException: Response: 500, Error: 1590 - AQL: error, cluster node: 'PRMR-c338134b-023c-438d-b672-d5f954c2882c', endpoint: 'tcp://192.168.2.137:8530', error: 'transaction ID already used' (while optimizing plan)}
    at org.apache.flink.streaming.runtime.tasks.SystemProcessingTimeService$TriggerTask.run(SystemProcessingTimeService.java:284)
    ... 7 more
Caused by: com.arangodb.ArangoDBException: Response: 500, Error: 1590 - AQL: error, cluster node: 'PRMR-c338134b-023c-438d-b672-d5f954c2882c', endpoint: 'tcp://xxx:8530', error: 'transaction ID already used' (while optimizing plan)
    at com.arangodb.internal.util.ResponseUtils.checkError(ResponseUtils.java:53)
    at com.arangodb.internal.velocystream.VstCommunication.checkError(VstCommunication.java:149)
    at com.arangodb.internal.velocystream.VstCommunicationSync.execute(VstCommunicationSync.java:128)
    at com.arangodb.internal.velocystream.VstCommunicationSync.execute(VstCommunicationSync.java:42)
    at com.arangodb.internal.velocystream.VstCommunication.execute(VstCommunication.java:132)
    at com.arangodb.internal.velocystream.VstProtocol.execute(VstProtocol.java:47)
    at com.arangodb.internal.ArangoExecutorSync.execute(ArangoExecutorSync.java:71)
    at com.arangodb.internal.ArangoExecutorSync.execute(ArangoExecutorSync.java:53)
apache-flink arangodb
1个回答
0
投票
这似乎是arangodb中的bug,应该在以后的版本中解决。
© www.soinside.com 2019 - 2024. All rights reserved.