10.5.15

Apache Hadoop 2.7.0 – Command guide

Apache Hadoop 2.7.0 – Command guide

All hadoop commands are invoked by the bin/hadoop script. Running the hadoop script without any arguments prints the description for all commands.
Usage: hadoop [--config confdir] [--loglevel loglevel] [COMMAND] [GENERIC_OPTIONS] [COMMAND_OPTIONS]
FIELDDescription
--config confdirOverwrites the default Configuration directory. Default is ${HADOOP_HOME}/conf.
--loglevel loglevelOverwrites the log level. Valid log levels are FATAL, ERROR, WARN, INFO, DEBUG, and TRACE. Default is INFO.
GENERIC_OPTIONSThe common set of options supported by multiple commands.
COMMAND_OPTIONSVarious commands with their options are described in this documention for the Hadoop common sub-project. HDFS and YARN are covered in other documents.

Generic Options

Many subcommands honor a common set of configuration options to alter their behavior:
GENERIC_OPTIONDescription
-archives <comma separated list of archives>Specify comma separated archives to be unarchived on the compute machines. Applies only to job.
-conf <configuration file>Specify an application configuration file.
-D <property>=<value>Use value for given property.
-files <comma separated list of files>Specify comma separated files to be copied to the map reduce cluster. Applies only to job.
-jt <local> or <resourcemanager:port>Specify a ResourceManager. Applies only to job.
-libjars <comma seperated list of jars>Specify comma separated jar files to include in the classpath. Applies only to job.
Wrong twice!!

No comments: