hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo (Nicholas), SZE (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-3319) DFSOutputStream should not start a thread in constructors
Date Wed, 25 Apr 2012 00:32:07 GMT

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

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

    Attachment: h3319_20120424.patch

h3319_20120424.patch: add static methods.
                
> 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
>         Attachments: h3319_20120424.patch
>
>
> 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

        

Mime
View raw message