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

Better to return a Map rather than HashMap in getErasureCodingCodecs

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0-beta1
    • Component/s: erasure-coding
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Currently the getErasureCodingCodecs function defined in ClientProtocal returns a Hashmap:

        HashMap<String, String> getErasureCodingCodecs() throws IOException;
      

      It's better to return a Map.

        Attachments

        1. HDFS-12269.003.patch
          12 kB
          Huafeng Wang
        2. HDFS-12269.002.patch
          12 kB
          Huafeng Wang
        3. HDFS-12269.001.patch
          12 kB
          Huafeng Wang

          Activity

            People

            • Assignee:
              HuafengWang Huafeng Wang
              Reporter:
              HuafengWang Huafeng Wang
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: