Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-3154

Add a notion of immutable/mutable files

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • namenode
    • None

    Description

      The notion of immutable file is useful since it lets the system and tools optimize certain things as discussed in this email thread. Also, many applications require only immutable files. Here is a proposal:

      • Immutable files means that the file content is immutable. Operations such as append and truncate that change the file content are not allowed to act on immutable files. However, the meta data such as replication and permission of an immutable file can be updated. Immutable files can also be deleted or renamed.
      • Users have to pass immutable/mutable as a flag in file creation. This is an unmodifiable property of the created file.
      • If users want to change the data in an immutable file, the file could be copied to another file which is created as mutable.

      Attachments

        Issue Links

          Activity

            People

              szetszwo Tsz-wo Sze
              szetszwo Tsz-wo Sze
              Votes:
              0 Vote for this issue
              Watchers:
              16 Start watching this issue

              Dates

                Created:
                Updated: