You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Daryn Sharp (Created) (JIRA)" <ji...@apache.org> on 2011/11/23 20:25:40 UTC

[jira] [Created] (HDFS-2589) unnecessary hftp token fetch and renewal thread

unnecessary hftp token fetch and renewal thread
-----------------------------------------------

                 Key: HDFS-2589
                 URL: https://issues.apache.org/jira/browse/HDFS-2589
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: security
    Affects Versions: 0.20.205.1
            Reporter: Daryn Sharp
            Assignee: Daryn Sharp


Instantiation of the hftp filesystem is causing a token to be implicitly created and added to a custom token renewal thread.  With the new token renewal feature in the JT, this causes the mapreduce {{obtainTokensForNamenodes}} to fetch two tokens (an implicit and uncancelled token, and an explicit token) and leave a spurious renewal thread running.  This thread should not be running in the JT.

After speaking with Owen, the quick solution is to lazy fetch the token, and to lazy start the renewer thread.

--
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