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 2020/04/27 01:35:20 UTC
[GitHub] [incubator-dolphinscheduler] gumupaier opened a new issue #2533: [dev branch] Use docker-compose for deployment . Failed to execute python script(使用docker-compose部署,执行python脚本错误,所使用的docker-compose文件在swarm目录下)
gumupaier opened a new issue #2533:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/2533
*For better global communication, please give priority to using English description, thx! *
**Describe the bug**
start command:
docker-compose up -d
description:
Failed to execute python script
the log show
sudo: /opt/soft/python: command not found
However, I have changed the dolphinscheduler_env.sh file
`export HADOOP_HOME=/opt/soft/hadoop
export HADOOP_CONF_DIR=/opt/soft/hadoop/etc/hadoop
export SPARK_HOME1=/opt/soft/spark1
export SPARK_HOME2=/opt/soft/spark2
export PYTHON_HOME=/usr/bin/python
export JAVA_HOME=/opt/soft/java
export HIVE_HOME=/opt/soft/hive
export FLINK_HOME=/opt/soft/flink
export PATH=$HADOOP_HOME/bin:$SPARK_HOME1/bin:$SPARK_HOME2/bin:$PYTHON_HOME:$JAVA_HOME/bin:$HIVE_HOME/bin:$FLINK_HOME/bin:$PATH`
*Screenshots**
![image](https://user-images.githubusercontent.com/37896380/80326017-05984e80-886a-11ea-8015-b843c7979584.png)
**Requirement or improvement
Even better, the built-in python version of the container is python3
Hard you
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-dolphinscheduler] gumupaier commented on issue #2533: [dev branch] Use docker-compose for deployment . Failed to execute python script(使用docker-compose部署,执行python脚本错误,所使用的docker-compose文件在swarm目录下)
Posted by GitBox <gi...@apache.org>.
gumupaier commented on issue #2533:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/2533#issuecomment-619669666
> I will fix it
thank you
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-dolphinscheduler] gumupaier commented on issue #2533: [dev branch] Use docker-compose for deployment . Failed to execute python script(使用docker-compose部署,执行python脚本错误,所使用的docker-compose文件在swarm目录下)
Posted by GitBox <gi...@apache.org>.
gumupaier commented on issue #2533:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/2533#issuecomment-619662716
![image](https://user-images.githubusercontent.com/37896380/80326171-79d2f200-886a-11ea-8aa1-a14b70bf5df2.png)
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-dolphinscheduler] liwenhe1993 commented on issue #2533: [dev branch] Use docker-compose for deployment . Failed to execute python script(使用docker-compose部署,执行python脚本错误,所使用的docker-compose文件在swarm目录下)
Posted by GitBox <gi...@apache.org>.
liwenhe1993 commented on issue #2533:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/2533#issuecomment-619665072
I will fix 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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-dolphinscheduler] gumupaier commented on issue #2533: [dev branch] Use docker-compose for deployment . Failed to execute python script(使用docker-compose部署,执行python脚本错误,所使用的docker-compose文件在swarm目录下)
Posted by GitBox <gi...@apache.org>.
gumupaier commented on issue #2533:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/2533#issuecomment-619663510
@liwenhe1993
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-dolphinscheduler] liwenhe1993 commented on issue #2533: [dev branch] Use docker-compose for deployment . Failed to execute python script(使用docker-compose部署,执行python脚本错误,所使用的docker-compose文件在swarm目录下)
Posted by GitBox <gi...@apache.org>.
liwenhe1993 commented on issue #2533:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/2533#issuecomment-619815837
I fixed it up
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org