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

Add storagePolicy to NN edit log during file creation

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.6.0
    • Fix Version/s: 2.6.0
    • Component/s: namenode
    • Labels:
      None
    • Hadoop Flags:
      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.merge.05.patch
          28 kB
          Arpit Agarwal
        2. HDFS-7153.merge.04.patch
          9 kB
          Arpit Agarwal
        3. HDFS-7153.03.patch
          9 kB
          Arpit Agarwal
        4. HDFS-7153.02.patch
          10 kB
          Arpit Agarwal
        5. HDFS-7153.01.patch
          10 kB
          Arpit Agarwal
        6. editsStored
          5 kB
          Arpit Agarwal

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: