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 2022/01/12 04:14:48 UTC

[GitHub] [airflow] sunnyxcao79 opened a new issue #20821: Airflow can not schedule task in new subDAG

sunnyxcao79 opened a new issue #20821:
URL: https://github.com/apache/airflow/issues/20821


   ### Apache Airflow version
   
   2.2.3 (latest released)
   
   ### What happened
   
   We are using the input parameter from one configuration file to control the number of SubDAG will be triggered in one DAG.  It works in original configuration,e.g. we set 5 SubDAG, all can run complete normally.   After we try to add one more SubDAG in configuration file,  the subDAG can be listed in UI, but all tasks in the new subDAG can not be scheduled.  (All tasks of other old SubDAG can still run complete normally)
   
   ### What you expected to happen
   
   The tasks in new SubDAG can be scheduled as well.  This design works in Airflow 1.10.9
   
   ### How to reproduce
   
   Add new subDAG in any DAG with some subDAG,  the case can reproduce.
   
   ### Operating System
   
   red hat linux 7
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Other
   
   ### Deployment details
   
   _No response_
   
   ### Anything else
   
   _No response_
   
   ### 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://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
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@airflow.apache.org

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



[GitHub] [airflow] eladkal commented on issue #20821: Airflow can not schedule task in new subDAG

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


   SubDAG is a deprecated feature so fixing bugs related to it isn't a priority.
   You should switch to TaskGroups.
   If this issue is blocking you then maybe you can raise a PR to fix it?


-- 
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@airflow.apache.org

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



[GitHub] [airflow] sunnyxcao79 commented on issue #20821: Airflow can not schedule task in new subDAG

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


   May I know how to raise a PR?


-- 
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@airflow.apache.org

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



[GitHub] [airflow] boring-cyborg[bot] commented on issue #20821: Airflow can not schedule task in new subDAG

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


   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.

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

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



[GitHub] [airflow] eladkal commented on issue #20821: Airflow can not schedule task in new subDAG

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


   > May I know how to raise a PR?
   
   We have guide for contributors:
   https://github.com/apache/airflow/blob/main/CONTRIBUTORS_QUICK_START.rst


-- 
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@airflow.apache.org

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



[GitHub] [airflow] ManiBharataraju commented on issue #20821: Airflow can not schedule task in new subDAG

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


   @sunnyxcao79 - There is a PR that I created to fix this. Please refer https://github.com/apache/airflow/pull/16508.
   To get your subdag scheduled there is a small hack that could unblock you meanwhile, 
   1. click on zoom into subdag
   2. click on code and turn on the subdag. It will be scheduled.
   
   FWIW, it is better to move to TaskGroups. They offer similar functionality of a subdag.
   


-- 
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@airflow.apache.org

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