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

4853 Коммитов

Автор SHA1 Сообщение Дата
Alejandro Fernandez 250faad0f5 [AIRFLOW-2442][AIRFLOW-2] Airflow run command leaves database connections open
Closes #3336 from afernandez/afernandez_db
2018-05-10 15:29:33 -07:00
Kevin McHale 961aa05812 [AIRFLOW-2016] assign template_fields for Dataproc Workflow Template
sub-classes, not base class

Closes #3346 from mchalek/mchalek-fix-inline-
workflow-template-operator
2018-05-10 22:33:19 +01:00
lucianoviola 7ca45b252b add BelugaDB to Airflow users
Closes #3339 from lucianoviola/add-belugadb-to-
company-list
2018-05-10 20:05:04 +02:00
Kengo Seki 686e805e67 [AIRFLOW-2446] Add S3ToRedshiftTransfer into the "Integration" doc
This PR adds an undocumented AWS-related operator
into the "Integration" section and fixes some
obsolete description.

Closes #3340 from sekikn/AIRFLOW-2446
2018-05-10 20:02:49 +02:00
Kengo Seki 0ae21cf6e5 [AIRFLOW-2449] Fix operators.py to run all test cases
MySqlTest and PostgresTest in
tests/operators/operators.py
have some unexecuted tests due to wrong naming
convention.
This PR fixes it.

Closes #3344 from sekikn/AIRFLOW-2449
2018-05-10 19:40:52 +02:00
Daniel Imberman 5de22d7fa0 [AIRFLOW-2424] Add dagrun status endpoint and increased k8s test coverage
[AIRFLOW-2424] Add dagrun status endpoint and
increase k8s test coverage

[AIRFLOW-2424] Added minikube fixes by @kimoonkim

[AIRFLOW-2424] modify endpoint to remove 'status'

Closes #3320 from dimberman/add-kubernetes-test
2018-05-10 19:32:17 +02:00
Kengo Seki 74027c9a6b [AIRFLOW-2441] Fix bugs in HiveCliHook.load_df
This PR fixes HiveCliHook.load_df to:

1. encode delimiter with the specified encoding
   before passing it to pandas.DataFrame.to_csv
   so as not to fail

2. flush output file by pandas.DataFrame.to_csv
   before executing LOAD DATA statement

3. remove header and row index from output file
   by pandas.DataFrame.to_csv so as to read it
   as expected via Hive

Closes #3334 from sekikn/AIRFLOW-2441
2018-05-10 10:34:58 +02:00
Fokko Driesprong f7c33afea6 [AIRFLOW-2358][AIRFLOW-201804] Make the Kubernetes example optional
If you havent installed Kubernetes the initdb
operation will fail

Closes #3315 from Fokko/AIRFLOW-2358
2018-05-10 10:33:32 +02:00
Jin Hyuk Chang 8ed30b1f0f [AIRFLOW-2436] Remove cli_logger in initdb
Closes #3330 from jinhyukchang/master
2018-05-10 10:15:27 +02:00
Tao feng f6e9f1bed0 [AIRFLOW-2444] Remove unused option(include_adhoc) in cli backfill command
Closes #3337 from feng-tao/remove-unused-flag
2018-05-10 10:13:43 +02:00
Kengo Seki ae51daf893 [AIRFLOW-2447] Fix TestHiveMetastoreHook to run all cases
TestHiveMetastoreHook has a method which name
doesn't start with test_. This PR renames it
to be executed.

Closes #3341 from sekikn/AIRFLOW-2447
2018-05-10 10:12:01 +02:00
Sergio Ballesteros e813c606fc [AIRFLOW-2445] Allow templating in kubernetes operator
Closes #3338 from ese/k8s-templating
2018-05-10 10:10:58 +02:00
r39132 06017f66ee closes apache/incubator-airflow#3325 *Need to be reopened and follow contributor guidelines* 2018-05-09 14:14:04 -07:00
Tao feng 2a55ffe0cd [AIRFLOW-2086][AIRFLOW-2393] Customize default dagrun number in tree view
Closes #3279 from feng-tao/reduce-tree-view

