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.

Reply via email to