You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/05/27 04:12:55 UTC

[GitHub] [airflow] emiliocolo opened a new issue #9014: Running Airflow in Docker, Unixname Always root in WebUI

emiliocolo opened a new issue #9014:
URL: https://github.com/apache/airflow/issues/9014


   Hello,
   
   I am running airflow with celery workers using docker compose and last puckel images from github, ( i replaced airflow user in Dockerfile with hadoop ) in a machine with a username as hadoop with root privileges.
   
   Docker compose runs without sudo under that user, so i checked that all the services are running with that hadoop user with the ps aux , and docker ps command seems correct.
   
   I also configured the default_impersonation = hadoop in airflow.cfg , so the task will be executed under that user in the host machine, mostly useful for HDFS access.
   
   However when i check in the WebUI all the dags task username are always named as root, even the run as parameter seems to work properly internally.
   
   Not sure if this as expected, as i guess the unix username should the be the one under the task is being executed or am missing something here ?
   
   Thanks so much for the tool, is great.
   
   Emilio


----------------------------------------------------------------
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] [airflow] emiliocolo commented on issue #9014: Running Airflow in Docker, Unixname Always root in WebUI

Posted by GitBox <gi...@apache.org>.
emiliocolo commented on issue #9014:
URL: https://github.com/apache/airflow/issues/9014#issuecomment-633835845


   Solved , i had the ENV USER variable set to root by mistake


----------------------------------------------------------------
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] [airflow] emiliocolo closed issue #9014: Running Airflow in Docker, Unixname Always root in WebUI

Posted by GitBox <gi...@apache.org>.
emiliocolo closed issue #9014:
URL: https://github.com/apache/airflow/issues/9014


   


----------------------------------------------------------------
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] [airflow] boring-cyborg[bot] commented on issue #9014: Running Airflow in Docker, Unixname Always root in WebUI

Posted by GitBox <gi...@apache.org>.
boring-cyborg[bot] commented on issue #9014:
URL: https://github.com/apache/airflow/issues/9014#issuecomment-633805050


   Thanks for opening your first issue here! Be sure to follow the issue template!
   


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