企业🤖AI Agent构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
[TOC] 1. 创建job描述文件和hive脚本 Hive脚本: test.sql ~~~ use default; drop table aztest; create table aztest(id int,name string) row format delimited fields terminated by ','; load data inpath '/aztest/hiveinput' into table aztest; create table azres as select * from aztest; insert overwrite directory '/aztest/hiveoutput' select count(1) from aztest; ~~~ Job描述文件:hivef.job ~~~ # hivef.job type=command command=/home/hadoop/apps/hive/bin/hive -f 'test.sql' ~~~ 2. 将所有job资源文件打到一个zip包中 3. 在azkaban的web管理界面创建工程并上传zip包 4. 启动job