{"action":"created","issue":{"url":"https://api.github.com/repos/airbnb/airflow/issues/1282","repository_url":"https://api.github.com/repos/airbnb/airflow","labels_url":"https://api.github.com/repos/airbnb/airflow/issues/1282/labels{/name}","comments_url":"https://api.github.com/repos/airbnb/airflow/issues/1282/comments","events_url":"https://api.github.com/repos/airbnb/airflow/issues/1282/events","html_url":"https://github.com/airbnb/airflow/issues/1282","id":145471246,"number":1282,"title":"Airflow server running, nothing appears to be working; what could I be doing wrong?","user":{"login":"apapanico","id":3802821,"avatar_url":"https://avatars.githubusercontent.com/u/3802821?v=3","gravatar_id":"","url":"https://api.github.com/users/apapanico","html_url":"https://github.com/apapanico","followers_url":"https://api.github.com/users/apapanico/followers","following_url":"https://api.github.com/users/apapanico/following{/other_user}","gists_url":"https://api.github.com/users/apapanico/gists{/gist_id}","starred_url":"https://api.github.com/users/apapanico/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apapanico/subscriptions","organizations_url":"https://api.github.com/users/apapanico/orgs","repos_url":"https://api.github.com/users/apapanico/repos","events_url":"https://api.github.com/users/apapanico/events{/privacy}","received_events_url":"https://api.github.com/users/apapanico/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-04-03T08:46:14Z","updated_at":"2016-04-03T17:11:11Z","closed_at":"2016-04-03T17:11:11Z","body":"Hi, Thanks for open sourcing this.  It looks like a really great tool.  I'm exploring it to put together a little prototype demo to show to my group how we can use it.  I've been trying to get a really rudimentary DAG running because none of the examples seemed to work.\r\n\r\nAirflow version: 1.7.0\r\nAirflow components and configuration: LocalExecutor, postgres\r\nRunning on EC2\r\n\r\nWhat I mean by \"nothing appears to be working\"?\r\n- `airflow trigger_dag` on any of the examples would create a running manual DAGrun but nothing would happen.  It would just hang and stay running.  I could run the tasks individually and they'd show up as successful but the DAGrun would still be going.\r\n- I scheduled the simple DAG below and it never ran (I tried to schedule it every 15 seconds so I wouldn't have to wait long to see it do something).  `python dags/example.py` did not raise an exception\r\n- backfilling does do something\r\n\r\nSince everything appears so simple and I think I get the basic concepts for Airflow, I just don't get how nothing is happening.  I would expect to see the simple DAG below just run and run with Airflow not thinking much of it and I would see the successes show up.  But nothing is happening.\r\n\r\nI would greatly appreciate any help to get over this hurdle.\r\n\r\n```\r\n# The DAG object; we'll need this to instantiate a DAG\r\nfrom airflow import DAG\r\n\r\n# Operators; we need this to operate!\r\nfrom airflow.operators import BashOperator\r\n\r\nfrom datetime import datetime, timedelta\r\n\r\ndefault_args = {\r\n    'owner': 'airflow',\r\n    'depends_on_past': False,\r\n    'start_date': datetime.now(),\r\n    'email': ['alex.papanicolaou@integral.com'],\r\n    'email_on_failure': True,\r\n    'email_on_retry': True,\r\n    'retries': 1,\r\n    'retry_delay': timedelta(minutes=5),\r\n    # 'queue': 'bash_queue',\r\n    # 'pool': 'backfill',\r\n    # 'priority_weight': 10,\r\n    # 'end_date': datetime(2016, 1, 1),\r\n}\r\n\r\ndag = DAG(\r\n    'hfbm', default_args=default_args, schedule_interval=timedelta(seconds=15))\r\n\r\n\r\nt1 = BashOperator(\r\n    task_id='hello',\r\n    bash_command='echo \"Hello\"',\r\n    dag=dag)\r\n\r\nt2 = BashOperator(\r\n    task_id='world',\r\n    bash_command='echo \"World\"',\r\n    retries=3,\r\n    dag=dag)\r\n\r\nt2.set_upstream(t1)\r\n```\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/airbnb/airflow/issues/comments/205011579","html_url":"https://github.com/airbnb/airflow/issues/1282#issuecomment-205011579","issue_url":"https://api.github.com/repos/airbnb/airflow/issues/1282","id":205011579,"user":{"login":"apapanico","id":3802821,"avatar_url":"https://avatars.githubusercontent.com/u/3802821?v=3","gravatar_id":"","url":"https://api.github.com/users/apapanico","html_url":"https://github.com/apapanico","followers_url":"https://api.github.com/users/apapanico/followers","following_url":"https://api.github.com/users/apapanico/following{/other_user}","gists_url":"https://api.github.com/users/apapanico/gists{/gist_id}","starred_url":"https://api.github.com/users/apapanico/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apapanico/subscriptions","organizations_url":"https://api.github.com/users/apapanico/orgs","repos_url":"https://api.github.com/users/apapanico/repos","events_url":"https://api.github.com/users/apapanico/events{/privacy}","received_events_url":"https://api.github.com/users/apapanico/received_events","type":"User","site_admin":false},"created_at":"2016-04-03T17:11:11Z","updated_at":"2016-04-03T17:11:11Z","body":"Oh geez..... I am an idiot.  I was not going `airflow scheduler`.  It's working.  Sorry about this.  Read the docs more closely, Alex.  I thought the whole operation was done through `airflow webserver`.  "}}