alibaba / alibaba/DataX

datax连接mongo7.0.9版本时出错

Open
#2,122 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
17.4k
Forks
5.7k
PR merge metrics
No merged PRs in 30d

Description

经DataX智能分析,该任务最可能的错误原因是:
com.alibaba.datax.common.exception.DataXException: Code:[Framework-02], Description:[DataX引擎运行过程出错,具体原因请参看DataX运行结束时的错误诊断信息 .]. - com.mongodb.MongoQueryException: Query failed with error code 352 and error message 'Unsupported OP_QUERY command: find. The client driver may require an upgrade. For more details see https://dochub.mongodb.org/core/legacy-opcode-removal'

是因为dataxz中的驱动版本太低了嘛,只有mongo-java-driver-3.2.2.jar

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by checking the DataX MongoDB connector dependency containing mongo-java-driver-3.2.2.jar and compare it with MongoDB 7.0.9's driver requirements. Reproduce the connection error and confirm that the completed work allows the connector to query MongoDB 7.0.9 without the unsupported OP_QUERY error.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, mongodb
Domain
databases
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.