Supported Commands for Hadoop 1.x

MapR supports the following hadoop commands for Hadoop 1.x:

Command

Description

archive -archiveName NAME <src>* <dest>

The hadoop archive command creates a Hadoop archive, a file that contains other files. A Hadoop archive always has a *.har extension.

classpath

The hadoop classpath command prints the class path needed to access the Hadoop JAR and the required libraries.

conf

The hadoop conf command prints the configuration information for the current node.

daemonlog

The hadoop daemonlog command may be used to get or set the log level of Hadoop daemons.

distcp <source> <destination>

The hadoop distcp command is a tool for large inter- and intra-cluster copying. It uses MapReduce to effect its distribution, error handling and recovery, and reporting. It expands a list of files and directories into input to map tasks, each of which will copy a partition of the files specified in the source list.

fs

The hadoop fs command runs a generic filesystem user client that interacts with the MapR filesystem (MapR-FS).

jar <jar>

The hadoop jar command runs a JAR file. Users can bundle their MapReduce code in a JAR file and execute it using this command.

job

Manipulates MapReduce jobs.

mfs

The hadoop mfs command performs operations on directories in the cluster. The main purposes of hadoop mfs are to display directory information and contents, to create symbolic links, and to set compression and chunk size on a directory.

mradmin

Runs a MapReduce admin client.

pipes

Runs a pipes job.

queue

Gets information about job queues.

version

The hadoop version command prints the Hadoop software version.