You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by bo...@apache.org on 2017/02/10 13:53:33 UTC

[1/2] incubator-airflow git commit: Bump to 1.8.0rc3

Repository: incubator-airflow
Updated Branches:
  refs/heads/v1-8-stable 4faf9c7b1 -> e0ec5a303


Bump to 1.8.0rc3


Project: http://git-wip-us.apache.org/repos/asf/incubator-airflow/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-airflow/commit/18708989
Tree: http://git-wip-us.apache.org/repos/asf/incubator-airflow/tree/18708989
Diff: http://git-wip-us.apache.org/repos/asf/incubator-airflow/diff/18708989

Branch: refs/heads/v1-8-stable
Commit: 1870898925fa63a588c4ba4f1ffe345488d23814
Parents: 4faf9c7
Author: Bolke de Bruin <bo...@xs4all.nl>
Authored: Fri Feb 10 14:47:23 2017 +0100
Committer: Bolke de Bruin <bo...@xs4all.nl>
Committed: Fri Feb 10 14:47:23 2017 +0100

----------------------------------------------------------------------
 airflow/version.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/18708989/airflow/version.py
----------------------------------------------------------------------
diff --git a/airflow/version.py b/airflow/version.py
index 560cdf4..376f182 100644
--- a/airflow/version.py
+++ b/airflow/version.py
@@ -13,4 +13,4 @@
 # limitations under the License.
 #
 
-version = '1.8.0rc2+apache.incubating'
+version = '1.8.0rc3+apache.incubating'


[2/2] incubator-airflow git commit: Add known issue of 'num_runs'

Posted by bo...@apache.org.
Add known issue of 'num_runs'


Project: http://git-wip-us.apache.org/repos/asf/incubator-airflow/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-airflow/commit/e0ec5a30
Tree: http://git-wip-us.apache.org/repos/asf/incubator-airflow/tree/e0ec5a30
Diff: http://git-wip-us.apache.org/repos/asf/incubator-airflow/diff/e0ec5a30

Branch: refs/heads/v1-8-stable
Commit: e0ec5a30383b2318dfdeb4c472ee289939888b14
Parents: 1870898
Author: Bolke de Bruin <bo...@xs4all.nl>
Authored: Fri Feb 10 14:53:02 2017 +0100
Committer: Bolke de Bruin <bo...@xs4all.nl>
Committed: Fri Feb 10 14:53:02 2017 +0100

----------------------------------------------------------------------
 UPDATING.md | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/e0ec5a30/UPDATING.md
----------------------------------------------------------------------
diff --git a/UPDATING.md b/UPDATING.md
index b56aca8..b0ab212 100644
--- a/UPDATING.md
+++ b/UPDATING.md
@@ -43,7 +43,7 @@ loops. This is now time bound and defaults to `-1`, which means run continuously
 #### num_runs
 Previously `num_runs` was used to let the scheduler terminate after a certain amount of loops. Now num_runs specifies 
 the number of times to try to schedule each DAG file within `run_duration` time. Defaults to `-1`, which means try
-indefinitely.
+indefinitely. This is only available on the command line.
 
 #### min_file_process_interval
 After how much time should an updated DAG be picked up from the filesystem.
@@ -107,6 +107,21 @@ supported and will be removed entirely in Airflow 2.0
   Previously, `Operator.__init__()` accepted any arguments (either positional `*args` or keyword `**kwargs`) without 
   complaint. Now, invalid arguments will be rejected. (https://github.com/apache/incubator-airflow/pull/1285)
 
+### Known Issues
+There is a report that the default of "-1" for num_runs creates an issue where errors are reported while parsing tasks.
+It was not confirmed, but a workaround was found by changing the default back to `None`.
+
+To do this edit `cli.py`, find the following:
+
+```
+        'num_runs': Arg(
+            ("-n", "--num_runs"),
+            default=-1, type=int,
+            help="Set the number of runs to execute before exiting"),
+```
+
+and change `default=-1` to `default=None`. Please report on the mailing list if you have this issue.
+
 ## Airflow 1.7.1.2
 
 ### Changes to Configuration