This introduces a new configuration variable to set the default
number of dag runs displayed in the tree view. For large DAGs, this
could cause timeouts in the webserver.
2018-05-09 08:45:17 -07:00
Jordan Zucker 2728138f12 [AIRFLOW-2437] Add PubNub to list of current airflow users
Closes #3332 from jzucker2/add-pubnub
2018-05-08 21:49:16 +02:00
James Meickle e5cdabb166 [AIRFLOW-XXX] Add Quantopian to list of Airflow users
We've been using it in production for a few months
now, and we love it! :)

Closes #3331 from Eronarn/patch-1
2018-05-08 11:15:21 -07:00
Luke Bodeen e5f2a38d6a [AIRFLOW-1978] Add WinRM windows operator and hook
Closes #3316 from cloneluke/winrm_connector2
2018-05-08 11:12:59 -07:00
Giovanni Lanzani b18b437c21 [AIRFLOW-2427] Add tests to named hive sensor
Closes #3323 from gglanzani/AIRFLOW-2427
2018-05-08 12:41:51 +02:00
Kengo Seki baf15e11a5 [AIRFLOW-2412] Fix HiveCliHook.load_file to address HIVE-10541
HiveCliHook.load_file doesn't actually execute
LOAD DATA statement via beeline bundled with
Hive under 2.0 due to HIVE-10541.
This PR provides a workaround for this problem.

Closes #3327 from sekikn/AIRFLOW-2412
2018-05-08 11:51:18 +02:00
Fokko Driesprong 088900ffb7 Revert "[AIRFLOW-2335] fix issue with jdk8 download for ci"
This reverts commit 0f8507ae35.

The JDK artifact has been fixed and the hotfix is no longer needed
2018-05-08 11:34:17 +02:00
Joy Gao 281a081728 [AIRFLOW-2431] Add the navigation bar color parameter for RBAC UI
Closes #3326 from jgao54/navbar-color
2018-05-08 09:28:14 +02:00
cclauss b9eb52cc01 [AIRFLOW-2407] Resolve Python undefined names
Closes #3307 from cclauss/AIRFLOW-2407
2018-05-07 22:02:04 +02:00
r39132 c27d8fd0b0 closes apache/incubator-airflow#2768 *Closed for inactivity.* 2018-05-07 11:44:48 -07:00
r39132 f9eda3d492 closes apache/incubator-airflow#2770 *Closed for inactivity.* 2018-05-07 11:44:45 -07:00
r39132 1610d8443e closes apache/incubator-airflow#2769 *Closed for inactivity.* 2018-05-07 11:44:42 -07:00
r39132 788625a583 closes apache/incubator-airflow#2772 *Closed for inactivity.* 2018-05-07 11:44:40 -07:00
Licht-T 2145839960 [AIRFLOW-1952] Add the navigation bar color parameter
ENH: Add the navigation bar color parameter
When operating multiple Airflow's (eg. Production,
Staging, etc.),
we cannot distinguish which Airflow is.
This feature enables us to distinguish which
Airflow you see
by the color of navigation bar.

Merge branch 'master' into add-navigation-bar-
color-parameter

Closes #2903 from Licht-T/add-navigation-bar-
color-parameter
2018-05-07 11:18:32 -07:00
r39132 fcf8435f4b closes apache/incubator-airflow#3237 *Closed for inactivity.* 2018-05-07 11:14:41 -07:00
Berislav Lopac 69da866586 [AIRFLOW-2222] Implement GoogleCloudStorageHook.rewrite
Closes #3264 from berislavlopac/AIRFLOW-2222
2018-05-07 19:23:43 +02:00
Kaxil Naik 868d392c52 [AIRFLOW-2426] Add Google Cloud Storage Hook tests
- Added mock tests for methods in
`GoogleCloudStorageHook`.

Closes #3322 from kaxil/AIRFLOW-2426
2018-05-07 18:45:52 +02:00
Fokko Driesprong c5ed7b1fbd [AIRFLOW-2418] Bump Flask-WTF
Flask-appbuilder needs at least 0.14.2

Closes #3313 from Fokko/AIRFLOW-2418
2018-05-06 11:25:10 +02:00
Sergio Ballesteros b9d3ea05b6 [AIRFLOW-2417] Wait for pod is not running to end task
Closes #3312 from ese/kubernetes-operator
2018-05-06 11:22:00 +02:00
Alan Ma c0cf73d27b [AIRFLOW-1914] Add other charset support to email utils
The built-in email utils does not support
multibyte string content, for example,
Japanese or emojis. The fix is to add
mime_charset parameter to allow for other
values such as `utf-8`.

