Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-1833

Refactor BlockReceiver

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.23.0
    • datanode
    • None
    • Reviewed

    Description

      There are repeated codes for creating log/error messages in BlockReceiver. Also, some comment in the codes are incorrect, e.g.

      private int numTargets;     // number of downstream datanodes including myself
      

      but the count indeed excludes the current datanode.

      Attachments

        1. h1833_20110413.patch
          18 kB
          Tsz-wo Sze
        2. h1833_20110412.patch
          17 kB
          Tsz-wo Sze

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: