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

Better to return a Map rather than HashMap in getErasureCodingCodecs

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.0.0-beta1
    • erasure-coding
    • None
    • 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.001.patch
          12 kB
          Huafeng Wang
        2. HDFS-12269.002.patch
          12 kB
          Huafeng Wang
        3. HDFS-12269.003.patch
          12 kB
          Huafeng Wang

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: