[
https://issues.apache.org/jira/browse/AIRFLOW-3118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Brylie Christopher Oxley updated AIRFLOW-3118:
----------------------------------------------
Description:
When trying out Airflow, on localhost, none of the DAG runs are getting to the
'success' state. They are getting stuck in 'running', or I manually label them
as failed:
!image-2018-09-26-12-39-03-094.png!
h2. Steps to reproduce
# create new conda environment
**
{code:java}
conda create -n airflow{code}
**
{code:java}
source activate airflow{code}
# install airflow
**
{code:java}
pip install apache-airflow{code}
# initialize Airflow db
**
{code:java}
airflow initdb{code}
# disable default paused setting in airflow.cfg
##
{code:java}
dags_are_paused_at_creation = False{code}
# {color:#6a8759}run airflow and airflow scheduler (in separate
terminal){color}
** {color:#6a8759}airflow scheduler{color}
** {color:#6a8759}`airflow server`{color}
# {color:#6a8759}unpause `exam`ple_bash_operator`{color}
** {color:#6a8759}`airflow unpause example_bash_operator`{color}
# {color:#6a8759}log in to Airflow UI{color}
# {color:#6a8759}turn on `example_bash_operator`{color}
# {color:#6a8759}click "Trigger DAG" in `example_bash_operator` row{color}
h2. {color:#6a8759}Observed result{color}
{color:#6a8759}The `example_bash_operator` never leaves the "running"
state.{color}
h2. {color:#6a8759}Expected result{color}
{color:#6a8759}The `example_bash_operator` would quickly enter the "success"
state{color}
was:
When trying out Airflow, on localhost, none of the DAG runs are getting to the
'success' state. They are getting stuck in 'running', or I manually label them
as failed:
!image-2018-09-26-12-39-03-094.png!
h2. Steps to reproduce
# create new conda environment
** `conda create -n airflow`
** `source activate airflow`
# install airflow
** `pip install apache-airflow`
# initialize Airflow db
** `airflow initdb`
# disable default paused setting in airflow.cfg
## `dags_are_paused_at_creation = {color:#6a8759}False`{color}
# {color:#6a8759}run airflow and airflow scheduler (in separate
terminal){color}
** {color:#6a8759}`airflow scheduler`{color}
** {color:#6a8759}`airflow server`{color}
# {color:#6a8759}unpause `exam`ple_bash_operator`{color}
** {color:#6a8759}`airflow unpause example_bash_operator`{color}
# {color:#6a8759}log in to Airflow UI{color}
# {color:#6a8759}turn on `example_bash_operator`{color}
# {color:#6a8759}click "Trigger DAG" in `example_bash_operator` row{color}
h2. {color:#6a8759}Observed result{color}
{color:#6a8759}The `example_bash_operator` never leaves the "running"
state.{color}
h2. {color:#6a8759}Expected result{color}
{color:#6a8759}The `example_bash_operator` would quickly enter the "success"
state{color}
> DAGs not successful on new installation
> ---------------------------------------
>
> Key: AIRFLOW-3118
> URL: https://issues.apache.org/jira/browse/AIRFLOW-3118
> Project: Apache Airflow
> Issue Type: Bug
> Components: DAG
> Affects Versions: 1.10.0
> Environment: Ubuntu 18.04
> Python 3.6
> Reporter: Brylie Christopher Oxley
> Priority: Blocker
> Attachments: image-2018-09-26-12-39-03-094.png
>
>
> When trying out Airflow, on localhost, none of the DAG runs are getting to
> the 'success' state. They are getting stuck in 'running', or I manually label
> them as failed:
> !image-2018-09-26-12-39-03-094.png!
> h2. Steps to reproduce
> # create new conda environment
> **
> {code:java}
> conda create -n airflow{code}
> **
> {code:java}
> source activate airflow{code}
> # install airflow
> **
> {code:java}
> pip install apache-airflow{code}
> # initialize Airflow db
> **
> {code:java}
> airflow initdb{code}
> # disable default paused setting in airflow.cfg
> ##
> {code:java}
> dags_are_paused_at_creation = False{code}
> # {color:#6a8759}run airflow and airflow scheduler (in separate
> terminal){color}
> ** {color:#6a8759}airflow scheduler{color}
> ** {color:#6a8759}`airflow server`{color}
> # {color:#6a8759}unpause `exam`ple_bash_operator`{color}
> ** {color:#6a8759}`airflow unpause example_bash_operator`{color}
> # {color:#6a8759}log in to Airflow UI{color}
> # {color:#6a8759}turn on `example_bash_operator`{color}
> # {color:#6a8759}click "Trigger DAG" in `example_bash_operator` row{color}
> h2. {color:#6a8759}Observed result{color}
> {color:#6a8759}The `example_bash_operator` never leaves the "running"
> state.{color}
> h2. {color:#6a8759}Expected result{color}
> {color:#6a8759}The `example_bash_operator` would quickly enter the "success"
> state{color}
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)