Граф коммитов

5147 Коммитов

Автор SHA1 Сообщение Дата
retornam e7f65430ab [AIRFLOW-XXX] Add Collectivehealth to company list (#3671)
Add CollectiveHealth Inc. to the official list of companies in the README.md
2018-08-01 09:43:06 +02:00
Deevankshu Garg d8f927b634 [AIRFLOW-XXX] Add Gradeup to the official list of companies (#3672) 2018-08-01 09:30:34 +02:00
Dan Fowler ed972042a8 [AIRFLOW-1104] Update jobs.py so Airflow does not over schedule tasks (#3568)
This change will prevent tasks from getting scheduled and queued over
the concurrency limits set for the dag
2018-07-31 21:25:04 +01:00
Cameron Moberg 3b35d360f6 [AIRFLOW-2670] Update SSH Operator's Hook to respect timeout (#3666) 2018-07-31 21:24:34 +02:00
Marcus Rehm 9983466fd1 [AIRFLOW-2795] Oracle to Oracle Transfer Operator (#3639) 2018-07-31 21:22:40 +02:00
Fokko Driesprong 8d2f57cd10
Merge pull request #3665 from XD-DENG/patch-6
[AIRFLOW-2825] Fix S3ToHiveTransfer bug due to case
2018-07-31 21:21:38 +02:00
Leo Gallucci 3eb0454cb1 [AIRFLOW-2822] Fix HipChat Deprecation Warning
Fixes PendingDeprecationWarning on HipChatAPISendRoomNotificationOperator

Using `HipChatAPISendRoomNotificationOperator` on Airflow master branch (2.0) gives:

airflow/models.py:2390: PendingDeprecationWarning:
Invalid arguments were passed to HipChatAPISendRoomNotificationOperator.
Support for passing such arguments will be dropped in Airflow 2.0.
Invalid arguments were:
*args: ()
**kwargs: {'color': 'green'}
category=PendingDeprecationWarning
2018-07-31 09:15:00 -07:00
Andy Cooper 06584fc4b1 [AIRFLOW-2800] Remove low-hanging linting errors 2018-07-31 08:46:58 -07:00
Ash Berlin-Taylor 6fdc79980b
Merge pull request #3413 from ashb/pr-tool-git-config
[AIRFLOW-2238] Switch PR tool to push to Github
2018-07-31 11:50:55 +02:00
XD-DENG c7e54461c6 [AIRFLOW-2825]Fix S3ToHiveTransfer bug due to case
Because upper/lower case was not considered
in the file extension check, S3ToHiveTransfer
operator may mistakenly think a GZIP file with
uppercase ext ".GZ" is not a GZIP file and
raise exception.
2018-07-31 10:30:36 +08:00
Ash Berlin-Taylor d3793c0a50 [AIRFLOW-2238] Update PR tool to push directly to Github 2018-07-30 20:31:39 +02:00
Ash Berlin-Taylor 4484286e49 [AIRFLOW-2238] Flake8 fixes on dev/airflow-pr 2018-07-30 20:31:39 +02:00
XD-DENG dfa7b26dda [AIRFLOW-2809] Fix security issue regarding Flask SECRET_KEY
It's recommended by Falsk community to use random
SECRET_KEY for security reason.

However, in Airflow there is a default value for
secret_key and most users will ignore to change
it.

This may cause security concern.

Closes #3651 from XD-DENG/patch-2
2018-07-29 11:57:46 +02:00
Jacob Hayes fcd51f362c [AIRFLOW-2716] Replace async and await py3.7 keywords
Closes #3578 from JacobHayes/py37-keywords
2018-07-29 11:56:41 +02:00
XD-DENG 9b7525f251 [AIRFLOW-2814] Fix inconsistent default config
value of min_file_process_interval in config
template is 0
However it's supposed to be 180 according to
airflow/jobs.py line 592

Closes #3659 from XD-DENG/patch-3
2018-07-28 20:48:17 +01:00
Kaxil Naik 47fa657608 closes apache/incubator-airflow#3654 *Already merged* 2018-07-28 20:46:03 +01:00
Vojtech Vondra 449a7fd1b7 [AIRFLOW-2807] Support STS Assume Role External ID
Currently the role assumption method works only if
the granting account
does not specify an External ID. The external ID
is used to solved the
confused deputy problem. When using the AWS hook
to export data to
multiple customers, it's good security practice to
use the external ID.

There is no backwards compatibility break, the ID
will be `None` in
existing cases. Moto doesn't provide any
convenient way to verify the
value was passed in the credential response in
tests, so existing
test cases are kept.

Documentation: https://docs.aws.amazon.com/IAM/lat
est/UserGuide/id_roles_create_for-
user_externalid.html

Closes #3647 from vvondra/support_sts_external_id
2018-07-28 17:32:09 +02:00
Bolke de Bruin a5fa1bf888 [AIRFLOW-2779] Update licenses and remove copyright headers
* ssh_hook is not a port anymore
* auth backends should never had a copyright clause
* minihivecluster isnt used
2018-07-28 14:25:05 +02:00
Bolke de Bruin af15f1150d [AIRFLOW-2816] Fix license text in docs/license.rst 2018-07-28 13:20:26 +02:00
Bolke de Bruin 4f562ba8c7 [AIRFLOW-2815] Use correct copyright period
"onwards" is not specific enough
2018-07-28 13:10:43 +02:00
Jasper Kahn 3e7e42f028 [AIRFLOW-2563] Fix PigCliHook Python 3 string/bytes use
Unit tests added for PigCliHook as well to prevent
future issues.

Closes #3594 from jakahn/master
2018-07-27 16:08:32 -07:00
Tom Chapin 096ba9ecd9 [AIRFLOW-XXX] Add Strongmind to the Readme
Closes #3655 from tomchapin/master
2018-07-27 12:39:29 -07:00
Andy Wilcox a338f32768 [AIRFLOW-2810] Fix typo in Xcom model timestamp
Fix typo in Xcom model timestamp field

No new testing - the field is already represented
in migrations

Closes #3652 from andywilco/fix_datetime_typo
2018-07-27 13:03:36 -04:00
Leo Gallucci 233056e0dd [AIRFLOW-XXX] Document dag_dir_list_interval in cfg
Document dag_dir_list_interval in default_airflow.cfg

https://github.com/apache/incubator-airflow/blob/m
aster/UPDATING.md#dag_dir_list_interval

Closes #3645 from elgalu/patch-2
2018-07-27 11:02:43 +02:00
Verdan Mahmood 25f31c9b77 [AIRFLOW-2766][Airflow-2766] Respect shared datetime across tabs
Closes #3615 from verdan/AIRFLOW-2766-shared-
datetime
2018-07-26 20:55:04 +02:00
Abdul Nimeri 68535d1886 [AIRFLOW-2776] Compress tree view JSON
The tree view generates JSON that can be massive
for bigger DAGs,
up to 10s of MBs. The JSON is currently
prettified, which both
takes up more CPU time during serialization, and
slows down
everything else that uses it. Considering the JSON
is only
meant to be used programmatically, this is an easy
win

Closes #3620 from abdul-stripe/smaller-tree-view-
json
2018-07-26 20:53:57 +02:00
Abdul Nimeri 4cd72b91bd [AIRFLOW-2777] speed up dag.sub_dag(...)
previous version created the subdag by copying
over all the tasks, and
then filtering them down. it's a lot faster if we
only copy over the
tasks we need

Closes #3621 from abdul-stripe/faster-subdag
2018-07-26 20:53:11 +02:00
Jeffrey Scott Keone Payne 8c441a0d88 [AIRFLOW-2765] Set default mime_charset to UTF-8
Closes #3627 from jeffkpayne/AIRFLOW-2765
2018-07-26 20:52:21 +02:00
Verdan Mahmood 604ea1dccc [AIRFLOW-2783][Airflow 2783] Implement eslint for JS code check
Closes #3641 from verdan/AIRFLOW-2783-eslint
2018-07-26 20:45:14 +02:00
Taylor D. Edmiston 10b6ca5e48 [AIRFLOW-2801] Skip test_mark_success_no_kill in PostgreSQL on CI
See mailing list thread "Flaky test case:
test_mark_success_no_kill".

Closes #3642 from
tedmiston/test_mark_success_no_kill-postgresql
2018-07-26 11:02:47 +02:00
arihantsurana c06e5fa1ec [AIRFLOW-2791] Add Hipages to list of current airflow users
Closes #3632 from arihantsurana/AIRFLOW-2791
2018-07-26 10:50:39 +02:00
Bagus Nurtomo 8715bc45b4 [AIRFLOW-XXX] Add Vidio and BBM to README
Closes #3631 from BagusThanatos/add-kmk-bbm
2018-07-25 19:13:50 -07:00
Xiaodong 53e021cde3 [AIRFLOW-2798] Remove needless code from models.py
If `email_on_failure` or `email_on_failure` set to
TRUE and email available, there will be email sent
out on event of retry or failure.

In the implementation, there is a argument
`is_retry` passed to method `self.email_alert`.
However, inside this method, this argument is not
used at all. I believer the initial author of this
method was planning to differentiate the email to
be sent out, but for whatever reason this was not
implemented.

Given in the email to be sent out, there will be a
line "Try {try_number} out of {max_tries}<br>", it
would be fine not to differentiate **retry email**
and **failure email**.

Closes #3640 from XD-DENG/patch-1
2018-07-25 19:09:41 -07:00
Verdan Mahmood f3b6b60c48 [AIRFLOW-2782][Airflow 2782] Removes unused hard-coded dagreD3
Closes #3635 from verdan/AIRFLOW-2782-dagred3-fix
2018-07-25 14:15:30 +02:00
Juhwi Lee 49fd23a3ee [AIRFLOW-2792] change parameter in post requests.
Closes #3633 from happyjulie/AIRFLOW-2792
2018-07-24 11:24:31 +02:00
Verdan Mahmood c3f4af5998 [AIRFLOW-2782][Airflow 2782] Upgrades the Dagre D3 version
Closes #3634 from verdan/AIRFLOW-2782-upgrade-
dagre-d3
2018-07-24 11:22:53 +02:00
niels 53933c0a49 [AIRFLOW-1762] Implement key_file support in ssh_hook create_tunnel
Switched to using sshtunnel package instead of
popen approach

Closes #3473 from NielsZeilemaker/ssh_hook
2018-07-24 10:44:00 +02:00
Fokko Driesprong b889522c96 Merge pull request #2480 from martinzlocha/emrAddStepsTemplate 2018-07-24 09:33:32 +02:00
Tom Kunc 4cfebd8aed [AIRFLOW-2712] Pass annotations to KubernetesExecutorConfig
Closes #3576 from tfpk/master
2018-07-24 01:12:09 +01:00
Verdan Mahmood 4be1ffeecd [AIRFLOW-2615] Limit DAGs parsing to once only
Closes #3614 from verdan/double-dag-parsing
2018-07-24 01:07:15 +01:00
Andy Cooper 68854e99b5 [AIRFLOW-2785] Add context manager entry points to mongoHook
Closes #3628 from andscoop/Add-connection-close-
to-mongo-hook
2018-07-24 01:01:38 +01:00
Taylor D. Edmiston d704dc3572 [AIRFLOW-2734] Resolve setuptools normalized_version warning
Closes #3588 from tedmiston/normalized-version
2018-07-23 09:41:34 -07:00
Kaxil Naik 1656209cbe [AIRFLOW-2773] Validates Dataflow Job Name
Closes #3623 from kaxil/AIRFLOW-2773
2018-07-23 13:09:14 +02:00
Jeffrey Scott Keone Payne 03ac60dd67 [AIRFLOW-2753] Add dataproc_job_id instance var holding actual DP jobId
Closes #3622 from jeffkpayne/master
2018-07-22 21:54:21 +01:00
Felix c1217c349f [AIRFLOW-XXX] Fix typos in docs
Closes #3625 from feluelle/master
2018-07-22 14:57:03 +02:00
Ash Berlin-Taylor 51fed8b1f1 Merge pull request #3624 from KevYuen/AIRFLOW-2778-bad-dagbag-import 2018-07-22 13:14:48 +01:00
Verdan Mahmood 5a7f0b2e53 [AIRFLOW-2691] Manage JS dependencies via npm
Closes #3572 from verdan/AIRFLOW-2691-npm-webpack
2018-07-22 09:24:11 +02:00
Bolke de Bruin 27fde3840c [AIRFLOW-XXX] Include license folder for binary 2018-07-21 19:41:43 +02:00
Kevin Yuen ba5b67b6c9 [AIRFLOW-2778] Explicit import for dag_processing.list_py_file_paths
The use of utils.dag_processing.list_py_file_paths causes a failure if
utils.dag_processing is not already loaded indirectly.
2018-07-21 12:51:53 -04:00
George Leslie-Waksman 7f2bc0ddf7 [AIRFLOW-2731] Raise psutil restriction to <6.0.0
Closes #3585 from gwax/upgrade_psutil
2018-07-21 13:42:29 +01:00