Professional Documents
Culture Documents
Hadoop Administration Commands
Hadoop Administration Commands
Hadoop Administration Commands
Any Hadoop administrator worth his salt must master a comprehensive set of commands for cluster
administration. The following table summarizes the most important commands. Know them, and you
will advance a long way along the path to Hadoop wisdom.
daemonlog Gets or sets the log level for each hadoop daemonlog
hadoop daemonlog
daemon (also known as a service). -getlevel
-getlevel
Connects tohttp://host:port/ 10.250.1.15:50030
<host:port>
logLevel?log=name and prints or sets org.apache.hadoop.
<name>; hadoop
the log level of the daemon that’s mapred.JobTracker;
daemonlog
running athost:port. Hadoop hadoop daemonlog
-setlevel
daemons generate log files that help -setlevel 10.250.
<host:port>
you determine what’s happening on 1.15:50030
<name>
the system, and you can use org.apache.hadoop.
<level>
thedaemonlog command to mapred.JobTracker
temporarily change the log level of a DEBUG
Hadoop component when you’re
debugging the system. The change
becomes effective when the daemon
restarts.
datanode Runs the HDFS DataNode service, hadoop datanode hadoop datanode –
which coordinates storage on each [-rollback] rollback
slave node. If you specify -rollback,
the DataNode is rolled back to the
previous version. Stop the DataNode
and distribute the previous Hadoop
version before using this option.