alibaba / alibaba/DataX

mongodb同步到es

Open
#481 0 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

2019-10-22 18:59:45.816 [main] WARN ConfigParser - 插件[null,elasticsearchwriter]加载失败,1s后重试... Exception:Code:[Framework-12], Description:[DataX插件初始化错误, 该问题通常是由于DataX安装错误引起,请联系您的运维解决 .]. - 插件加载失败,未完成指定插件加载:[null, elasticsearchwriter]
2019-10-22 18:59:46.824 [main] ERROR Engine -

经DataX智能分析,该任务最可能的错误原因是:
com.alibaba.datax.common.exception.DataXException: Code:[Framework-12], Description:[DataX插件初始化错误, 该问题通常是由于DataX安装错误引起,请联系您的运维解决 .]. - 插件加载失败,未完成指定插件加载:[null, elasticsearchwriter]
at com.alibaba.datax.common.exception.DataXException.asDataXException(DataXException.java:26)
at com.alibaba.datax.core.util.ConfigParser.parsePluginConfig(ConfigParser.java:142)
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)

安装的插件是没有问题的,只安装了这两个插件只是有报警
[WARNING] Assembly file: /root/DataX/elasticsearchwriter/target/datax is not a regular file (it may be a directory). It cannot be attached to the project build for installation or deployment.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by inspecting ConfigParser.java around lines 142 and 63, then trace the plugin-loading path through Engine.java using the reported elasticsearchwriter setup. Check the assembly warning for /root/DataX/elasticsearchwriter/target/datax and determine whether the warning is expected when only these plugins are installed; done should make plugin loading behavior and the warning consistent.

Written by the indexing model from the issue text.

Assessment

Tech stack
elasticsearch, java, mongodb
Domain
data-engineering
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.