alibaba / alibaba/DataX

rdbmswriter驱动加载不了

Open
#597 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

![image](https://user-images.githubusercontent.com/30610585/74708817-83cbe980-5258-11ea-9b9c-c50ae59b0879.png)
按照文档添加自定义hana驱动,相同的操作rdbmsreader没有问题,rdbmswriter的驱动加载不到。
目前临时解决:
是在RdbmsWriter的init方法中手动调用了一下
`DBUtil.loadDriverClass("writer", "rdbms");`
SubCommonRdbmsWriter中的静态块似乎并没有执行驱动加载

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with RdbmsWriter's init method, DBUtil.loadDriverClass("writer", "rdbms"), and the static block in SubCommonRdbmsWriter; compare this driver-loading path with rdbmsreader using the custom HANA driver instructions. Done means the rdbmswriter loads the configured driver without the reported manual call and the existing reader behavior remains unaffected.

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
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.