目录权限.txt 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. sudo chmod -R 777 /var/lib/hadoop/
  2. sudo chown -R saga:saga /var/lib/hadoop/
  3. sudo chmod -R 777 /var/hadoop/conf/
  4. sudo chown -R saga:saga /var/conf/
  5. sudo chmod -R 777 /var/hadoop/log/
  6. sudo chmod -R 777 /var/hadoop/mapred/log/
  7. sudo chmod -R 777 /var/hadoop/yarn/log/
  8. sudo chmod -R 777 /var/hadoop/tmp/
  9. sudo chmod -R 777 /var/hadoop/hdfs/name/coredata/
  10. sudo chmod -R 777 /var/nfs-hadoop/hdfs/name/
  11. sudo chmod -R 777 /var/hadoop/hdfs/journal/
  12. sudo chmod -R 777 /var/hadoop/hdfs/data-1/coredata/
  13. sudo chmod -R 777 /var/hadoop/hdfs/data-2/coredata/
  14. sudo chmod -R 777 /var/hadoop/hdfs/namesecondary/coredata/
  15. sudo chmod -R 777 /var/nfs-hadoop/hdfs/namesecondary/
  16. sudo chmod -R 777 /var/hadoop/yarn/local-1/coredata/
  17. sudo chmod -R 777 /var/hadoop/yarn/local-2/coredata/
  18. sudo chown -R saga:saga /var/hadoop/log/
  19. sudo chown -R saga:saga /var/hadoop/mapred/log/
  20. sudo chown -R saga:saga /var/hadoop/yarn/log/
  21. sudo chown -R saga:saga /var/hadoop/tmp/
  22. sudo chown -R saga:saga /var/hadoop/hdfs/name/coredata/
  23. sudo chown -R saga:saga /var/nfs-hadoop/hdfs/name/
  24. sudo chown -R saga:saga /var/hadoop/hdfs/journal/
  25. sudo chown -R saga:saga /var/hadoop/hdfs/data-1/coredata/
  26. sudo chown -R saga:saga /var/hadoop/hdfs/data-2/coredata/
  27. sudo chown -R saga:saga /var/hadoop/hdfs/namesecondary/coredata/
  28. sudo chown -R saga:saga /var/nfs-hadoop/hdfs/namesecondary/
  29. sudo chown -R saga:saga /var/hadoop/yarn/local-1/coredata/
  30. sudo chown -R saga:saga /var/hadoop/yarn/local-2/coredata/
  31. sudo chmod -R 777 /var/lib/hbase/
  32. sudo chown -R saga:saga /var/lib/hbase/
  33. sudo chmod -R 777 /var/hbase/
  34. sudo chmod -R 777 /var/zookeeper/
  35. sudo chown -R saga:saga /var/hbase/
  36. sudo chown -R saga:saga /var/zookeeper/
  37. sudo chmod -R 777 /var/lib/zookeeper/
  38. sudo chown -R saga:saga /var/lib/zookeeper/
  39. sudo chmod -R 777 /var/zookeeper/
  40. sudo chown -R saga:saga /var/zookeeper/