Managine Hadoop Cluster
If you are working on Hadoop, you’ll realize there are several shell commands available to manage your Hadoop cluster. Hadoop administration commands. 1. Name node Commands Command Description hadoop namenode -format Format HDFS filesystem from Namenode hadoop namenode -upgrade Upgrade the NameNode start-dfs.sh Start HDFS Daemons stop-dfs.sh Stop HDFS Daemons start-mapred.sh Start MapReduce Daemons stop-mapred.sh Stop MapReduce Daemons hadoop namenode -recover -force Recover namenode metadata after a cluster failure (may lose data) 2. fsck Commands Command Description hadoop fsck / Filesystem check on HDFS hadoop fsck / -files Display files duri...