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 2021/09/10 15:02:51 UTC
[GitHub] [dolphinscheduler] mgsky1 opened a new issue #6166: [Bug] [worker] Python Task execute error
mgsky1 opened a new issue #6166:
URL: https://github.com/apache/dolphinscheduler/issues/6166
### 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
In the newest dev version, python task is not migrated complete. When I execute python task in workflow, ds throws NullPointerException.
### What you expected to happen
Python task execute correctly.
### How to reproduce
- Add a python task into work flow.
- Type simple script, just like`print('Hello')`
- Then execute the work flow
### Anything else
_No response_
### 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
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [dolphinscheduler] geosmart commented on issue #6166: [Bug] [worker] Python Task execute error
Posted by GitBox <gi...@apache.org>.
geosmart commented on issue #6166:
URL: https://github.com/apache/dolphinscheduler/issues/6166#issuecomment-916974300
make sure PYTHON_HOME is config corrently,
you can just ssh to the worker and run python to test your script
--
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] mgsky1 commented on issue #6166: [Bug] [task-plugin] Python Task execute error
Posted by GitBox <gi...@apache.org>.
mgsky1 commented on issue #6166:
URL: https://github.com/apache/dolphinscheduler/issues/6166#issuecomment-916987125
> make sure PYTHON_HOME is config corrently,
> you can just ssh to the worker and run python to test your script
In `org.apache.dolphinscheduler.plugin.task.python. PythonTask `, there are no `buildCommand` method, but old version, like 1.3.x has it. This will make command null and then throw NullPointerException.
--
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] mgsky1 edited a comment on issue #6166: [Bug] [task-plugin] Python Task execute error
Posted by GitBox <gi...@apache.org>.
mgsky1 edited a comment on issue #6166:
URL: https://github.com/apache/dolphinscheduler/issues/6166#issuecomment-916987125
> make sure PYTHON_HOME is config corrently,
> you can just ssh to the worker and run python to test your script
In `org.apache.dolphinscheduler.plugin.task.python.PythonTask `, there is no `buildCommand` method, but old version, like 1.3.x has it. This will make command null and then throw NullPointerException.
--
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] mgsky1 edited a comment on issue #6166: [Bug] [task-plugin] Python Task execute error
Posted by GitBox <gi...@apache.org>.
mgsky1 edited a comment on issue #6166:
URL: https://github.com/apache/dolphinscheduler/issues/6166#issuecomment-916987125
> make sure PYTHON_HOME is config corrently,
> you can just ssh to the worker and run python to test your script
In `org.apache.dolphinscheduler.plugin.task.python.PythonTask `, there are no `buildCommand` method, but old version, like 1.3.x has it. This will make command null and then throw NullPointerException.
--
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] CalvinKirs closed issue #6166: [Bug] [task-plugin] Python Task execute error
Posted by GitBox <gi...@apache.org>.
CalvinKirs closed issue #6166:
URL: https://github.com/apache/dolphinscheduler/issues/6166
--
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