阿帕奇气流1.9从GitHub

在Debian 8安装我安装了Apache气流1.9从GitHub感谢这个命令行的debian 9:pip install git+https://github.com/apache/[email protected]阿帕奇气流1.9从GitHub

不过,我有造成Fernet的airflow initdb过程中发生错误,你知道如何解决这个问题?

INFO [alembic.runtime.migration] Running upgrade 947454bf1dff -> d2ae31099d61, Increase text size for MySQL (not relevant for other DBs' text types) 

[2017-12-27 17:19:24,586] {models.py:643} ERROR - Failed to load fernet while encrypting value, using non-encrypted value.

Traceback (most recent call last):

File "/usr/local/lib/python2.7/dist-packages/airflow/models.py", line 639, in set_extra

fernet = get_fernet()

File "/usr/local/lib/python2.7/dist-packages/airflow/models.py", line 103, in get_fernet

raise AirflowException('Failed to import Fernet, it may not be installed')

AirflowException: Failed to import Fernet, it may not be installed

[2017-12-27 17:19:24,601] {models.py:643} ERROR - Failed to load fernet

我怎样才能从我以前的PIP命令中指定像pip install apache-airflow[gcp-api] extrapackage与github上安装?

如何安装最新的1.9.0RC?我有一个assertionError。

回答:

在从源代码安装你有airflow.cfg比如你可以在这里找到文档替换fernet_key:

http://airflow.readthedocs.io/en/latest/configuration.html

以上是 阿帕奇气流1.9从GitHub 的全部内容, 来源链接: utcz.com/qa/266991.html

回到顶部