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] Commented: (HDFS-1296) using delegation token over hftp for long running clients (spawn from hdfs-1007).
Date Thu, 02 Sep 2010 22:32:35 GMT

    [ https://issues.apache.org/jira/browse/HDFS-1296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12905704#action_12905704
] 

Tsz Wo (Nicholas), SZE commented on HDFS-1296:
----------------------------------------------

{code}
//HftpFileSystem
+  private static RenewerThread renewer = new RenewerThread();
+  static {
+    renewer.start();
+  }
{code}
It is not a good idea to create and start a thread in the HftpFileSystem static initializer.
 Starting a thread is expensive.  In many cases, the renewer thread is not required.  One
typical example is calling HftpFileSystem.makeQualified(Path path).

> using delegation token over hftp for long running clients (spawn from hdfs-1007).
> ---------------------------------------------------------------------------------
>
>                 Key: HDFS-1296
>                 URL: https://issues.apache.org/jira/browse/HDFS-1296
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Boris Shkolnik
>            Assignee: Boris Shkolnik
>             Fix For: 0.22.0
>
>         Attachments: hdfs-1007-long-running-hftp-client.patch, hdfs-1007-securityutil-fix.patch,
HDFS-1296-13.patch, HDFS-1296-14.patch
>
>
> this patch incorporates patches 
> https://issues.apache.org/jira/secure/attachment/12446280/hdfs-1007-long-running-hftp-client.patch
> and 
> https://issues.apache.org/jira/secure/attachment/12446362/hdfs-1007-securityutil-fix.patch
> patches are attached.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message