Commit 355bd56
[AIRFLOW-3888] HA for metastore connection (apache#4708)
* HA for Metastore
* [AIRFLOW-3888] HA for metastore connection
Creating a connection to a metasotor with two hosts for high avitablity (eg connection 1, connection 2) is not possible because the entire value entered is taken. For our needs, it is necessary to go through subsequent hosts and connect to the first working.
This change allows you to check and then connect to a working metastor.
* add function to base_hook
* update webhdfs_hook
* back to original version
* back to original version
* Update hive_hooks.py
Thank you. I made a few changes because during the tests I detected several errors.
I have a question, when I do marge to my pull it will be still possible to land it in the airflow main branch?
* [AIRFLOW-3888] HA for metastore connection
flake8 code repair
* [AIRFLOW-3888] HA for metastore connection
Flake8 repair
* [AIRFLOW-3888] HA for metastore connection
Code behavior improvements
* [AIRFLOW-3888] HA for metastore connection
Add test
* [AIRFLOW-3888] HA for metastore connection
test improvement
* [AIRFLOW-3888] HA for metastore connection
Add test
[AIRFLOW-3888] HA for metastore connection
test improvement
* [AIRFLOW-3888] HA for metastore connection
Add test
[AIRFLOW-3888] HA for metastore connection
test improvement
[AIRFLOW-3888] HA for metastore connection
test improvement
* [AIRFLOW-3888] HA for metastore connection
Improving the typo in the variable name
* [AIRFLOW-3888] HA for metastore connection
Mock return_value edit
* [AIRFLOW-3888] HA for metastore connection
Flake8 repair
* [AIRFLOW-3888] HA for metastore connection
Test repair
* [AIRFLOW-3888] HA for metastore connection
Flake8 repair
[AIRFLOW-3888] HA for metastore connection
Test repair1 parent f153bf5 commit 355bd56
2 files changed
+33
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
471 | 472 | | |
472 | 473 | | |
473 | 474 | | |
474 | | - | |
| 475 | + | |
475 | 476 | | |
476 | 477 | | |
477 | 478 | | |
| |||
492 | 493 | | |
493 | 494 | | |
494 | 495 | | |
495 | | - | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
496 | 502 | | |
| 503 | + | |
497 | 504 | | |
498 | 505 | | |
499 | 506 | | |
500 | 507 | | |
501 | | - | |
| 508 | + | |
| 509 | + | |
502 | 510 | | |
503 | 511 | | |
504 | 512 | | |
| |||
514 | 522 | | |
515 | 523 | | |
516 | 524 | | |
517 | | - | |
| 525 | + | |
518 | 526 | | |
519 | | - | |
| 527 | + | |
520 | 528 | | |
521 | 529 | | |
522 | 530 | | |
523 | 531 | | |
524 | 532 | | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
525 | 545 | | |
526 | 546 | | |
527 | 547 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| |||
283 | 284 | | |
284 | 285 | | |
285 | 286 | | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
286 | 294 | | |
287 | 295 | | |
288 | 296 | | |
| |||
0 commit comments