mirror of
https://gitee.com/dolphinscheduler/DolphinScheduler.git
synced 2024-11-30 03:08:01 +08:00
[Fix][data-quality] change data-quality task main jar path (#8752)
* feat(data-quality) change data-quality task main jar path * feat(data-quality) change data-quality task main jar path Co-authored-by: zixi0825 <sunzhaohe@linklogis.com>
This commit is contained in:
parent
ddd4474189
commit
6a02b15e40
@ -76,7 +76,7 @@ datasource.encryption.enable=false
|
||||
datasource.encryption.salt=!@#$%^&*
|
||||
|
||||
# data quality option
|
||||
data-quality.jar.name=/worker-server/libs/dolphinscheduler-data-quality-2.0.4-SNAPSHOT.jar
|
||||
data-quality.jar.name=dolphinscheduler-data-quality-2.0.4-SNAPSHOT.jar
|
||||
|
||||
#data-quality.error.output.path=/tmp/data-quality-error-data
|
||||
|
||||
|
@ -180,7 +180,8 @@ public class DataQualityTask extends AbstractYarnTask {
|
||||
@Override
|
||||
protected void setMainJarName() {
|
||||
ResourceInfo mainJar = new ResourceInfo();
|
||||
mainJar.setRes(CommonUtils.getDataQualityJarName());
|
||||
String basePath = System.getProperty("user.dir").replace(File.separator + "bin", File.separator + "libs");
|
||||
mainJar.setRes(basePath + File.separator + CommonUtils.getDataQualityJarName());
|
||||
dataQualityParameters.getSparkParameters().setMainJar(mainJar);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user