You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2022/11/28 07:12:05 UTC
[GitHub] [dolphinscheduler] zx472010602 opened a new issue, #13020: [Bug] [dolphinscheduler-service] Python Task execute ERROR
zx472010602 opened a new issue, #13020:
URL: https://github.com/apache/dolphinscheduler/issues/13020
### Search before asking
- [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues.
### What happened
![image](https://user-images.githubusercontent.com/31379313/204213900-39d56b61-f4d2-4a24-8059-768c1385d2c3.png)
When I used kubernates to deploy Dolphinscheduler and tried to run Python Task, an error occurred.
### What you expected to happen
After troubleshooting, I found that SH command was used to execute the command file. In the Ubuntu system, the default SH command points to Dash, and Dash cannot use the Source command. This is the first error. After switching back to Bash command, the second error occurred, The "PYTHON_HOME" environment variable in the "/opt/dolphinscheduler/conf/dolphinscheduler_env.sh" file in the Command file points to "/opt/soft/Python". The "PYTHON_HOME" in the official document should actually point to "/usr/bin/python3"
### How to reproduce
Use Kubernates to deploy dolphinscheduler, and then execute Python Task
### 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
- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [dolphinscheduler] SbloodyS commented on issue #13020: [Bug] [dolphinscheduler-service] Python Task execute ERROR
Posted by GitBox <gi...@apache.org>.
SbloodyS commented on issue #13020:
URL: https://github.com/apache/dolphinscheduler/issues/13020#issuecomment-1333463204
This issue has been fixed in #13028. I'll close it.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [dolphinscheduler] zx472010602 commented on issue #13020: [Bug] [dolphinscheduler-service] Python Task execute ERROR
Posted by GitBox <gi...@apache.org>.
zx472010602 commented on issue #13020:
URL: https://github.com/apache/dolphinscheduler/issues/13020#issuecomment-1330166755
> hi @zx472010602 , this case is not caused by wrong bash, just env issue. U should set a correct python home.
The subshell itself does not load the environment variables of the parent SHELL. The project is also set through the source command, but the command itself does not recognize
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [dolphinscheduler] DarkAssassinator commented on issue #13020: [Bug] [dolphinscheduler-service] Python Task execute ERROR
Posted by GitBox <gi...@apache.org>.
DarkAssassinator commented on issue #13020:
URL: https://github.com/apache/dolphinscheduler/issues/13020#issuecomment-1329207468
hi @zx472010602 , this case is not caused by wrong bash, just env issue. U should set a correct python home.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [dolphinscheduler] SbloodyS closed issue #13020: [Bug] [dolphinscheduler-service] Python Task execute ERROR
Posted by GitBox <gi...@apache.org>.
SbloodyS closed issue #13020: [Bug] [dolphinscheduler-service] Python Task execute ERROR
URL: https://github.com/apache/dolphinscheduler/issues/13020
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [dolphinscheduler] github-actions[bot] commented on issue #13020: [Bug] [dolphinscheduler-service] Python Task execute ERROR
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #13020:
URL: https://github.com/apache/dolphinscheduler/issues/13020#issuecomment-1328641896
Thank you for your feedback, we have received your issue, Please wait patiently for a reply.
* In order for us to understand your request as soon as possible, please provide detailed information、version or pictures.
* If you haven't received a reply for a long time, you can [join our slack](https://s.apache.org/dolphinscheduler-slack) and send your question to channel `#troubleshooting`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org