Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-2654

Make BlockReaderLocal not extend RemoteBlockReader2

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.23.1, 1.0.0
    • Fix Version/s: 0.24.0, 0.23.1, 1.1.0
    • Component/s: datanode
    • Labels:
      None

      Description

      The BlockReaderLocal code paths are easier to understand (especially true on branch-1 where BlockReaderLocal inherits code from BlockerReader and FSInputChecker) if the local and remote block reader implementations are independent, and they're not really sharing much code anyway. If for some reason they start to share significant code we can make the BlockReader interface an abstract class.

      1. hdfs-2654-b1-4-fix.patch
        0.5 kB
        Eli Collins
      2. hdfs-2654-b1-4.patch
        22 kB
        Eli Collins
      3. hdfs-2654-b1-3.patch
        21 kB
        Eli Collins
      4. hdfs-2654-b1-2.patch
        13 kB
        Eli Collins
      5. hdfs-2654-b1-1.patch
        11 kB
        Eli Collins
      6. hdfs-2654-3.patch
        10 kB
        Eli Collins
      7. hdfs-2654-2.patch
        10 kB
        Eli Collins
      8. hdfs-2654-2.patch
        10 kB
        Eli Collins
      9. hdfs-2654-2.patch
        10 kB
        Eli Collins
      10. hdfs-2654-1.patch
        6 kB
        Eli Collins

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Eli Collins
              Reporter:
              Eli Collins
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development