Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-12161

Add getStoragePolicy API to the FileSystem interface

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.8.0, 3.0.0-alpha1
    • fs
    • None
    • Reviewed

    Description

      HDFS-8345 added FileSystem#getAllStoragePolicies and FileSystem#setStoragePolicy. Jira to

      1. Add a corresponding FileSystem#getStoragePolicy to query the storage policy for a given file/directory.
      2. Add corresponding implementation for HDFS i.e. DistributedFileSystem#getStoragePolicy.
      3. Update the FileSystem specification. This will require editing hadoop-common-project/hadoop-common/src/site/markdown/filesystem/filesystem.md.

      Attachments

        1. HADOOP-12161-004.patch
          14 kB
          Brahma Reddy Battula
        2. HADOOP-12161-003.patch
          13 kB
          Brahma Reddy Battula
        3. HADOOP-12161-002.patch
          13 kB
          Brahma Reddy Battula
        4. HADOOP-12161-001.patch
          5 kB
          Brahma Reddy Battula

        Issue Links

          Activity

            People

              brahmareddy Brahma Reddy Battula
              arp Arpit Agarwal
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: