Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-6581 Write to single replica in memory
  3. HDFS-7159

Use block storage policy to set lazy persist preference

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.6.0
    • namenode
    • None
    • Reviewed

    Description

      Now that HDFS-6584 feature is ready and supports block storage policies on both files and directories, we can make use of Storage Policies to store the LAZY_PERSIST preference.

      This only affects how the preference is persisted in the FsImage/Edit logs. There is no change to the client API or to NN-DN interaction.

      An additional advantage is that can support setting the lazy persist preference on a directory and it will take effect for all new files.

      Attachments

        1. HDFS-7159.01.patch
          64 kB
          Arpit Agarwal
        2. HDFS-7159.02.patch
          64 kB
          Arpit Agarwal
        3. HDFS-7159.03.patch
          65 kB
          Arpit Agarwal
        4. HDFS-7159.04.patch
          77 kB
          Arpit Agarwal

        Issue Links

          Activity

            People

              arp Arpit Agarwal
              arp Arpit Agarwal
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: