Last active
December 28, 2015 15:59
-
-
Save chiangbing/7525963 to your computer and use it in GitHub Desktop.
Start/Enable Hadoop(CDH) services.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo chkconfig hadoop-hdfs-namenode on | |
sudo chkconfig hadoop-hdfs-datanode on | |
sudo chkconfig hadoop-yarn-resourcemanager on | |
sudo chkconfig hadoop-yarn-nodemanager on | |
sudo chkconfig hadoop-mapreduce-historyserver on |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo yum install hadoop-hdfs-namenode hadoop-hdfs-datanode hadoop-yarn-resourcemanager hadoop-yarn-nodemanager hadoop-mapreduce-historyserver solr-server solr-mapreduce |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo service hadoop-hdfs-namenode start | |
sudo service hadoop-hdfs-datanode start | |
sudo service hadoop-yarn-resourcemanager start | |
sudo service hadoop-yarn-nodemanager start | |
sudo service hadoop-mapreduce-historyserver start |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo service hadoop-mapreduce-historyserver stop | |
sudo service hadoop-yarn-nodemanager stop | |
sudo service hadoop-yarn-resourcemanager stop | |
sudo service hadoop-hdfs-datanode stop | |
sudo service hadoop-hdfs-namenode stop |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment