stursdsafdaf opened a new issue, #49489:
URL: https://github.com/apache/airflow/issues/49489

   ### Apache Airflow version
   
   2.10.5
   
   ### If "Other Airflow 2 version" selected, which one?
   
   2.10.5
   
   ### What happened?
   
   1、I added the following dag on version 2.10.5 to test whether hivepartition 
exists
   
   
![Image](https://github.com/user-attachments/assets/48b02c8d-d3eb-4120-87ef-17456747912a)
   
   
   2、From the following log, we can see that the connect id used is 
"metastore_default" and the rescheduler has been called more than 200 times.
   
   <img width="1804" alt="Image" 
src="https://github.com/user-attachments/assets/a70ff2fd-97f2-4844-b0db-f453d3287bc1";
 />
   
   3、At this time, I changed the metastore_default in connections from 
"192.168.1.1" to "192.168. space 1.1"
   At this point, the task will fail directly without entering the up_for_retry 
state.
   
   <img width="1809" alt="Image" 
src="https://github.com/user-attachments/assets/b0a0861c-5072-4493-adb1-da5e25fcb7de";
 />
   
   ### What you think should happen instead?
   
   I think that after the task enters the rescheduler state, the number of 
retries should not increase, so after I modify the connection, the task should 
enter the up_for_retry state instead of failing.
   
   ### How to reproduce
   
   1. Write a dag to detect a non-existent partition
   2. When the number of task reschedulers is greater than the retries set by 
the dag, modify the connections configuration, add spaces or other characters, 
and make the task fail
   
   ### Operating System
   
   ubuntu24.04
   
   ### Versions of Apache Airflow Providers
   
   apache-airflow                           2.10.5
   apache-airflow-providers-apache-hive     8.2.0
   apache-airflow-providers-celery          3.8.2
   apache-airflow-providers-common-compat   1.2.0
   apache-airflow-providers-common-io       1.4.1
   apache-airflow-providers-common-sql      1.17.1
   apache-airflow-providers-fab             1.4.0
   apache-airflow-providers-ftp             3.11.1
   apache-airflow-providers-http            4.13.1
   apache-airflow-providers-imap            3.7.0
   apache-airflow-providers-mysql           5.7.1
   apache-airflow-providers-redis           3.8.0
   apache-airflow-providers-smtp            1.8.0
   apache-airflow-providers-sqlite          3.9.0
   
   ### Deployment
   
   Official Apache Airflow Helm Chart
   
   ### Deployment details
   
   _No response_
   
   ### Anything else?
   
   This problem occurs every time
   
   ### 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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to