Created
May 8, 2015 20:27
-
-
Save kodekracker/33f1118ac1ff5b9a6092 to your computer and use it in GitHub Desktop.
A script to start Cloudera Hadoop with YARN
This file contains hidden or 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
| #!/usr/bin/env bash | |
| # start YARN | |
| sudo service hadoop-yarn-resourcemanager start | |
| sudo service hadoop-yarn-nodemanager start | |
| sudo service hadoop-mapreduce-historyserver start | |
| # start Hadoop | |
| for x in `cd /etc/init.d ; ls hadoop-hdfs-*` ; do sudo service $x start ; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment