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

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.0.0-alpha1
    • 2.3.0
    • hdfs-client
    • None

    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-1.patch
          16 kB
          Andrew Wang
        2. hdfs-5450-2.patch
          17 kB
          Andrew Wang
        3. hdfs-5450-3.patch
          20 kB
          Andrew Wang
        4. hdfs-5450-4.patch
          41 kB
          Andrew Wang
        5. hdfs-5450-5.patch
          22 kB
          Andrew Wang

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: