[ 
https://issues.apache.org/jira/browse/AIRFLOW-438?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Siddharth Anand updated AIRFLOW-438:
------------------------------------
    Assignee:     (was: Siddharth Anand)

> "airflow initdb" not working
> ----------------------------
>
>                 Key: AIRFLOW-438
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-438
>             Project: Apache Airflow
>          Issue Type: Bug
>            Reporter: Andreas Jung
>
> I am receiving this error with a fresh Airflow installation
>  bin/airflow  initdb
> [2016-08-17 15:29:23,831] {__init__.py:36} INFO - Using executor 
> SequentialExecutor
> DB: sqlite:////home/ajung/airflow/airflow.db
> [2016-08-17 15:29:24,179] {db.py:222} INFO - Creating tables
> INFO  [alembic.runtime.migration] Context impl SQLiteImpl.
> INFO  [alembic.runtime.migration] Will assume non-transactional DDL.
> ERROR [airflow.models.DagBag] Failed to import: 
> /home/ajung/airflow/lib/python2.7/site-packages/airflow/example_dags/example_twitter_dag.py
> Traceback (most recent call last):
>   File "/home/ajung/airflow/lib/python2.7/site-packages/airflow/models.py", 
> line 247, in process_file
>     m = imp.load_source(mod_name, filepath)
>   File 
> "/home/ajung/airflow/lib/python2.7/site-packages/airflow/example_dags/example_twitter_dag.py",
>  line 26, in <module>
>     from airflow.operators import BashOperator, HiveOperator, PythonOperator
> ImportError: cannot import name HiveOperator
> airflow==1.7.1.3
> alembic==0.8.7
> Babel==1.3
> chartkick==0.4.2
> croniter==0.3.12
> dill==0.2.5
> docutils==0.12
> Flask==0.10.1
> Flask-Admin==1.4.0
> Flask-Cache==0.13.1
> Flask-Login==0.2.11
> Flask-WTF==0.12
> funcsigs==0.4
> future==0.15.2
> gunicorn==19.3.0
> itsdangerous==0.24
> Jinja2==2.8
> lockfile==0.12.2
> Mako==1.0.4
> Markdown==2.6.6
> MarkupSafe==0.23
> numpy==1.11.1
> pandas==0.18.1
> Pygments==2.1.3
> python-daemon==2.1.1
> python-dateutil==2.5.3
> python-editor==1.0.1
> pytz==2016.6.1
> requests==2.11.0
> setproctitle==1.1.10
> six==1.10.0
> SQLAlchemy==1.0.14
> thrift==0.9.3
> Werkzeug==0.11.10
> WTForms==2.1



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to