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

Add storagePolicy to NN edit log during file creation

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.6.0
    • 2.6.0
    • namenode
    • None
    • Reviewed

    Description

      Storage Policy ID is currently not logged in the NN edit log during file creation as part of AddOp. This is okay for now since we don't have an API to set storage policy during file creation.

      However now that we have storage policies, for HDFS-6581 we are looking into using the feature instead of adding a new field to the INodeFile header. It would be useful to have the ability to save policy on file create.

      Attachments

        1. HDFS-7153.01.patch
          10 kB
          Arpit Agarwal
        2. HDFS-7153.02.patch
          10 kB
          Arpit Agarwal
        3. HDFS-7153.03.patch
          9 kB
          Arpit Agarwal
        4. HDFS-7153.merge.04.patch
          9 kB
          Arpit Agarwal
        5. editsStored
          5 kB
          Arpit Agarwal
        6. HDFS-7153.merge.05.patch
          28 kB
          Arpit Agarwal

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: