Skip to content

[Question] [3.0.0-beta-2] /tmp/dolphinscheduler/exec/process.command: /bin/spark-submit: not found #10938

@zhouhongyu888

Description

@zhouhongyu888

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

I hava deployed ds by docker-compose and mount the spark-client on localhost,when I submit a spark-task(the example task of sparkPi), the error below happends:
[INFO] 2022-07-13 08:30:49.424 +0000 [taskAppId=TASK-20220713-6178360895936_1-48-48] TaskLogLogger-class org.apache.dolphinscheduler.plugin.task.spark.SparkTask:[63] - -> /tmp/dolphinscheduler/exec/process/6169061703072/6178360895936_1/48/48/48_48.command: 4: /tmp/dolphinscheduler/exec/process/6169061703072/6178360895936_1/48/48/48_48.command: source: not found
/tmp/dolphinscheduler/exec/process/6169061703072/6178360895936_1/48/48/48_48.command: 5: /tmp/dolphinscheduler/exec/process/6169061703072/6178360895936_1/48/48/48_48.command: /bin/spark-submit: not found

What you expected to happen

the task can run successfully

How to reproduce

1、deployed dolphinscheduler by docker-compose
2、mount the directory /opt/soft on localhost

Anything else

No response

Version

3.0.0-beta-2

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

Labels

backendbugSomething isn't workingrelease cherry-pickMark this issue/PR had cherry-pick for release version

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions