使用HdfsSensor时出现气流Python版本错误

问题描述

我已使用此tutorial安装了Airflow。我必须创建一个具有hdfs_sensor的dag,但是在运行作业时。我遇到错误了。

ImportError: This HDFSHook implementation requires snakebite,but snakebite is not compatible with Python 3 (as of August 2015). Please use Python 2 if you require this hook

我已使用pip进行所有安装。不知道为什么使用python3会产生气流。有没有办法将其更改为Python2。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)