标签:ima resources source 图片 部署 ons 如何 restart 增加
ambari2.7.3(hdp3.1) 安装 airflow1.10
ambari的hdp中原生不支持airflow安装,下面介绍如何通过mpack方式使ambari支持airflow安装:
# wget https://github.com/miho120/ambari-airflow-mpack/raw/master/airflow-service-mpack.tar.gz
# ambari-server install-mpack --mpack airflow-service-mpack.tar.gz --verbose
# ambari-server restart
/var/lib/ambari-server/resources/mpacks/airflow-ambari-mpack-1.5.4/mpack.json
"service_versions_map": [
{
"service_name" : "AIRFLOW",
"service_version" : "1.10.0",
"applicable_stacks" : [
{
"stack_name" : "HDP",
"stack_version" : "2.4"
},
{
"stack_name" : "HDP",
"stack_version" : "2.5"
},
{
"stack_name" : "HDP",
"stack_version" : "2.6"
},
{
"stack_name" : "HDP",
"stack_version" : "3.0"
}
]
}
]
需要增加HDP3.1,修改完重新打包
ambari-server uninstall-mpack --mpack-name=airflow-ambari-mpack
打开ambari页面
参考:
https://github.com/miho120/ambari-airflow-mpack
【原创】大数据基础之Ambari(3)通过Ambari部署Airflow
标签:ima resources source 图片 部署 ons 如何 restart 增加
原文地址:https://www.cnblogs.com/barneywill/p/10284804.html