Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 50F23200C4D for ; Wed, 5 Apr 2017 11:53:47 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 4F86C160BA3; Wed, 5 Apr 2017 09:53:47 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 95F1B160B91 for ; Wed, 5 Apr 2017 11:53:46 +0200 (CEST) Received: (qmail 75585 invoked by uid 500); 5 Apr 2017 09:53:45 -0000 Mailing-List: contact commits-help@airflow.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@airflow.incubator.apache.org Delivered-To: mailing list commits@airflow.incubator.apache.org Received: (qmail 75576 invoked by uid 99); 5 Apr 2017 09:53:45 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Apr 2017 09:53:45 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 511D91813C0 for ; Wed, 5 Apr 2017 09:53:45 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.001 X-Spam-Level: X-Spam-Status: No, score=-100.001 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id FjL6x0Gfy2hM for ; Wed, 5 Apr 2017 09:53:43 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id AF13A5FB62 for ; Wed, 5 Apr 2017 09:53:42 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id ECF33E08BB for ; Wed, 5 Apr 2017 09:53:41 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 950BF2401B for ; Wed, 5 Apr 2017 09:53:41 +0000 (UTC) Date: Wed, 5 Apr 2017 09:53:41 +0000 (UTC) From: "Mateusz Boryn (JIRA)" To: commits@airflow.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (AIRFLOW-1071) 'OverflowError: date value out of range' when setting 'start_date' to datetime.max MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 05 Apr 2017 09:53:47 -0000 Mateusz Boryn created AIRFLOW-1071: -------------------------------------- Summary: 'OverflowError: date value out of range' when setting 'start_date' to datetime.max Key: AIRFLOW-1071 URL: https://issues.apache.org/jira/browse/AIRFLOW-1071 Project: Apache Airflow Issue Type: Bug Affects Versions: Airflow 1.8 Reporter: Mateusz Boryn In DAG there is start_date set to datetime.max. With this setting execution crashes living zombie process. In scheduler log there is a message: {code} Traceback (most recent call last): File "/usr/lib64/python2.7/multiprocessing/process.py", line 258, in _bootstrap self.run() File "/usr/lib64/python2.7/multiprocessing/process.py", line 114, in run self._target(*self._args, **self._kwargs) File "/usr/local/lib/python2.7/site-packages/airflow/jobs.py", line 346, in helper pickle_dags) File "/usr/local/lib/python2.7/site-packages/airflow/utils/db.py", line 53, in wrapper result = func(*args, **kwargs) File "/usr/local/lib/python2.7/site-packages/airflow/jobs.py", line 1581, in process_file self._process_dags(dagbag, dags, ti_keys_to_schedule) File "/usr/local/lib/python2.7/site-packages/airflow/jobs.py", line 1171, in _process_dags dag_run = self.create_dag_run(dag) File "/usr/local/lib/python2.7/site-packages/airflow/utils/db.py", line 53, in wrapper result = func(*args, **kwargs) File "/usr/local/lib/python2.7/site-packages/airflow/jobs.py", line 792, in create_dag_run next_run_date = dag.normalize_schedule(min(task_start_dates)) File "/usr/local/lib/python2.7/site-packages/airflow/models.py", line 2770, in normalize_schedule following = self.following_schedule(dttm) File "/usr/local/lib/python2.7/site-packages/airflow/models.py", line 2757, in following_schedule return dttm + self._schedule_interval OverflowError: date value out of range {code} -- This message was sent by Atlassian JIRA (v6.3.15#6346)