You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org> on 2012/04/25 01:30:07 UTC

[jira] [Updated] (HDFS-3319) DFSOutputStream should not start a thread in constructors

     [ https://issues.apache.org/jira/browse/HDFS-3319?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo (Nicholas), SZE updated HDFS-3319:
-----------------------------------------

    Component/s: hdfs client
    
> DFSOutputStream should not start a thread in constructors
> ---------------------------------------------------------
>
>                 Key: HDFS-3319
>                 URL: https://issues.apache.org/jira/browse/HDFS-3319
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: hdfs client
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Tsz Wo (Nicholas), SZE
>            Priority: Minor
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira