[
https://issues.apache.org/jira/browse/HDFS-1389?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tsz Wo (Nicholas), SZE resolved HDFS-1389.
------------------------------------------
Resolution: Duplicate
Let's fix this in HDFS-2589.
> HftpFileSystem should not start a RenewerThread in the static initializer
> -------------------------------------------------------------------------
>
> Key: HDFS-1389
> URL: https://issues.apache.org/jira/browse/HDFS-1389
> Project: Hadoop HDFS
> Issue Type: Bug
> Reporter: Tsz Wo (Nicholas), SZE
>
> {code}
> //HftpFileSystem
> private static RenewerThread renewer = new RenewerThread();
> static {
> renewer.start();
> }
> {code}
> HftpFileSystem creates and starts a RenewerThread in the static initializer.
> Starting a thread is expensive and the RenewerThread is not required in some
> cases. One typical example is calling HftpFileSystem.makeQualified(Path
> path).
--
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