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

DFS getStoragePolicy implementation using single RPC call

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: hdfs-client
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      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

              • Assignee:
                surendrasingh Surendra Singh Lilhore
                Reporter:
                arpitagarwal Arpit Agarwal
              • Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: