标签:style blog http java color 文件
安装环境:
安装软件:
Azkaban jobtype plugin source:github.com/azkaban/azkaban-plugins/tree/master/plugins/jobtype
user@ae01:/usr/local/ae/azkaban/azkaban-executor-2.5.0/plugins/jobtypes$ tar -zxvx azkaban--jobtype-2.5.0.tar.gz
## everything that the user job can know hadoop.home=/usr/local/ae/hadoop-1.2.1 #hive.home= #pig.home= azkaban.should.proxy=false jobtype.global.classpath=${hadoop.home}/hadoop-core-1.2.1.jar,${hadoop.home}/*,${hadoop.home}/conf/,${hadoop.home}/lib/*
commonprivate.properties
## hadoop security manager setting common to all hadoop jobs hadoop.security.manager.class=azkaban.security.HadoopSecurityManager_H_1_0 ## hadoop security related settings # proxy.keytab.location=YOUR_AZKABAN_KERBEROS_PRINCIPAL # proxy.user=KEYTAB_LOCATION azkaban.should.proxy=false obtain.binary.token=false # obtain.namenode.token=true # obtain.jobtracker.token=true # global classpath items for all jobs. e.g. hadoop-core jar, hadoop conf #jobtype.global.classpath=${hadoop.home}/*,${hadoop.home}/conf # global jvm args for all jobs. e.g. java.io.temp.dir, java.library.path #jobtype.global.jvm.args= # hadoop hadoop.home=/usr/local/ae/hadoop-1.2.1 #pig.home= #hive.home=
# Azkaban JobTypes Plugins azkaban.jobtype.plugin.dir=../plugins/jobtypes
user@ae01:/usr/local/ae/azkaban/azkaban-executor-2.5.0/bin$ sh azkaban-executor-shutdown.sh user@ae01:/usr/local/ae/azkaban/azkaban-executor-2.5.0/bin$ sh azkaban-executor-start.sh
type=hadoopJava #jvm.args job.class=×××××××××××××××××××××**** main.args=××××××××× method.run=run #method.cancel classpath=./lib/*,/usr/local/ae/hadoop-1.2.1/*,/usr/local/ae/hadoop-1.2.1/lib/*,/usr/local/ae/hbase-0.94.8/*,/usr/local/ae/hbase-0.94.8/lib/* #dependencies #getJobGeneratedProperties
Note:若 ${job.class} 继承自 AbstractHadoopJob 则需要设置 FileIutPutFormat 与 FileOutPutFormat
Azkaban 2.5.0 job type 插件安装,布布扣,bubuko.com
标签:style blog http java color 文件
原文地址:http://www.cnblogs.com/tannerBG/p/3844833.html