Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Oozie Command Line Chinese

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

Oozie uses a lot of comparison, and then through the help to do a summary. Unfortunately, bundle has never been used.

Below, this is what the oozie help command shows, translated by Google+ youdao + yourself.

Commonly used standard red

As follows:

# oozie help

Usage:

The environment variable 'OOZIE_URL' is used as the default value for the'-oozie' 'option

The environment variable 'OOZIE_TIMEZONE'' is used as the default value for the'- timezone' 'option

The environment variable 'OOZIE_AUTH' is used as the default value for the'-auth' 'option

The custom title of the Oozie Web service can be specified using'- Dheader:NAME = VALUE'

Oozie help: display usage

Oozie version: displaying client version

.

Oozie job: job operation

-action coordinator rerun / terminate action ID (requires-rerun /-kill)

Coordinator log retrieval action ID (requires-log)

-allruns gets the workflow job of the corresponding coordinator operation

Including all reruns

-auth Select the authentication type [SIMPLE | KERBEROS]

-change changes coordinator or bundle jobs

-config job configuration file '.xml' or '.properties'

-configcontent job configuration

-coordinator bundle rerun coordinator name (requires-rerun)

-D set/override value to attribute

-date coordinator/bundle rerun date (requires-rerun)

Date of action retrieved from the coordinator's log (required-log)

-debug uses debug mode to view debug statements on stdout

-definition of definition job

-diff displays the diff of the new coord definition and properties (default is true)

-doas doAs user, specified user

-dryrun Dryrun workflow (since 3.3.2) or coordinator (since 2.0)

Instead of actually executing it (Note: it should be filled out and displayed on the terminal)

-failed rerun the failed workflow operation in the coordinator operation (requires-rerun)

-filter [;] *

(all coordinator behaviors that match the filter will be retrieved).

Key: status or nominal time

Comparator: =,! =. = use OR, others use AND

Status: the valid state of the value, such as SUCCEEDED,KILLED, etc. Only = and! = request status.

Nominaltime: formatted time yyyy-MM-dd'T'HH:mm'Z'

-ignore changes the status of the coordinator job or operation to IGNORED

(- action the actions that needs to be coordinated)

-Information on info job

-interval polling interval in minutes (default is 5,-poll is required)

-kill kills a job (the coordinator can specify-action or-date)

-number of len actions (default TOTAL ACTIONS, requires-info)

-localtime uses local time (the same as passing a time zone to a time zone).

Override-timezone option

-log Job Log

-errorlog Job error Log

-auditlog Job Audit Log

-logfilter job log search parameters. Can be specified as-logfilter

Opt1=val1; opt2=val1; opt3=val1 . Supported options are recent, start, end, log level, text, restrictions, and debugging

-nocleanup does not clean up the coordinator's output events (requires-rerun)

-offset job information offset (default is' 1percent, requires-info)

-oozie Oozie URL (this should be required, without this, it is said to be lack of environment)

-order to display coordinate operations (default ascending order, 'desc' requires-info in order to descend)

-poll polls Oozie until the job reaches terminal status or timeout occurs

-refresh re-implements the coordinator rerun operation (requires-rerun)

-rerun rerun job (coordinator requires-action or-date,bundle requires-coordinator or-date)

-resume returns to work

-run runs a job

-start starts a job

-submit submission work

-suspend suspended work

-timeout timeout in minutes (default value is 30, negative value means no timeout,-poll is required)

-timezone uses the time zone with the specified ID (default GMT).

View the list of 'oozie info-timezones'

-update updates coordinate definitions and attributes

-value is used to change the new endtime / concurrency / pausetime value of a coordinator

-verbose verbose mode

-sladisable disables sla alerts for the job and its children

-slaenable can provide sla alerts for work and their children

-slachange updates the sla parameter of the job. The supported parameters are should-start,should-end and max-duration.

Oozie jobs: job statu

-auth Select the authentication type [SIMPLE | KERBEROS]

-doas doAs user to impersonate with the specified user.

-filter user =\; name =\; group =\; status =\; frequency =\; unit =\; startcreatedtime =

< SC>

\; endcreatedtime =

-jobtype job type ('supported only in Oozie-2.0 or later-coordinator' or' wf' (default))

-number of len jobs (default is' 100')

-localtime uses local time (the same as passing a time zone to a time zone). Override-timezone option

-offset job offset (default is'1')

-oozie Oozie URL

-timezone uses the time zone with the specified ID (default GMT). View the list of 'oozie info-timezones'

-kill deletes all jobs that meet the filter, len, offset, or / and jobtype options. If no other option is used, it will kill all the first 50 workflow jobs. If one or more jobs are in an error state, the command will fail.

-suspend suspends all jobs that meet the filter, len, offset or / and jobtype options. If no other option is used, it suspends all the first 50 workflow jobs. If one or more jobs are in an error state, the command will fail.

-resume resumes all work that meets the filter, len, offset or / and jobtype options. If no other option is used, it restores all the first 50 workflow jobs. If one or more jobs are in an error state, the command will fail.

-verbose verbose mode

.

Oozie admin: administrator action

-auth Select the authentication type [SIMPLE | KERBEROS]

-configuration displays Oozie system configuration

-doas doAs user to impersonate with the specified user

-instrumentation display Oozie system instrument

-javasysprops displays Oozie Java system properties

-metrics displays Oozie system metrics

-oozie Oozie URL

-osenv shows the operating system environment of Oozie system

-queuedump displays Oozie server queue elements

-servers lists available Oozie servers (multiple servers only if HA is enabled)

-shareliblist lists the available sharelib that can be specified in the workflow operation

-sharelibupdate updates the server to use a newer version of sharelib

-status displays the current system status

-systemmode is only supported in Oozie-2.0 or later. Change the oozie system mode [NORMAL | NOWEBSERVICE | SAFEMODE]

-version displays the Oozie server version

.

Oozie validate: validating workflow XML files

.

Oozie sla: sla operation (deprecated since Oozie 4. 0)

-auth Select the authentication type [SIMPLE | KERBEROS]

-number of len results (default value is' 100 percent, maximum value is limited by oozie server setting, default value is' 1000')

-offset start offset (default is'0')

-oozie Oozie URL

-filter jobid =\; appname =

.

Oozie pig-X: submit a pig job, and everything after'- X' is put in any'- D' parameter after passing the parameter to pig,'-X'

-auth Select the authentication type [SIMPLE | KERBEROS]

-doas doAs user to impersonate with the specified user.

-config job configuration file '.properties'

-D set / override value of a given attribute

-file pig script

-oozie Oozie URL

-P set parameters for the script

.

Oozie hive-X: submit a hive job, all the contents after'- X' are passed parameters to the configuration unit, and any'- D' after'- X' is put in

-auth Select the authentication type [SIMPLE | KERBEROS]

-config job configuration file '.properties'

-D set / override value of a given attribute

-doas doAs user to impersonate with the specified user

-file configuration unit script

-oozie Oozie URL

-P set parameters for the script

.

Oozie sqoop-X: submit a sqoop job and put any'- D' parameters after'- X' into the

-auth Select the authentication type [SIMPLE | KERBEROS]

-config job configuration file '.properties'

-D set / override value of a given attribute

-doas doAs user to impersonate with the specified user

-command sqoop command

-oozie Oozie URL

.

Oozie info: get more details about a specific topic

-timezones displays a list of available time zones

.

Oozie mapreduce: submit a mapreduce job

-auth Select the authentication type [SIMPLE | KERBEROS]

-config job configuration file '.properties'

-D set / override value of a given attribute

-doas doAs user to impersonate with the specified user

-oozie Oozie URL

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report