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

DFS getStoragePolicy implementation using single RPC call

    XMLWordPrintableJSON

Details

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

    Description

      HADOOP-12161 introduced a new FileSystem#getStoragePolicy call. The DFS implementation of the call requires two RPC calls, the first to fetch the storage policy ID and the second to fetch the policy suite to map the policy ID to a BlockStoragePolicySpi.

      Fix the implementation to require a single RPC call.

      Attachments

        1. HDFS-8815-001.patch
          12 kB
          Surendra Singh Lilhore
        2. HDFS-8815-002.patch
          15 kB
          Surendra Singh Lilhore
        3. HDFS-8815-003.patch
          15 kB
          Surendra Singh Lilhore
        4. HDFS-8815-004.patch
          15 kB
          Surendra Singh Lilhore

        Issue Links

          Activity

            People

              surendralilhore Surendra Singh Lilhore
              arp Arpit Agarwal
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: