1、报错:ErrorCode=MetaTransactionFailed, ErrorMessage=Operation failed due to concurrent upload/insert operations on the same table
2、ErrorCode=MetaTransactionFailed, ErrorMessage=Operation failed due to concurrent upload/insert operations on the same table.
● 并发Commit UploadSession操作失败
● ACID表不支持并发Commit,并发操只有一个会成功
● 非ACID表支持并发Commit,并发操作可以同时成功,但是有性能上限,建议单表并发Commit不超过32.
maxcompute表、hive表事务表一般都是非ACID表(我这里就是用到maxcompute事务表,支持并发)
3、ErrorCode=StatusConflict, ErrorMessage=Cannot start upload now unless INITIATED
这个报错是UploadSession已经commit后,您发起写请求会报这个错。需要自查一下代码,UploadSession在Commit后就不能再使用了。
ErrorCode=MetaTransactionFailed, ErrorMessage=Operation failed due to concurrent upload/insert operations on the same table.
这个报错是并发操作一个表导致的(并发就存在对同一个表同时操作的可能性)
4、这个报错一般是因为同时 commit 的 session 数太多。batch tunnel 每次做 checkpoint,所有的 session 都会 commit,不同并发之间可能存在同时 commit 的情况,有小概率报错。streaming tunnel 因为没有 commit 的逻辑,所以应该不会出现这个问题,但 streaming tunnel 就是在作业出现 failover 的时候下游会产生重复数据。