HDFS files are read-only, that is you cannot modify them after they are created written to and closed. But you can always remove them. There is no protection against that as of today.
File permissions are being developed as we speak.
http://issues.apache.org/jira/browse/HADOOP-1298
You can also activate Trash as a protection for accidental file removals.
http://lucene.apache.org/hadoop/api/org/apache/hadoop/fs/Trash.html
https://issues.apache.org/jira/browse/HADOOP-432

Regards,
Konstantin

Torsten Curdt wrote:

Any thoughts on how to make files in hdfs read-only? We would like to protect some files.
How could that be implemented?

cheers
--
Torsten


  • read-only Torsten Curdt
    • Re: read-only Konstantin Shvachko

Reply via email to