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 2021/03/03 21:37:47 UTC

[GitHub] [airflow] ConstantinoSchillebeeckx opened a new issue #14591: trigger specific task in an existing DAG run

ConstantinoSchillebeeckx opened a new issue #14591:
URL: https://github.com/apache/airflow/issues/14591


   <!--
   
   Welcome to Apache Airflow!  For a smooth issue process, try to answer the following questions.
   Don't worry if they're not all applicable; just try to include what you can :-)
   
   If you need to include code snippets or logs, please put them in fenced code
   blocks.  If they're super-long, please use the details tag like
   <details><summary>super-long log</summary> lots of stuff </details>
   
   Please delete these comment blocks before submitting the issue.
   
   -->
   
   **Description**
   
   I may be missing it, but I couldn't find a way of trigger an individual task to run within an existing DAG run through the REST API.
   
   <!-- A short description of your feature -->
   
   **Use case / motivation**
   
   For our testing purposes, we'd like to trigger an individual task and confirm that it behaves as expected.
   
   <!-- What do you want to happen?
   
   Rather than telling us how you might implement this solution, try to take a
   step back and describe what you are trying to achieve.
   
   -->
   
   **Are you willing to submit a PR?**
   
   Oh yeah!
   
   <!--- We accept contributions! -->
   
   


----------------------------------------------------------------
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] ConstantinoSchillebeeckx commented on issue #14591: trigger specific task in an existing DAG run

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


   @vemikhaylov it sure does solve the 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.

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



[GitHub] [airflow] ngmiduc commented on issue #14591: trigger specific task in an existing DAG run

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


   @ConstantinoSchillebeeckx , how did you do it in the end?
   Did you use: `https://airflow.apache.org/api/v1/dags/{dag_id}/clearTaskInstances` ?
   
   I was also wondering now how to clear a task of a dagRun. 


-- 
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] mik-laj edited a comment on issue #14591: trigger specific task in an existing DAG run

Posted by GitBox <gi...@apache.org>.
mik-laj edited a comment on issue #14591:
URL: https://github.com/apache/airflow/issues/14591#issuecomment-790082269


   For development, you can consider to use docker-compose and airflow tasks test command. 


----------------------------------------------------------------
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] ConstantinoSchillebeeckx closed issue #14591: trigger specific task in an existing DAG run

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


   


----------------------------------------------------------------
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] vemikhaylov commented on issue #14591: trigger specific task in an existing DAG run

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


   @ConstantinoSchillebeeckx 
   Will this solve your problem? https://github.com/apache/airflow/pull/14500 https://github.com/apache/airflow/issues/13225


----------------------------------------------------------------
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] mik-laj commented on issue #14591: trigger specific task in an existing DAG run

Posted by GitBox <gi...@apache.org>.
mik-laj commented on issue #14591:
URL: https://github.com/apache/airflow/issues/14591#issuecomment-790082269


   For development, you can consider to use docker-compose and airflow tasks tests command. 


----------------------------------------------------------------
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] mik-laj commented on issue #14591: trigger specific task in an existing DAG run

Posted by GitBox <gi...@apache.org>.
mik-laj commented on issue #14591:
URL: https://github.com/apache/airflow/issues/14591#issuecomment-790372874


   no.  This feature is not working.  you must use kubectl exec to invoke a remote command.


----------------------------------------------------------------
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] ConstantinoSchillebeeckx commented on issue #14591: trigger specific task in an existing DAG run

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


   We would be triggering tasks on a deployed QA environment; is it possible to use the Airflow CLI to interact with a remote deployment? I see the [Docs hints at this](https://airflow.apache.org/docs/apache-airflow/stable/usage-cli.html#set-up-connection-to-a-remote-airflow-instance).


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