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

Allow ReplicaInfo to be subclassed outside of package

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.0.0-alpha2
    • None
    • datanode
    • None

    Description

      The constructor for ReplicaInfo is package-scope instead of protected. This means that an alternative dataset implementation in its own package cannot create Replica classes that inherit from ReplicaInfo the way LocalReplica does (or the way ProvidedReplica does in HDFS-9806).

      Attachments

        1. HDFS-11423.001.patch
          0.8 kB
          Joe Pallas

        Activity

          People

            Unassigned Unassigned
            jpallas Joe Pallas
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: