Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
- not recursive, watcher (implemented in python) is recursive
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
val conf = sc.hadoopConfiguration
val fs = org.apache.hadoop.fs.FileSystem.get(conf)
val exists = fs.exists(new org.apache.hadoop.fs.Path("/path/on/hdfs …R: 4 W: 2 X: 1
Make a directory readable to other people.
chmod 755 dir
Make a file readable to other people.
chmod 644 file
Make a directory and all its subcontents readable to other people.
# make the dir and its subcontents readable and executable
chmod 755 -R dir …