You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Huafeng Wang (JIRA)" <ji...@apache.org> on 2017/08/15 02:23:00 UTC
[jira] [Updated] (HDFS-12269) Better to return a Map rather than
HashMap in getErasureCodingCodecs
[ https://issues.apache.org/jira/browse/HDFS-12269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Huafeng Wang updated HDFS-12269:
--------------------------------
Attachment: HDFS-12269.001.patch
> Better to return a Map rather than HashMap in getErasureCodingCodecs
> --------------------------------------------------------------------
>
> Key: HDFS-12269
> URL: https://issues.apache.org/jira/browse/HDFS-12269
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: erasure-coding
> Reporter: Huafeng Wang
> Assignee: Huafeng Wang
> Priority: Minor
> Attachments: HDFS-12269.001.patch
>
>
> Currently the getErasureCodingCodecs function defined in ClientProtocal returns a Hashmap:
> {code:java}
> HashMap<String, String> getErasureCodingCodecs() throws IOException;
> {code}
> It's better to return a Map.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org