You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Todd Lipcon (JIRA)" <ji...@apache.org> on 2011/07/26 00:00:09 UTC
[jira] [Created] (HDFS-2194) NameNode HTTP server temporarily
changes login user
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