You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org> on 2009/07/23 22:27:14 UTC
[jira] Created: (HDFS-501) Use enum to define the constants in
DataTransferProtocol
Use enum to define the constants in DataTransferProtocol
--------------------------------------------------------
Key: HDFS-501
URL: https://issues.apache.org/jira/browse/HDFS-501
Project: Hadoop HDFS
Issue Type: Improvement
Components: data-node, hdfs client
Reporter: Tsz Wo (Nicholas), SZE
Assignee: Tsz Wo (Nicholas), SZE
There are quite a few integer (int/byte) constants defined in DataTransferProtocol. It is better to replace them by enums.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (HDFS-501) Use enum to define the constants in
DataTransferProtocol
Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-501?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz Wo (Nicholas), SZE resolved HDFS-501.
-----------------------------------------
Resolution: Fixed
Fix Version/s: 0.21.0
Hadoop Flags: [Reviewed]
I have committed this.
> Use enum to define the constants in DataTransferProtocol
> --------------------------------------------------------
>
> Key: HDFS-501
> URL: https://issues.apache.org/jira/browse/HDFS-501
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: data-node, hdfs client
> Reporter: Tsz Wo (Nicholas), SZE
> Assignee: Tsz Wo (Nicholas), SZE
> Fix For: 0.21.0
>
> Attachments: h501_20090724.patch, h501_20090724b.patch
>
>
> There are quite a few integer (int/byte) constants defined in DataTransferProtocol. It is better to replace them by enums.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.