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 "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org> on 2011/05/16 22:38:47 UTC

[jira] [Updated] (HDFS-501) Use enum to define the constants in DataTransferProtocol

     [ https://issues.apache.org/jira/browse/HDFS-501?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo (Nicholas), SZE updated HDFS-501:
----------------------------------------

    Issue Type: Sub-task  (was: Improvement)
        Parent: HDFS-1937

> 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: Sub-task
>          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.
For more information on JIRA, see: http://www.atlassian.com/software/jira