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

DFSOutputStream should not start a thread in constructors

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0-alpha
    • Component/s: hdfs-client
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      DFSOutputStream starts the DataStreamer thread in its constructors. This is a known bad programming practice. It will generate findbugs warnings if the class is not final.

        Attachments

        1. h3319_20120424.patch
          6 kB
          Tsz-wo Sze
        2. h3319_20120425.patch
          7 kB
          Tsz-wo Sze

        Issue Links

          Activity

            People

            • Assignee:
              szetszwo Tsz-wo Sze
              Reporter:
              szetszwo Tsz-wo Sze

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment