hadoop命令

Usage: hadoop [--config confdir] [--loglevel loglevel] [COMMAND] [GENERIC_OPTIONS] [COMMAND_OPTIONS]

Hadoop Common Commands

archive

checknative

classpath

distcp

fs

This command is documented in the File System Shell Guide. It is a synonym for hdfs dfs when HDFS is in use.

jar

Usage: hadoop jar <jar> [mainClass] args...

Runs a jar file.

Use yarn jar to launch YARN applications instead.

key

trace

version

CLASSNAME

Administration Commands

daemonlog

hadoop daemonlog -getlevel <host:httpport> <classname>
hadoop daemonlog -setlevel <host:httpport> <classname> <level>


http://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-common/CommandsManual.html
posted @ 2016-01-11 11:19  关鑫  阅读(155)  评论(0)    收藏  举报