[ https://issues.apache.org/jira/browse/YARN-2048?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13996126#comment-13996126 ]
Min Zhou commented on YARN-2048: -------------------------------- [~zjshen] Currently, the only implementation of ApplcationContext is ApplicationHistoryManagerImpl, which retrieves containers information from history store. Quesions: # How do you fetch the containers info from a historyserver and display it on the RM web? # If the information is from history store, seems RM won't get that kind of info until the application is done? Sometimes user's application might be a long-live application, never finish unless user kill it. # Seems the only way providing containers info to RM is to maintain a list in RMAppAttempImpl, which was my way as well. Min > List all of the containers of an application from the yarn web > -------------------------------------------------------------- > > Key: YARN-2048 > URL: https://issues.apache.org/jira/browse/YARN-2048 > Project: Hadoop YARN > Issue Type: Improvement > Components: resourcemanager, webapp > Affects Versions: 2.3.0, 2.4.0, 2.5.0 > Reporter: Min Zhou > Attachments: YARN-2048-trunk-v1.patch > > > Currently, Yarn haven't provide a way to list all of the containers of an > application from its web. This kind of information is needed by the > application user. They can conveniently know how many containers their > applications already acquired as well as which nodes those containers were > launched on. They also want to view the logs of each container of an > application. > One approach is maintain a container list in RMAppImpl and expose this info > to Application page. I will submit a patch soon -- This message was sent by Atlassian JIRA (v6.2#6252)