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

5607 Коммитов

Автор SHA1 Сообщение Дата
Benji Visser 44df8a1d47 [AIRFLOW-XXX] Remove quotes from domains in Google Oauth (#4226)
Related SO: https://stackoverflow.com/a/52528091/10638329
2018-11-26 10:12:10 +01:00
Victor Noël 36f3bfb061 [AIRFLOW-3378] KubernetesPodOperator does not delete on timeout failure (#4218)
Signed-off-by: Victor Noel <victor.noel@brennus-analytics.com>
2018-11-26 10:02:08 +01:00
pengc 3371ed82db [AIRFLOW-2642] fix wrong value git-sync initcontainer env GIT_SYNC_ROOT (#3519) 2018-11-26 10:00:31 +01:00
Victor Villas 930e2ff7ee [AIRFLOW-3365][AIRFLOW-3366] Allow celery_broker_transport_options to be set with environment variables (#4211)
* [AIRFLOW-3365] Add visibility timeout by key

* [AIRFLOW-3366] Make getsection scan env variables
2018-11-25 23:03:04 +01:00
Paweł Graczyk 35da9e6b0f [AIRFLOW-3250] Fix for Redis Hook for not authorised connection calls (#4090)
Password stay None value and not None (str) in case there is no password set through webadmin interfaces.
This is fix for connections for Redis that not expect autorisation from clients.
2018-11-25 23:01:09 +01:00
Shintaro Murakami 07ab945f85 [AIRFLOW-1561] Fix scheduler to pick up example DAGs without other DAGs (#2635) 2018-11-25 22:48:11 +01:00
Kaxil Naik c051779531 [AIRFLOW-1196][AIRFLOW-2399] Add templated field in TriggerDagRunOperator (#4228)
* [AIRFLOW-1196][AIRFLOW-2399] Make trigger_dag_id a templated field for TriggerDagRunOperator

* Update dagrun_operator.py
2018-11-25 22:44:07 +01:00
Jan Hicken 9f7f5e4a1e [AIRFLOW-2715] Use region setting when launching Dataflow templates (#4139)
To launch an instance of a Dataflow template in the configured region,
the API service.projects().locations().teplates() instead of
service.projects().templates() has to be used. Otherwise, all jobs will
always be started in us-central1.

In case there is no region configured, the default region `us-central1`
will get picked up.

To make it even worse, the polling for the job status already honors the
region parameter and will search for the job in the wrong region in the
current implementation. Because the job's status is not found, the
corresponding Airflow task will hang.
2018-11-25 15:10:32 +01:00
rmn36 5955db1c76 [AIRFLOW-3336] Add new TriggerRule for 0 upstream failures (#4182)
Add new TriggerRule that triggers only if all upstream do not fail (success or skipped tasks are allowed)
2018-11-23 18:41:04 +00:00
Andy Hadjigeorgiou 77da1cc989 [AIRFLOW-1739] Resolve TestDbApiHook naming ambiguity (#2709) 2018-11-23 12:21:41 +05:30
Marcin Szymański 7f0b4a77d7 [AIRFLOW-3348] update run statistics on dag refresh (#4197)
* [AIRFLOW-3348] update run statistics on dag refresh
2018-11-22 14:34:46 -08:00
Jarek Potiuk 0f545d74b8 [AIRFLOW-3263] Ignore exception when 'run' kills already killed job (#4108)
Sometimes when you run tasks from command line you get exit code = 1 due
to race condition (job runner tries to get process group from the
process that has already been terminated in the meantime)
2018-11-22 12:22:35 +00:00
Ryan Yuan be8e9c2b8c [AIRFLOW-3382] Fix incorrect docstring in DatastoreHook (#4222)
Correct docstring in DatastoreHook
2018-11-22 11:58:32 +00:00
Brandon Kvarda 6dee66f466 [AIRFLOW-3213] Create ADLS to GCS operator (#4134) 2018-11-21 23:18:40 +00:00
Ryan Yuan 53f8cfd9f1 [AIRFLOW-3371] BigQueryHook's Ability to Create View (#4213) 2018-11-21 23:16:18 +00:00
Ash Berlin-Taylor 1b4bdc1a69 [AIRFLOW-XXX] Update changelog for 1.10.1 2018-11-21 22:11:00 +00:00
Tao Feng f89a5258bf
[AIRFLOW-XXX] Update NOTICE file per suggestion (#4220) 2018-11-21 14:08:15 -08:00
Bartosz Ługowski 69eeab4e69 [AIRFLOW-3380] Add metrics documentation (#4219) 2018-11-21 09:44:43 -08:00
BasPH ad2c968fc8 [AIRFLOW-3375] Support returning multiple tasks with BranchPythonOperator (#4215) 2018-11-21 15:59:19 +01:00
Gabriel Nicolas Avellaneda e56e625152 [AIRFLOW-XXX] Better instructions for airflow flower (#4214)
* Better instructions for airflow flower

It is not clear in the documentation that you need to have flower installed to successful run airflow flower. If you don't have flower installed, running airflow flower will show the following error which is not of much help:

airflow flower                                                                                       
[2018-11-20 17:01:14,836] {__init__.py:51} INFO - Using executor SequentialExecutor                                                      
Traceback (most recent call last):                                                                                                       
  File "/mnt/secondary/workspace/f4/typo-backend/pipelines/model-pipeline/airflow/bin/airflow", line 32, in <module>                     
    args.func(args)                                                                                                                      
  File "/mnt/secondary/workspace/f4/typo-backend/pipelines/model-pipeline/airflow/lib/python3.6/site-packages/airflow/utils/cli.py", line
 74, in wrapper                                                                                                                          
    return f(*args, **kwargs)                                                                                                            
  File "/mnt/secondary/workspace/f4/typo-backend/pipelines/model-pipeline/airflow/lib/python3.6/site-packages/airflow/bin/cli.py", line 1
221, in flower                                                                                                                           
    broka, address, port, api, flower_conf, url_prefix])                                                                                 
  File "/mnt/secondary/workspace/f4/typo-backend/pipelines/model-pipeline/airflow/lib/python3.6/os.py", line 559, in execvp              
    _execvpe(file, args)                                                                                                                 
  File "/mnt/secondary/workspace/f4/typo-backend/pipelines/model-pipeline/airflow/lib/python3.6/os.py", line 604, in _execvpe            
    raise last_exc.with_traceback(tb)                                                                                                    
  File "/mnt/secondary/workspace/f4/typo-backend/pipelines/model-pipeline/airflow/lib/python3.6/os.py", line 594, in _execvpe            
    exec_func(fullname, *argrest)                                                                                                        FileNotFoundError: [Errno 2] No such file or directory

* Update use-celery.rst
2018-11-20 15:13:02 -08:00
John Cheng 5c7e4e4e9c [AIRFLOW-3308] Fix plugins import (#4153)
Revert #3906 partially.
2018-11-20 12:01:16 +01:00
johnhofman e74ec344f4 [AIRFLOW-2966] Catch ApiException in the Kubernetes Executor (#4209)
Creating a pod that exceeds a namespace's resource quota throws an
ApiException. This change catches the exception and the task is
re-queued inside the Executor instead of killing the scheduler.
2018-11-20 11:13:53 +01:00
Bob Lee d4e3d7550b [AIRFLOW-3359] Add option to pass customer encryption keys to Dataproc (#4200) 2018-11-20 09:59:39 +00:00
Nicholas Huang 024a2f296e AIRFLOW-XXX Fix copy&paste mistake (#4212)
In emr_create_job_flow_operator.py the :type clearly mismatches with
the :param name, suggesting a copy&paste mistake.
2018-11-20 10:15:32 +01:00
Ash Berlin-Taylor 55853c3c23 [AIRFLOW-XXX] Don't publish md5 sigs as part of release (#4210)
Apache recommend against publishing MD5 files now as they are relatively
easy to collide and shouldn't be trusted anymore
2018-11-19 10:26:18 -08:00
Dr Martin Black 94d19707d7 [AIRFLOW-3361] Log the task_id in the PendingDeprecationWarning from BaseOperator (#4030)
Log the task_id in the PendingDeprecationWarning when passing invalid arguments.
2018-11-18 21:12:05 +00:00
Fokko Driesprong d0b21b10a5 Revert "[AIRFLOW-2966] Catch ApiException in the Kubernetes Executor (#3960)"
This reverts commit 03de9ee155.
2018-11-18 18:51:39 +01:00
Sergio Hg db973e9886 [AIRFLOW-1252] API accept JSON when invoking a trigger dag (#2334) 2018-11-18 18:34:19 +01:00
johnhofman 03de9ee155 [AIRFLOW-2966] Catch ApiException in the Kubernetes Executor (#3960)
Creating a pod that exceeds a namespace's resource quota throws an
ApiException. This change catches the exception and the task is
re-queued inside the Executor instead of killing the scheduler.
2018-11-18 18:13:54 +01:00
Tao Feng abd6c1b371
[AIRFLOW-XXX] Update readme for lyft (#4208) 2018-11-17 21:46:19 -08:00
BasPH fa69f22c78 [AIRFLOW-XXX] Remove spots in all Airflow logos (#4206) 2018-11-17 18:51:02 +00:00
Ryan Yuan 7c82ecb0df [AIRFLOW-3332] Add method to allow inserting rows into BQ table (#4179) 2018-11-17 11:52:03 +00:00
aoen 3107bcbb64 [AIRFLOW-3233] Fix deletion of DAGs in the UI (#4069) 2018-11-17 11:35:36 +00:00
Ash Berlin-Taylor 9e13fb50bb
Revert "[AIRFLOW-3353] Upgrade redis client (#4203)" (#4205)
This reverts commit ae629872c5.
2018-11-17 11:30:24 +00:00
Joshua Carp ae629872c5 [AIRFLOW-3353] Upgrade redis client (#4203) 2018-11-16 23:38:39 -08:00
Sid Anand cce2c46f51
[AIRFLOW-XXX] Add Etsy to companies list (#4204) 2018-11-16 23:30:54 -08:00
Kaxil Naik 4fac6b9b1d [AIRFLOW-XXX] Fix incorrect URL for Task Tries and Task Duration (#4202) 2018-11-16 21:12:19 -08:00
Joshua Carp 6b68f08edd [AIRFLOW-3346] Add hook and operator for GCP transfer service (#4189) 2018-11-16 23:54:50 +00:00
phanindhra 85abd44e24 [AIRFLOW-3352] Fix expose_config not honoured on RBAC UI (#4194) 2018-11-16 23:53:09 +00:00
Kengo Seki 165643b609 [AIRFLOW-3355] Fix BigQueryCursor.execute to work with Python3 (#4198)
BigQueryCursor.execute uses dict.iteritems internally,
so it fails with Python3 if binding parameters are
provided. This PR fixes this problem.
2018-11-16 22:31:24 +00:00
Victor Noël 2b707aba3c [AIRFLOW-3251] KubernetesPodOperator now uses 'image_pull_secrets' argument when creating Pods (#4188) 2018-11-16 13:20:42 +00:00
phanindhra 7d23dd83a2 [AIRFLOW-3266] Add AWS Athena Hook and Operator (#4111)
Provides AWS Athena hook and operator to submit Athena(presto) queries on AWS.

Authored-by: Phanindhra <phani8996@gmail.com>
2018-11-16 13:08:37 +00:00
Iuliia Volkova c0c56ea826 [AIRFLOW-251] Add option SQL_ALCHEMY_SCHEMA parameter to specify schema for metadata (#4199) 2018-11-16 13:04:27 +00:00
ron819 8668ef869d [AIRFLOW-3350] Explain how to use Bitshift Composition with lists (#4191) 2018-11-15 20:33:47 +00:00
Szymon Przedwojski 0f7eca2b60 [AIRFLOW-3345] Add Google Cloud Storage (GCS) operators for ACL (#4192)
Add 2 operators for adding ACL entries to GCS buckets and objects:
- GoogleCloudStorageBucketCreateAclEntryOperator
- GoogleCloudStorageObjectCreateAclEntryOperator
2018-11-15 20:27:37 +00:00
Iuliia Volkova 8c8e41f4e4 [AIRFLOW-3353] Pin redis verison (#4195) 2018-11-15 17:36:11 +00:00
smithakoduri d5035c1ee9 [AIRFLOW-3271] Fix issue with persistence of RBAC Permissions modified via UI (#4118) 2018-11-15 01:45:24 +00:00
John Cheng be6d56f7a9 [AIRFLOW-3309] Add MongoDB connection (#4154) 2018-11-14 22:16:08 +00:00
Ash Berlin-Taylor 7d6e8cd4e6
[AIRFLOW-3343] Update DockerOperator for Docker-py 3.0.0 API changes (#4187)
The API of `wait()` changed to return a dict, not just a number so this
Operator wasn't actually working, but the tests were passing because the
return was mocked in-correctly.

I also removed `shm_size` from kwargs passed to BaseOperator to avoid
the deprecation warning about unknown args.
2018-11-14 22:06:03 +00:00
Ash Berlin-Taylor ef633e6f2a [AIRFLOW-XXX] Fix flake8 failure from #4184 2018-11-14 21:44:17 +00:00