alibaba / alibaba/DataX

window环境下执行job.json提示配置文件问题

Open
#1,691 3 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

D:\dataX\datax\bin>python datax.py D:\dataX\datax\job\job.json

DataX (DATAX-OPENSOURCE-3.0), From Alibaba !
Copyright (C) 2010-2017, Alibaba Group. All Rights Reserved.

2023-02-22 09:11:58.148 [main] WARN ConfigParser - 插件[streamreader,streamwriter]加载失败,1s后重试... Exception:Code:[Common-00], Describe:[您提供的配置文件存在错误信息,请检查您的作业配置 .] - 配置信息错误,您提供的配置文件[D:\dataX\datax\plugin\reader\._cassandrareader\plugin.json]不存在. 请检查您的配置文件.
2023-02-22 09:11:59.164 [main] ERROR Engine -

经DataX智能分析,该任务最可能的错误原因是:
com.alibaba.datax.common.exception.DataXException: Code:[Common-00], Describe:[您提供的配置文件存在错误信息,请检查您的 作业配置 .] - 配置信息错误,您提供的配置文件[D:\dataX\datax\plugin\reader\._cassandrareader\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 the Windows command and the stack-trace entry points ConfigParser.parseOnePluginConfig, ConfigParser.parsePluginConfig, and Configuration.from. Reproduce the job.json run on Windows and inspect how the reader plugin path is assembled, especially the reported plugin\reader\._cassandrareader\plugin.json path. Done means the job no longer treats that missing path as a required plugin configuration.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.