You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
提交任务的时候,报这个错
File "/usr/local/lib/python3.10/dist-packages/prophet_flow_core/dolphinscheduler/workflow.py", line 40, in submit_workflow
_task_template[key] = Shell(
File "/usr/local/lib/python3.10/dist-packages/pydolphinscheduler/tasks/shell.py", line 59, in init
super().init(name, TaskType.SHELL, *args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/pydolphinscheduler/core/task.py", line 224, in init
self.code, self.version = self.gen_code_and_version()
File "/usr/local/lib/python3.10/dist-packages/pydolphinscheduler/core/task.py", line 447, in gen_code_and_version
result = gateway.get_code_and_version(
File "/usr/local/lib/python3.10/dist-packages/pydolphinscheduler/java_gateway.py", line 144, in get_code_and_version
return self.gateway.entry_point.getCodeAndVersion(
File "/usr/local/lib/python3.10/dist-packages/py4j/java_gateway.py", line 1355, in call
return_value = get_return_value(
File "/usr/local/lib/python3.10/dist-packages/py4j/protocol.py", line 334, in get_return_value
raise Py4JError(
py4j.protocol.Py4JError: An error occurred while calling t.getCodeAndVersion
这个怎么解决呀
The text was updated successfully, but these errors were encountered:
@mmarzl17 I have released a new version pip install apache-dolphinscheduler==4.1.0 in PyPI now, and I think it works correctly in dolphinscheduler 3.2.1 because I tried
# for dolphinscheduler
DOLPHINSCHEDULER_VERSION=3.2.1
docker run --name dolphinscheduler-standalone-server -p 12345:12345 -p 25333:25333 -d apache/dolphinscheduler-standalone-server:"${DOLPHINSCHEDULER_VERSION}"# for python SDK
python -m pip install apache-dolphinscheduler==4.1.0
python tutorial.py
dolphinscheulder的版本是3.2.1
pydolphinscheduler的版本是从master分支构建的 pip install git+https://github.com/apache/dolphinscheduler-sdk-python.git#egg=apache-dolphinscheduler
py4j的版本是0.10.9.8
提交任务的时候,报这个错
File "/usr/local/lib/python3.10/dist-packages/prophet_flow_core/dolphinscheduler/workflow.py", line 40, in submit_workflow
_task_template[key] = Shell(
File "/usr/local/lib/python3.10/dist-packages/pydolphinscheduler/tasks/shell.py", line 59, in init
super().init(name, TaskType.SHELL, *args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/pydolphinscheduler/core/task.py", line 224, in init
self.code, self.version = self.gen_code_and_version()
File "/usr/local/lib/python3.10/dist-packages/pydolphinscheduler/core/task.py", line 447, in gen_code_and_version
result = gateway.get_code_and_version(
File "/usr/local/lib/python3.10/dist-packages/pydolphinscheduler/java_gateway.py", line 144, in get_code_and_version
return self.gateway.entry_point.getCodeAndVersion(
File "/usr/local/lib/python3.10/dist-packages/py4j/java_gateway.py", line 1355, in call
return_value = get_return_value(
File "/usr/local/lib/python3.10/dist-packages/py4j/protocol.py", line 334, in get_return_value
raise Py4JError(
py4j.protocol.Py4JError: An error occurred while calling t.getCodeAndVersion
这个怎么解决呀
The text was updated successfully, but these errors were encountered: