sudo chmod -R 777 /var/lib/hadoop/ sudo chown -R saga:saga /var/lib/hadoop/ sudo chmod -R 777 /var/hadoop/conf/ sudo chown -R saga:saga /var/conf/ 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 chown -R saga:saga /var/hadoop/log/ sudo chown -R saga:saga /var/hadoop/mapred/log/ sudo chown -R saga:saga /var/hadoop/yarn/log/ sudo chown -R saga:saga /var/hadoop/tmp/ sudo chown -R saga:saga /var/hadoop/hdfs/name/coredata/ sudo chown -R saga:saga /var/nfs-hadoop/hdfs/name/ sudo chown -R saga:saga /var/hadoop/hdfs/journal/ sudo chown -R saga:saga /var/hadoop/hdfs/data-1/coredata/ sudo chown -R saga:saga /var/hadoop/hdfs/data-2/coredata/ sudo chown -R saga:saga /var/hadoop/hdfs/namesecondary/coredata/ sudo chown -R saga:saga /var/nfs-hadoop/hdfs/namesecondary/ sudo chown -R saga:saga /var/hadoop/yarn/local-1/coredata/ sudo chown -R saga:saga /var/hadoop/yarn/local-2/coredata/ sudo chmod -R 777 /var/lib/hbase/ sudo chown -R saga:saga /var/lib/hbase/ sudo chmod -R 777 /var/hbase/ sudo chmod -R 777 /var/zookeeper/ sudo chown -R saga:saga /var/hbase/ sudo chown -R saga:saga /var/zookeeper/ sudo chmod -R 777 /var/lib/zookeeper/ sudo chown -R saga:saga /var/lib/zookeeper/ sudo chmod -R 777 /var/zookeeper/ sudo chown -R saga:saga /var/zookeeper/