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/09/11 15:20:31 UTC

[GitHub] [dolphinscheduler] hiSandog opened a new issue, #11900: [Bug] [task-plugin] run python task, source: not found

hiSandog opened a new issue, #11900:
URL: https://github.com/apache/dolphinscheduler/issues/11900

   ### 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/24449799/189535015-d528080d-6a33-4437-b369-8def3197c5e2.png)
   
   When a Python task is run, "sudo -u qilin_ci sh" is first executed.
   At line 123 of [AbstractCommandExecutor](https://github.com/apache/dolphinscheduler/blob/dev/dolphinscheduler-task-plugin/dolphinscheduler-task-api/src/main/java/org/apache/dolphinscheduler/plugin/task/api/AbstractCommandExecutor.java)
   
   But the command line that needs to be executed like "source /opt/dolphinscheduler/conf/dolphinscheduler_env.sh" .
   At line 111 of [ShellCommandExecutor](https://github.com/apache/dolphinscheduler/blob/dev/dolphinscheduler-task-plugin/dolphinscheduler-task-api/src/main/java/org/apache/dolphinscheduler/plugin/task/api/ShellCommandExecutor.java)
   
   Bash is the one that can execute the source command. Sh doesn't seem to be able to execute the source command.
   
   I'm not sure if this is a bug or a problem with my configuration.
   
   ### What you expected to happen
   
   ...
   
   ### How to reproduce
   
   ...
   
   ### Anything else
   
   ...
   
   ### Version
   
   3.0.0
   
   ### Are you willing to submit PR?
   
   - [X] 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 closed issue #11900: [Bug] [task-plugin] run python task, source: not found

Posted by GitBox <gi...@apache.org>.
SbloodyS closed issue #11900: [Bug] [task-plugin] run python task, source: not found
URL: https://github.com/apache/dolphinscheduler/issues/11900


-- 
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 commented on issue #11900: [Bug] [task-plugin] run python task, source: not found

Posted by GitBox <gi...@apache.org>.
SbloodyS commented on issue #11900:
URL: https://github.com/apache/dolphinscheduler/issues/11900#issuecomment-1242990738

   Duplicated with #10938.


-- 
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 #11900: [Bug] [task-plugin] run python task, source: not found

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #11900:
URL: https://github.com/apache/dolphinscheduler/issues/11900#issuecomment-1242987156

   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