Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-4949 Centralized cache management in HDFS
  3. HDFS-5450

better API for getting the cached blocks locations

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-alpha1
    • Fix Version/s: 2.3.0
    • Component/s: hdfs-client
    • Labels:
      None
    • Target Version/s:

      Description

      Currently, we have to downcast the BlockLocation to HdfsBlockLocation to get information about whether a replica is cached. We should have this information in BlockLocation instead.

        Attachments

        1. hdfs-5450-5.patch
          22 kB
          Andrew Wang
        2. hdfs-5450-4.patch
          41 kB
          Andrew Wang
        3. hdfs-5450-3.patch
          20 kB
          Andrew Wang
        4. hdfs-5450-2.patch
          17 kB
          Andrew Wang
        5. hdfs-5450-1.patch
          16 kB
          Andrew Wang

          Issue Links

            Activity

              People

              • Assignee:
                andrew.wang Andrew Wang
                Reporter:
                cmccabe Colin McCabe
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: