首页 > 代码库 > User Commands

User Commands

archive

Creates a hadoop archive【v.存档; n.档案文件; 档案室; 】. More information can be found at Hadoop Archives.

 

distcp

Copy file or directories recursively. More information can be found at Hadoop DistCp Guide.

 

fs

Usage: hadoop fs [GENERIC_OPTIONS] [COMMAND_OPTIONS]

Deprecated【废弃的】, use hdfs dfs instead.

Runs a generic filesystem user client.

 

fsck

Runs a HDFS filesystem checking utility【功用、效用】. See fsck for more info.

 

fetchdt

Gets Delegation【n.代表(团); 委派; 授权; 】 Token from a NameNode. See fetchdt for more info.

 

jar

Runs a jar file. Users can bundle their Map Reduce code in a jar file and execute it using this command.

 

job

Command to interact【v.相互作用; 互相影响; 互动; 】 with Map Reduce Jobs.

 

pipes

Runs a pipes job.

 

queue

command to interact and view Job Queue information

 

version

Prints the version.

Usage: hadoop version

CLASSNAME

hadoop script can be used to invoke any class.

Usage: hadoop CLASSNAME

Runs the class named CLASSNAME.

classpath

Prints the class path needed to get the Hadoop jar and the required libraries.

Usage: hadoop classpath