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

DistributedFileSystem.create should allow an option to provide StoragePolicy

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.3.0
    • Component/s: hdfs
    • Labels:
      None

      Description

      DistributedFileSystem.create allows to get a FSDataOutputStream. The stored file and related blocks will used the directory based StoragePolicy.

       

      However, sometime, we might need to keep all files in the same directory (consistency constraint) but might want some of them on SSD (small, in my case) until they are processed and merger/removed. Then they will go on the default policy.

       

      When creating a file, it will be useful to have an option to specify a different StoragePolicy...

        Attachments

        1. HDFS-13209-06.patch
          43 kB
          Surendra Singh Lilhore
        2. HDFS-13209-05.patch
          43 kB
          Ayush Saxena
        3. HDFS-13209-04.patch
          40 kB
          Ayush Saxena
        4. HDFS-13209-03.patch
          40 kB
          Ayush Saxena
        5. HDFS-13209-02.patch
          39 kB
          Ayush Saxena
        6. HDFS-13209-01.patch
          40 kB
          Ayush Saxena

          Issue Links

            Activity

              People

              • Assignee:
                ayushtkn Ayush Saxena
                Reporter:
                jmspaggi Jean-Marc Spaggiari
              • Votes:
                0 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: