Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-1937 Umbrella JIRA for improving DataTransferProtocol
  3. HDFS-501

Use enum to define the constants in DataTransferProtocol

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.21.0
    • datanode, hdfs-client
    • None
    • Reviewed

    Description

      There are quite a few integer (int/byte) constants defined in DataTransferProtocol. It is better to replace them by enums.

      Attachments

        1. h501_20090724b.patch
          47 kB
          Tsz-wo Sze
        2. h501_20090724.patch
          46 kB
          Tsz-wo Sze

        Activity

          People

            szetszwo Tsz-wo Sze
            szetszwo Tsz-wo Sze
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: