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

Cleanup BlockReceiver and DataXceiver

    XMLWordPrintableJSON

Details

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

    Description

      clientName.length() is used multiple times for determining whether the source is a client or a datanode.

      if (clientName.length() == 0) {
      //it is a datanode
      }
      

      Attachments

        1. h1785_20110325.patch
          13 kB
          Tsz-wo Sze
        2. h1785_20110324.patch
          13 kB
          Tsz-wo Sze

        Issue Links

          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: