# odahu-airflow-plugins
An apache airflow plugin for the Odahu Platform.
### How-To
1. Start a Odahu Cluster and authenticate using OAuth2. (Hit the cluster's base URL.) Copy the token to line 8 of ./dags/odahu_dag.py
1. [Install, Start and InitDB for Airflow](https://airflow.apache.org/installation.html)
1. Install the plugin defined in ./plugin/ to Airflow (or softlink/copy to $AIRFLOW_HOME/plugins)
1. Copy or import ./dags/odahu_dag.py
1. Create the Airflow connections:
* `odahu_model`
* `id`: odahu_model
* `type`: http
* `host`: edge.cluster-name.ailifecycle.org
* `schema`: https
* `odahu_api`
* `id`: odahu_edi
* `type`: http
* `host`: odahu.cluster-name.ailifecycle.org
* `schema`: https
* `login`: ****
* `password`: ****
* `extra`: {"auth_url": "****", "client_id": "****", "client_secret": "****", "scope": "openid profile email offline_access groups"}
1. Invoke
### DEV notes
1. We need a custom Airflow Connection - or maybe [this one](https://github.com/eliiza/airflow-oauth2) will work.
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
共26个文件
py:16个
txt:5个
pkg-info:2个
资源分类:Python库 所属语言:Python 资源全名:odahu-flow-airflow-plugin-1.5.0rc1.tar.gz 资源来源:官方 安装方法:https://lanzao.blog.csdn.net/article/details/101784059
资源推荐
资源详情
资源评论
收起资源包目录
odahu-flow-airflow-plugin-1.5.0rc1.tar.gz (26个子文件)
odahu-flow-airflow-plugin-1.5.0rc1
PKG-INFO 438B
odahu_flow_airflow_plugin.egg-info
PKG-INFO 438B
requires.txt 167B
not-zip-safe 1B
SOURCES.txt 878B
entry_points.txt 75B
top_level.txt 58B
dependency_links.txt 1B
odahuflow
airflow_plugin
deployment.py 4KB
packaging.py 3KB
__init__.py 609B
connection.py 2KB
model.py 3KB
resources.py 4KB
api.py 3KB
__version__.py 657B
training.py 3KB
plugin.py 1KB
tests
test_simple_dag.py 4KB
__init__.py 0B
containers
airflow
health_check.py 1KB
setup.cfg 38B
legion-cicd
tools
update_version_files.py 9KB
tests.py 4KB
setup.py 2KB
README.md 1KB
共 26 条
- 1
资源评论
挣扎的蓝藻
- 粉丝: 13w+
- 资源: 15万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- Picasso_v3.1 2.ipa
- chromedriver-mac-arm64.zip
- 蓝zapro.apk
- chromedriver-linux64.zip
- UCAS研一深度学习实验-MNIST手写数字识别python源码+详细注释(高分项目)
- 基于Python和PyTorch框架完成的一个手写数字识别实验源码(带MINIST手写数字数据集)+详细注释(高分项目)
- 基于Matlab在MNIST数据集上利用CNN完成手写体数字识别任务,并实现单层CNN反向传播算法+源代码+文档说明(高分项目)
- NVIDIA驱动、CUDA和Pytorch及其依赖
- 基于SVM多特征融合的微表情识别python源码+项目说明+详细注释(高分课程设计)
- html动态爱心代码一(附源码)
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功