airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AIRFLOW-80) `airflow initdb` fails for new environment
Date Mon, 09 May 2016 22:07:13 GMT

    [ https://issues.apache.org/jira/browse/AIRFLOW-80?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15277153#comment-15277153
] 

ASF subversion and git services commented on AIRFLOW-80:
--------------------------------------------------------

Commit 61f35782fa75e13ebad0c3692de5475e3664d93b in incubator-airflow's branch refs/heads/master
from [~stephencattaneo]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;h=61f3578 ]

[AIRFLOW-80] Move example_twitter dag to contrib/example_dags as it requires hive


> `airflow initdb` fails for new environment
> ------------------------------------------
>
>                 Key: AIRFLOW-80
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-80
>             Project: Apache Airflow
>          Issue Type: Bug
>            Reporter: Stephen Cattaneo
>
> I just created a new dev env with "setup.py develop "
> {code}
> (airflow)[scattaneo@scattaneo-mba ~/workspace/airflow]$ airflow initdb
> [2016-05-09 11:25:52,576] {__init__.py:36} INFO - Using executor SequentialExecutor
> DB: sqlite:////Users/scattaneo/airflow/airflow.db
> [2016-05-09 11:25:53,770] {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: /Users/scattaneo/workspace/airflow/incubator-airflow/airflow/example_dags/example_twitter_dag.py
> Traceback (most recent call last):
>   File "/Users/scattaneo/workspace/airflow/incubator-airflow/airflow/models.py", line
250, in process_file
>     m = imp.load_source(mod_name, filepath)
>   File "/Users/scattaneo/workspace/airflow/incubator-airflow/airflow/example_dags/example_twitter_dag.py",
line 26, in <module>
>     from airflow.operators import BashOperator, HiveOperator, PythonOperator
> ImportError: cannot import name HiveOperator
> Done.
> {code}



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

Mime
View raw message