OS Manuals

/usr/lib/hadoop/bin/yarn

Apache Hadoop is a framework for distributed processing of large data sets across clusters of computers.

From hadoop-3.5 3.5.0-r4 (enterprise-packages), captured 2026-11-09 by running yarn --help (exit 0). permalink

Usage: yarn [OPTIONS] SUBCOMMAND [SUBCOMMAND OPTIONS]
 or    yarn [OPTIONS] CLASSNAME [CLASSNAME OPTIONS]
  where CLASSNAME is a user-provided Java class

  OPTIONS is none or any of:

--buildpaths                       attempt to add class files from build tree
--config dir                       Hadoop config directory
--daemon (start|status|stop)       operate on a daemon
--debug                            turn on shell script debug mode
--help                             usage information
--hostnames list[,of,host,names]   hosts to use in worker mode
--hosts filename                   list of hosts to use in worker mode
--loglevel level                   set the log4j level for this command
--workers                          turn on worker mode

  SUBCOMMAND is one of:


    Admin Commands:

daemonlog               get/set the log level for each daemon
gpgadmin                yan gpg admin tools
node                    prints node report(s)
rmadmin                 admin tools
routeradmin             router admin tools
scmadmin                SharedCacheManager admin tools

    Client Commands:

applicationattempt      prints applicationattempt(s) report
app|application         prints application(s) report/kill application/manage long running
                        application
classpath               prints the class path needed to get the hadoop jar and the required
                        libraries
cluster                 prints cluster information
container               prints container(s) report
envvars                 display computed Hadoop environment variables
fs2cs                   converts Fair Scheduler configuration to Capacity Scheduler (EXPERIMENTAL)
jar <jar>               run a jar file
logs                    dump container logs
nodeattributes          node attributes cli client
queue                   prints queue information
schedulerconf           Updates scheduler configuration
timelinereader          run the timeline reader server
top                     view cluster information
version                 print the version

    Daemon Commands:

globalpolicygenerator   run the Global Policy Generator
nodemanager             run a nodemanager on each worker
proxyserver             run the web app proxy server
registrydns             run the registry DNS server
resourcemanager         run the ResourceManager
router                  run the Router daemon
sharedcachemanager      run the SharedCacheManager daemon
timelineserver          run the timeline server

SUBCOMMAND may print help when invoked w/o parameters or with -h.
Options (9)
OptionDescriptionSource
--buildpathsattempt to add class files from build treehelp
--config dirHadoop config directoryhelp
--daemon (start|status|stop)operate on a daemonhelp
--debugturn on shell script debug modehelp
--helpusage informationhelp
--hostnames listhosts to use in worker modehelp
--hosts filenamelist of hosts to use in worker modehelp
--loglevel levelset the log4j level for this commandhelp
--workersturn on worker modehelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.