mirror of
https://gitee.com/dolphinscheduler/DolphinScheduler.git
synced 2024-11-30 03:08:01 +08:00
[Fix-14546] seatunnel unable submit spark job to spark (#14617)
This commit is contained in:
parent
298b8ccf5a
commit
9083f9d0e0
@ -58,9 +58,10 @@ public class SeatunnelSparkTask extends SeatunnelTask {
|
||||
: seatunnelParameters.getMaster();
|
||||
|
||||
args.add(MASTER_OPTIONS);
|
||||
args.add(master.getCommand());
|
||||
if (MasterTypeEnum.SPARK.equals(master) || MasterTypeEnum.MESOS.equals(master)) {
|
||||
args.add(seatunnelParameters.getMasterUrl());
|
||||
args.add(master.getCommand() + seatunnelParameters.getMasterUrl());
|
||||
} else {
|
||||
args.add(master.getCommand());
|
||||
}
|
||||
|
||||
return args;
|
||||
|
Loading…
Reference in New Issue
Block a user