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/03/10 02:12:40 UTC

[GitHub] [incubator-dolphinscheduler] wa-ooo opened a new issue #5024: [Improvement][Worker] Python Command

wa-ooo opened a new issue #5024:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/5024


   In general, the home is the directory where the software is installed,but the commandInterpreter method use the Python home directory in PythonCommandExecutor.java, which is in the environment variable configuration file needs to be configured PYTHON_HOME to PYTHON_HOME/bin/Python. Obviously, this is unreasonable and misleading
   
   **Describe alternatives you've considered**
   
   `    /**
        * get python home
        *
        * @return python home
        */
       @Override
       protected String commandInterpreter() {
           String pythonHome = getPythonHome(taskExecutionContext.getEnvFile());
           if (StringUtils.isEmpty(pythonHome)) {
               return PYTHON;
           }
           --  return pythonHome
           ++ return pythonHome + "/bin/python";  
       }`
   
   [dev]


----------------------------------------------------------------
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] chengshiwen commented on issue #5024: [Improvement][Worker] Python Command

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


   @wa-ooo Hi, would you like to submit a pr to fix this issue?


----------------------------------------------------------------
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] CalvinKirs closed issue #5024: [Improvement][Worker] Python Command

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


   


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