Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] [Task] Shell task running error:TaskException: Download resource file: (/shell_test/a.sh,tenant_pydolphin) error #16944

Open
3 tasks done
wmyeason opened this issue Jan 6, 2025 · 10 comments
Labels
question Further information is requested

Comments

@wmyeason
Copy link

wmyeason commented Jan 6, 2025

Search before asking

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

What happened

dolphinscheduler version : 3.1.9
Deploy using Docker Composer according to official documentation. In order to enable the resource center to upload files, the common. properties file configuration of the API and worker nodes has been modified according to the document
The following issues have arisen

A new shell task execution script file has been created, with the content of echo '123'
image

The operation log is shown in the figure
image
I have already entered the API node to check the existence of this file, and the content is also available. I searched for information online but was unable to find it. I am seeking help from the expert

What you expected to happen

echo 123 success

How to reproduce

new file in resource center ,and add task in workflow to running it

Anything else

No response

Version

3.1.x

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@wmyeason wmyeason added bug Something isn't working Waiting for reply Waiting for reply labels Jan 6, 2025
@wmyeason wmyeason changed the title [Bug] [Module Name] Bug title [Bug] [Task] Shell task running error:TaskException: Download resource file: (/shell_test/a.sh,tenant_pydolphin) error Jan 6, 2025
@SbloodyS
Copy link
Member

SbloodyS commented Jan 6, 2025

Using sh shell_test/a.sh relative path instead.

@SbloodyS SbloodyS closed this as completed Jan 6, 2025
@SbloodyS SbloodyS added question Further information is requested and removed bug Something isn't working Waiting for reply Waiting for reply labels Jan 6, 2025
@wmyeason
Copy link
Author

wmyeason commented Jan 6, 2025

@SbloodyS still has problem
i build new b.sh , use relative path
image
still error
image

@SbloodyS
Copy link
Member

SbloodyS commented Jan 6, 2025

Which storage type did you use?

@wmyeason
Copy link
Author

wmyeason commented Jan 6, 2025

@SbloodyS
use HDFS,According to the official website manual
image

@SbloodyS
Copy link
Member

SbloodyS commented Jan 9, 2025

Can you check if shell_test/a.sh file exists in the hdfs path?

@SbloodyS SbloodyS reopened this Jan 9, 2025
@wmyeason
Copy link
Author

wmyeason commented Jan 9, 2025

@SbloodyS i create new file c.sh and find it in api node ,but still has same error
image
image
image

@SbloodyS
Copy link
Member

SbloodyS commented Jan 9, 2025

Looks like your hdfs configuration is not effective. Please check it.

@wmyeason
Copy link
Author

wmyeason commented Jan 9, 2025

@SbloodyS According to the official documentation, after configuring the common. properties file, I am able to upload and create files. Why can it be said that HDFS is not working? How should I check the situation you mentioned
image

@SbloodyS
Copy link
Member

SbloodyS commented Jan 9, 2025

You are using local file storage type which does not supoort cluster deployment.

@wmyeason
Copy link
Author

@SbloodyS Is it a problem with using Docker Composer for pseudo cluster deployment? Is this deployment not supported by itself? I don't quite understand what you mean by not supporting

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants