You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by Torsten Curdt <tc...@apache.org> on 2007/10/10 10:33:37 UTC
read-only
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
Re: read-only
Posted by Konstantin Shvachko <sh...@yahoo-inc.com>.
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
>