hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Todd Lipcon (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-2194) NameNode HTTP server temporarily changes login user
Date Mon, 25 Jul 2011 22:00:09 GMT
NameNode HTTP server temporarily changes login user

                 Key: HDFS-2194
                 URL: https://issues.apache.org/jira/browse/HDFS-2194
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: name-node, security
    Affects Versions: 0.23.0
            Reporter: Todd Lipcon
            Priority: Minor

When starting the NameNode HTTP server, it temporarily logs in as the configured HTTP principal,
then does a {{getLoginUser().doAs()}} to start the server with the correct principal. This
mucks with global state unnecessarily and complicates that code. Instead, I think we could
probably use {{loginUserFromKeytabAndReturnUgi}} to be a little cleaner.

This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message