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 2022/03/15 04:36:34 UTC

[GitHub] [dolphinscheduler] lordk911 opened a new issue #8893: [Bug] upgrade from 2.0.0 to 2.0.5 then python with default environment will not to work

lordk911 opened a new issue #8893:
URL: https://github.com/apache/dolphinscheduler/issues/8893


   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### What happened
   
   upgrade from 2.0.0 to 2.0.5 then python with default environment will not to work:
   
   my ${dolphin_home}/conf/env/dolphinscheduler_env.sh had set PYTHON_HOME :
   export PYTHON_HOME=/data/soft/miniconda3/envs/jupyterhub
   
   and in dolphinscheduler 2.0.0  it works fine , but after upgrade to 2.0.5 ,I got error : 
   ImportError: No module named requests
   
   **Thant means dolphinscheduler not use the PYTHON_HOME which I set.**
   
   ### What you expected to happen
   
   if I create a environment in dolphin .  how can I bind the environment to my python task by change the dolphinscheduler metadata in database.
   
   ### How to reproduce
   
   create a python virtual environment ,and set PYTHON_HOME in dolphinscheduler_env.sh to point it ,create python task in 2.0.0 without create any new environment . after update to 2.0.5 ,it will not work.
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   2.0.5
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


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

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [dolphinscheduler] lordk911 commented on issue #8893: [Bug] upgrade from 2.0.0 to 2.0.5 then python with default environment will not to work

Posted by GitBox <gi...@apache.org>.
lordk911 commented on issue #8893:
URL: https://github.com/apache/dolphinscheduler/issues/8893#issuecomment-1067787185


   sorry, it's not a bug , my env problem


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

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [dolphinscheduler] github-actions[bot] commented on issue #8893: [Bug] upgrade from 2.0.0 to 2.0.5 then python with default environment will not to work

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #8893:
URL: https://github.com/apache/dolphinscheduler/issues/8893#issuecomment-1067556050


   Hi:
   * Thank you for your feedback, we have received your issue, Please wait patiently for a reply.
   * In order for us to understand your request as soon as possible, please provide detailed information、version or pictures.
   * If you haven't received a reply for a long time, you can subscribe to the developer's email,Mail subscription steps reference https://dolphinscheduler.apache.org/en-us/community/development/subscribe.html ,Then write the issue URL in the email content and send question to dev@dolphinscheduler.apache.org.


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

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [dolphinscheduler] lordk911 closed issue #8893: [Bug] upgrade from 2.0.0 to 2.0.5 then python with default environment will not to work

Posted by GitBox <gi...@apache.org>.
lordk911 closed issue #8893:
URL: https://github.com/apache/dolphinscheduler/issues/8893


   


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

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [dolphinscheduler] caishunfeng commented on issue #8893: [Bug] upgrade from 2.0.0 to 2.0.5 then python with default environment will not to work

Posted by GitBox <gi...@apache.org>.
caishunfeng commented on issue #8893:
URL: https://github.com/apache/dolphinscheduler/issues/8893#issuecomment-1067735942


   Hi @lordk911 I think you should change the task definition from UI or API, but not update database directly.


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

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org