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

        

Reply via email to