Class ClusterUserInfo
java.lang.Object
org.apache.hadoop.yarn.server.resourcemanager.webapp.dao.ClusterUserInfo
The YARN UI doesn't have centralized login mechanism. While accessing UI2 from kerberized shell, user who is
placed the request to YARN need to be displayed in UI. Given requests from UI2 is routed via Proxy, only RM can provide
the user who has placed the request. This DAO object help to provide the requested user and also RM logged in user.
the response sent by RM is authenticated user instead of proxy user.
It is always good to display authenticated user in browser which eliminates lot of confusion to end use.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionClusterUserInfo(ResourceManager rm, org.apache.hadoop.security.UserGroupInformation ugi) -
Method Summary
-
Field Details
-
rmLoginUser
-
requestedUser
-
-
Constructor Details
-
ClusterUserInfo
public ClusterUserInfo() -
ClusterUserInfo
-
-
Method Details
-
getRmLoginUser
-
getRequestedUser
-
getSubClusterId
-
setSubClusterId
-