-
Notifications
You must be signed in to change notification settings - Fork 14.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[AIRFLOW-6359] spark_submit_hook.py status polling interval config #6909
Conversation
Same here @tooptoop4 -> pre-commit checks are helpful to catch those static-check problems before they are committed/pushed to the repo. |
travis unrelated? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure about this change. In my opinion status_poll_interval
should be configured when initialising the hook. It's rather uncommon to have service specific configuration in config.
Agree with @nuclearpinguin. While we already have hive/atlas in there, I think we should get rid of it in favour of configuring the parameters currently in conf via hook parameters. I would love to hear other opinions on that subject - maybe we should have a new JIRA issue ("get rid of non-core extra conf entries) or something like that? |
do u mean in my dags i should pass the argument to sparkoperator? (then need to do pr for the operator to use it) |
Codecov Report
@@ Coverage Diff @@
## master #6909 +/- ##
==========================================
- Coverage 84.72% 84.42% -0.31%
==========================================
Files 679 680 +1
Lines 38505 38558 +53
==========================================
- Hits 32623 32551 -72
- Misses 5882 6007 +125
Continue to review full report at Codecov.
|
Yes, imho that is the way to go |
@nuclearpinguin updated to not use .cfg |
@nuclearpinguin updates made |
@nuclearpinguin can u pls merge? |
…6909) * AIRFLOW-6359 * pep checks * make travis CI refire * new section = bad * move poll_interval into the operator instead of .cfg * review comments (cherry picked from commit 83ba8e6)
…6909) * AIRFLOW-6359 * pep checks * make travis CI refire * new section = bad * move poll_interval into the operator instead of .cfg * review comments (cherry picked from commit 83ba8e6)
…6909) * AIRFLOW-6359 * pep checks * make travis CI refire * new section = bad * move poll_interval into the operator instead of .cfg * review comments (cherry picked from commit 83ba8e6)
…6909) * AIRFLOW-6359 * pep checks * make travis CI refire * new section = bad * move poll_interval into the operator instead of .cfg * review comments (cherry picked from commit 83ba8e6)
…pache#6909) * AIRFLOW-6359 * pep checks * make travis CI refire * new section = bad * move poll_interval into the operator instead of .cfg * review comments
Make sure you have checked all steps below.
Jira
Description
Tests
Commits
Documentation