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/06/02 03:58:08 UTC

[GitHub] [incubator-dolphinscheduler] hei-wei opened a new issue #2868: [QUESTION] python path and version different

hei-wei opened a new issue #2868:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/2868


   
   **Which version of DolphinScheduler:**
    -[1.2.0-preview]
   
   export HADOOP_HOME=/opt/cloudera/parcels/CDH-5.11.0-1.cdh5.11.0.p0.34
   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/local/bin/python2
   export JAVA_HOME=/usr/java/jdk1.8.0_172
   #export HIVE_HOME=/opt/soft/hive
   #export FLINK_HOME=/opt/soft/flink
   export EDW_HOME="/BIG_DATA/EDW/ZYXF_EDW/PYTHON_APP"
   export EDW_PACKAGE_HOME="$EDW_HOME/package"
   export EDW_CONFIG_HOME="$EDW_HOME"
   
   export PATH=$HADOOP_HOME/bin:$PYTHON_HOME:$JAVA_HOME/bin:$PATH:$FLINK_HOME/bin:$EDW_HOME:$EDW_PACKAGE_HOME:$EDW_CONFIG_HOME:$PATH
   
   export PYTHON_HOME=/usr/local/bin/python2
   python2 --> 2.7.3
   but   run python -V
   ![image](https://user-images.githubusercontent.com/57801501/83478380-4702c600-a4c8-11ea-98d2-5e5a3656ce2b.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] dailidong closed issue #2868: [QUESTION] python path and version different

Posted by GitBox <gi...@apache.org>.
dailidong closed issue #2868:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/2868


   


----------------------------------------------------------------
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] chinaboyll commented on issue #2868: [QUESTION] python path and version different

Posted by GitBox <gi...@apache.org>.
chinaboyll commented on issue #2868:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/2868#issuecomment-732023862


   update properties。
   1、update common.properties file, dolphinscheduler.env.path=/data/dolphinscheduler/conf/env/dolphinscheduler_env.sh
   2、update /data/dolphinscheduler/conf/env/dolphinscheduler_env.sh 
   更新配置文件。
   1、更新common.properties 文件下的 dolphinscheduler.env.path= /dolphinscheduler/conf/env/dolphinscheduler_env.sh。
   2、更新conf/env/dolphinscheduler_env.sh 文件中环境变量,PYTHON_HOME指向所在版本的Python文件。


----------------------------------------------------------------
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] Jave-Chen commented on issue #2868: [QUESTION] python path and version different

Posted by GitBox <gi...@apache.org>.
Jave-Chen commented on issue #2868:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/2868#issuecomment-637575035


   how about `/usr/local/bin/python2 -v` ?


----------------------------------------------------------------
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] dailidong commented on issue #2868: [QUESTION] python path and version different

Posted by GitBox <gi...@apache.org>.
dailidong commented on issue #2868:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/2868#issuecomment-637308441


   you only set python2 path, so python2 will show 2.7.3.
    
   
   you can try "which python" to see python's execute path


----------------------------------------------------------------
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] dailidong commented on issue #2868: [QUESTION] python path and version different

Posted by GitBox <gi...@apache.org>.
dailidong commented on issue #2868:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/2868#issuecomment-650690783


   no reponse from user, temporarily close


----------------------------------------------------------------
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