[ https://issues.apache.org/jira/browse/HDFS-501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12735677#action_12735677
]
Tsz Wo (Nicholas), SZE commented on HDFS-501:
---------------------------------------------
Got no failure in unit tests this time. (TestBackupNode is really unrelated to this. The
patch does not fix it.)
> 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
> 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.
|