alibaba / alibaba/DataX

支持informixreader吗,可以配置吗?

Open
#515 1 comment 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

可以用rdbmsreader配置informix吗?
1、我在rdbmsreader的plugin.json中配置
"drivers":["dm.jdbc.driver.DmDriver", "com.sybase.jdbc3.jdbc.SybDriver", "com.edb.Driver", "com.informix.jdbc.IfxDriver"]
2、libs下放了ifxjdbc.jar
3、job的配置如下
"reader": {
"name": "rdbmsreader",
"parameter": {
"username": "",
"password": "",
"connection": [{
"querySql": [
"select userid,departid from user_depart where userid=1;"
],
"jdbcUrl": [
"jdbc:informix-sqli://ip:port/database:INFORMIXSERVER=;"
]
}]
}
},
4、运行job报错
配置信息错误,您提供的配置文件xxxx/xxxxx/xxx/plugin.json不存在,请检查您的配置文件。
at com.alibaba.datax.common.exception.DataXException.asDataXException(DataXException.java:26)
at com.alibaba.datax.common.util.Configuration.from(Configuration.java:95)
at com.alibaba.datax.core.util.ConfigParser.parseOnePluginConfig(ConfigParser.java:153)
at com.alibaba.datax.core.util.ConfigParser.parsePluginConfig(ConfigParser.java:125)
at com.alibaba.datax.core.util.ConfigParser.parse(ConfigParser.java:63)
at com.alibaba.datax.core.Engine.entry(Engine.java:137)
at com.alibaba.datax.core.Engine.main(Engine.java:204)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with ConfigParser.parsePluginConfig and ConfigParser.parseOnePluginConfig, where the reported missing plugin.json error occurs. Compare the rdbmsreader plugin.json and libs/ifxjdbc.jar setup with the supplied job configuration, then verify whether the Informix driver is recognized and the job can execute the query without the configuration error.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.