You can use the following commands to access application generic history data from the command-line. Note that these same commands can be used to obtain corresponding information about running applications.
yarn application -status <Application ID> yarn applicationattempt -list <Application ID> yarn applicationattempt -status <Application Attempt ID> yarn container -list <Application Attempt ID> yarn container -status <Container ID>