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:
[email protected]


Reply via email to