echo "export HADOOP_HOME=/opt/sas/hadoop/hadoop-2.4.0" >> ~/.bash_profile . ~/.bash_profile $HADOOP_HOME/bin/hdfs namenode -format $HADOOP_HOME/sbin/start-dfs.sh /opt/sas/hpcmc/webmin/utilbin/simsh ps -ef | egrep "(Node|Tracker)" | egrep -v grep | wc -l $HADOOP_HOME/sbin/initial-sas-hdfs-setup.sh $HADOOP_HOME/bin/hadoop fs -ls -R / echo "export HADOOP_HOME=/opt/sas/hadoop/hadoop-2.4.0" >> ~/.bash_profile . ~/.bash_profile $HADOOP_HOME/sbin/start-sas-yarn-cluster.sh echo "export HADOOP_HOME=/opt/sas/hadoop/hadoop-2.4.0" >> ~/.bash_profile . ~/.bash_profile $HADOOP_HOME/sbin/start-sas-mr-jobhistory.sh