/var/lib/hbase/hbase-1.2.6/bin/hbase-daemon.sh --config /var/hbase/conf stop regionserver /var/lib/hbase/hbase-1.2.6/bin/hbase-daemon.sh --config /var/hbase/conf stop master /var/lib/zookeeper/zookeeper-3.4.6/bin/zkServer.sh stop /var/lib/hadoop/hadoop-2.7.3/sbin/hadoop-daemon.sh --config /var/hadoop/conf --script hdfs stop secondarynamenode /var/lib/hadoop/hadoop-2.7.3/sbin/hadoop-daemon.sh --config /var/hadoop/conf --script hdfs stop namenode /var/lib/hadoop/hadoop-2.7.3/sbin/hadoop-daemon.sh --config /var/hadoop/conf --script hdfs stop datanode sudo chmod -R 777 /var/hadoop/log/ sudo chmod -R 777 /var/hadoop/mapred/log/ sudo chmod -R 777 /var/hadoop/yarn/log/ sudo chmod -R 777 /var/hadoop/tmp/ sudo chmod -R 777 /var/hadoop/hdfs/name/coredata/ sudo chmod -R 777 /var/nfs-hadoop/hdfs/name/ sudo chmod -R 777 /var/hadoop/hdfs/journal/ sudo chmod -R 777 /var/hadoop/hdfs/data-1/coredata/ sudo chmod -R 777 /var/hadoop/hdfs/data-2/coredata/ sudo chmod -R 777 /var/hadoop/hdfs/namesecondary/coredata/ sudo chmod -R 777 /var/nfs-hadoop/hdfs/namesecondary/ sudo chmod -R 777 /var/hadoop/yarn/local-1/coredata/ sudo chmod -R 777 /var/hadoop/yarn/local-2/coredata/ sudo chmod -R 777 /var/hbase/ sudo chmod -R 777 /var/zookeeper/ sudo rm -r /var/hadoop/log/* sudo rm -r /var/hadoop/mapred/log/* sudo rm -r /var/hadoop/yarn/log/* sudo rm -r /var/hadoop/tmp/* sudo rm -r /var/hadoop/hdfs/journal/* sudo rm -r /mnt/data-disk-1/name/* sudo rm -r /mnt/data-disk-1/namesecondary/* sudo rm -r /mnt/data-disk-1/datanode/* sudo rm -r /mnt/data-disk-2/datanode/* sudo rm -r /mnt/data-disk-1/yarn/* sudo rm -r /mnt/data-disk-2/yarn/* sudo rm -r /var/hbase/log/* sudo rm -r /var/zookeeper/data/version-2 sudo rm -r /var/zookeeper/log/* sudo rm /var/lib/hbase/hbase-1.2.6/lib/json-lib-zillion.jar sudo rm /var/lib/hbase/hbase-1.2.6/lib/zillion-util.jar sudo rm /var/lib/hbase/hbase-1.2.6/lib/json-lib-zillion-1.0-SNAPSHOT.jar sudo rm /var/lib/hbase/hbase-1.2.6/lib/zillion-util-1.0-SNAPSHOT.jar sudo rm /var/lib/hbase/hbase-1.2.6/lib/zillion-util-1.1-SNAPSHOT.jar sudo rm /var/lib/hbase/hbase-1.2.6/lib/json-lib-zillion-1.0.jar sudo rm /var/lib/hbase/hbase-1.2.6/lib/zillion-util-1.0.jar sudo rm /var/lib/hbase/hbase-1.2.6/lib/zillion-util-1.2.jar sudo rm /var/lib/hbase/hbase-1.2.6/lib/zillion-util-1.3.jar sudo rm /var/lib/hbase/hbase-1.2.6/lib/zillion-util-1.4.jar sudo rm /var/lib/hbase/hbase-1.2.6/lib/zillion-util-1.5.jar sudo rm /var/lib/hbase/hbase-1.2.6/lib/zillion-util-1.6.jar sudo rm /var/lib/hbase/hbase-1.2.6/lib/zillion-util-1.7.jar sudo rm /var/lib/hbase/hbase-1.2.6/lib/zillion-util-1.7.1.jar sudo rm /var/lib/hbase/hbase-1.2.6/lib/zillion-util-1.7.2.jar sudo cp share_ro/coprocessor/json-lib-zillion-1.0.jar /var/lib/hbase/hbase-1.2.6/lib/ sudo cp share_ro/coprocessor/fastjson-1.2.47.jar /var/lib/hbase/hbase-1.2.6/lib/ sudo cp share_ro/coprocessor/zillion-util-2.2.0.jar /var/lib/hbase/hbase-1.2.6/lib/ sudo chmod -R 777 /var/lib/hbase/hbase-1.2.6/lib/*.jar /var/lib/hadoop/hadoop-2.7.3/bin/hadoop --config /var/hadoop/conf namenode -format /var/lib/hadoop/hadoop-2.7.3/sbin/hadoop-daemon.sh --config /var/hadoop/conf --script hdfs start namenode /var/lib/hadoop/hadoop-2.7.3/sbin/hadoop-daemon.sh --config /var/hadoop/conf --script hdfs start secondarynamenode /var/lib/hadoop/hadoop-2.7.3/sbin/hadoop-daemon.sh --config /var/hadoop/conf --script hdfs start datanode /var/lib/zookeeper/zookeeper-3.4.6/bin/zkServer.sh start /var/lib/hbase/hbase-1.2.6/bin/hbase-daemon.sh --config /var/hbase/conf start master /var/lib/hbase/hbase-1.2.6/bin/hbase-daemon.sh --config /var/hbase/conf start regionserver