python
Python 2.7.5 (default, Oct 30 2018, 23:45:53)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-36)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import airflow
[2019-10-15 11:22:05,709] {__init__.py:57} INFO - Using executor CeleryExecutor
>>> from airflow.operators.hive_operator import HiveOperator
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/site-packages/airflow/operators/hive_operator.py", line 18, in <module>
from airflow.hooks.hive_hooks import HiveCliHook
File "/usr/lib/python2.7/site-packages/airflow/hooks/hive_hooks.py", line 28, in <module>
import hive_metastore
ImportError: No module named hive_metastore
>>> import hive_metastore
Traceback (most r
airflow ImportError: No module named hive_metastore
最新推荐文章于 2023-02-13 15:56:44 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)