oozie 客户端常用命令
2014-02-14 14:39
561 查看
oozie 客户端常用命令
1.直接运行作业:oozie job -oozie http://localhost:11000/oozie -config
job.properties -run
2.1.提交作业并让作业进入PREP状态:
oozie job -oozie http://localhost:11000/oozie -config
job.properties -submit
2.2.执行已提交的作业
oozie job -oozie
http://localhost:11000/oozie -start
jobID
3.杀死作业
oozie job -oozie http://localhost:11000/oozie -kill
jobID
4.改变作业参数,不能修改killed状态的作业
oozie job -oozie http://localhost:11000/oozie -change
jobID -value xx=ooo;yy=uuuu.......
5.重新运行作业
oozie job -oozie http://localhost:11000/oozie -config
job.properties -rerun jobID
6.检查作业状态
oozie admin -oozie http://localhost:11000/oozie -status
或oozie
job -oozie http://localhost:11000/oozie -info
jobID
7.查看日志
oozie job -oozie http://localhost:11000/oozie -log
jobID
oozie job -log <coord_job_id> [-action 1, 3-4, 7-40] (-action is optional.)
8.检查xml文件是否合规
oozie validate workflow.xml
9.提交pig作业
oozie pig -oozie http://localhost:11000/oozie -file
pigScriptFile -config job.properties -X -param_file params
10.提交MR作业
oozie mapreduce -oozie http://localhost:11000/oozie -config
job.properties
oozie命令的详细参考如下:
usage:
the env variable 'OOZIE_URL' is used as default value for the '-oozie' option
custom headers for Oozie web services can be specified using '-Dheader:NAME=VALUE'
oozie help : display usage
oozie version : show client version
oozie job <OPTIONS> : job operations
-action <arg> coordinator rerun on action ids (requires -rerun)
-change <arg> change a coordinator job
-config <arg> job configuration file '.xml' or '.properties'
-D <property=value> set/override value for given property
-date <arg> coordinator rerun on action dates (requires -rerun)
-definition <arg> job definition
-dryrun Supported in Oozie-2.0 or later versions ONLY - dryrun or test
run a coordinator job, job is not queued
-info <arg> info of a job
-kill <arg> kill a job
-len <arg> number of actions (default TOTAL ACTIONS, requires -info)
-localtime use local time (default GMT)
-log <arg> job log
-nocleanup do not clean up output-events of the coordiantor rerun actions
(requires -rerun)
-offset <arg> job info offset of actions (default '1', requires -info)
-oozie <arg> Oozie URL
-refresh re-materialize the coordinator rerun actions (requires -rerun)
-rerun <arg> rerun a job (coordinator requires -action or -date)
-resume <arg> resume a job
-run run a job
-start <arg> start a job
-submit submit a job
-suspend <arg> suspend a job
-value <arg> new endtime/concurrency/pausetime value for changing a
coordinator job
-verbose verbose mode
oozie jobs <OPTIONS> : jobs status
-filter <arg> user=<U>;name=<N>;group=<G>;status=<S>;...
-jobtype <arg> job type ('Supported in Oozie-2.0 or later versions ONLY -
coordinator' or 'wf' (default))
-len <arg> number of jobs (default '100')
-localtime use local time (default GMT)
-offset <arg> jobs offset (default '1')
-oozie <arg> Oozie URL
-verbose verbose mode
oozie admin <OPTIONS> : admin operations
-oozie <arg> Oozie URL
-queuedump show Oozie server queue elements
-status show the current system status
-systemmode <arg> Supported in Oozie-2.0 or later versions ONLY. Change oozie
system mode [NORMAL|NOWEBSERVICE|SAFEMODE]
-version show Oozie server build version
oozie validate <ARGS> : validate a workflow XML file
oozie sla <OPTIONS> : sla operations (Supported in Oozie-2.0 or later)
-len <arg> number of results (default '100')
-offset <arg> start offset (default '0')
-oozie <arg> Oozie URL
oozie pig <OPTIONS> -X <ARGS> : submit a pig job, everything after '-X' are pass-through parameters to pig
-config <arg> job configuration file '.properties'
-D <property=value> set/override value for given property
-file <arg> Pig script
-oozie <arg> Oozie URL
相关文章推荐
- oozie 客户端常用命令
- oozie客户端常用命令
- oozie 客户端常用命令
- oozie 客户端常用命令
- oozie 客户端常用命令
- oozie客户端常用命令
- oozie 客户端常用命令
- oozie 客户端常用命令
- SVN客户端常用命令
- 客户端Git的常用命令
- ZooKeeper客户端常用命令
- redis客户端常用命令
- [SVN]TortoiseSVN工具培训4─客户端常用操作命令
- MongoDB 客户端常用命令以及导出导入备份操作
- Ubuntu下svn客户端常用命令
- oozie 常用命令
- 跟踪报道SVN客户端常用命令
- svn 常用命令 客户端凭证缓存
- git客户端命令的常用操作
- MySQL(二)-常用客户端命令、数据类型、索引