[ 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.
|