Closes #3308 from wolfier/AIRFLOW-1914
2018-05-06 11:16:55 +02:00
Allan Jiang 29ae02a070 [AIRFLOW-XXX] Update README.md with Craig@Work
Closes #3311 from allanjsx/patch-1
2018-05-05 10:27:49 -07:00
r39132 09cdd4aa0b closes apache/incubator-airflow#2923 *Closed in favor of newer PR* 2018-05-04 16:46:49 -07:00
Fokko Driesprong 16bae5634d [AIRFLOW-1899] Fix Kubernetes tests
[AIRFLOW-1899] Add full deployment

- Made home directory configurable
- Documentation fix
- Add licenses

[AIRFLOW-1899] Tests for the Kubernetes Executor

Add an integration test for the Kubernetes
executor. Done by
spinning up different versions of kubernetes and
run a DAG
by invoking the REST API

Closes #3301 from Fokko/fix-kubernetes-executor
2018-05-04 08:58:12 +02:00
r39132 d1f7af393f closes apache/incubator-airflow#2478 *Closed for inactivity.* 2018-05-03 23:02:59 -07:00
Fokko Driesprong 97ab9e762c [AIRFLOW-1812] Update logging example
The logging has changed, therefore we should also
update the
updating.md guide

Closes #2784 from Fokko/AIRFLOW-1812-update-
logging-example
2018-05-03 22:58:44 -07:00
r39132 3a28ceb5c5 closes apache/incubator-airflow#2675 *Closed for inactivity.* 2018-05-03 22:52:39 -07:00
r39132 02a88f6f6f closes apache/incubator-airflow#2962 *Closed for inactivity.* 2018-05-03 22:51:30 -07:00
ebartkus b02820a7af [AIRFLOW-2313] Add TTL parameters for Dataproc
Three additional optional parameters to
DataprocClusterCreateOperator
which configure Cloud Dataproc Cluster Scheduled
Deletion features.

Closes #3217 from ebartkus/dataproc-ttl
2018-05-03 23:10:49 +02:00
Kevin McHale c5fa8cd411 [AIRFLOW-2411] add dataproc_jars to templated_fields
This commit makes it possible to use jinja
templates when passing
JAR file URIs to the DataProc operators that
require JAR files,
specifically the DataProc Hive, Pig, SparkSql,
Spark, Hadoop and
PySpark operators.

Closes #3305 from mchalek/template-dataproc-jars
2018-05-03 22:55:10 +02:00
Richard Thai 6b3f6cee11 [AIRFLOW-XXX] Add Reddit to Airflow users
Closes #3309 from seato/reddit_airflow
2018-05-03 21:23:09 +02:00
Kengo Seki 6f6884641f [AIRFLOW-XXX] Fix wrong table header in scheduler.rst
Closes #3306 from sekikn/table_header
2018-05-02 23:47:33 -07:00
Fokko Driesprong 2a079b953f [AIRFLOW-2409] Supply password as a parameter
Supply the password as a parameter on the cli

Closes #3304 from Fokko/supply-password
2018-05-03 08:32:51 +02:00
Fokko Driesprong 71954a52fc [AIRFLOW-2410][AIRFLOW-75] Set the timezone in the RBAC Web UI
SqlAlchemy does not know how to handle the
timestamp since it isnt
timezone aware

Closes #3303 from Fokko/AIRFLOW-2410
2018-05-02 22:49:39 +02:00
Sergio Ballesteros 12ab796b11 [AIRFLOW-2394] default cmds and arguments in kubernetes operator
Commands aand arguments to docker image in kubernetes operator

Closes #3289 from ese/k8soperator
2018-05-02 15:43:51 +02:00
r39132 96d00da5b0 [AIRFLOW-2406] Add Apache2 License Shield to Readme
Closes #3290 from
r39132/add_apache2_license_shield_to_readme
2018-05-01 23:36:59 -07:00
Matthew Bowden 9a0c4e6cae [AIRFLOW-2404] Add additional documentation for unqueued task
Closes #3286 from AetherUnbound/feature/task-not-
queued-doc
2018-05-02 08:12:49 +02:00
r39132 8c49e8d9bc closes apache/incubator-airflow#2337 *No longer a bug* 2018-05-01 22:41:32 -07:00