See MAPREDUCE-5956 for context. Specific options are at https://issues.apache.org/jira/browse/MAPREDUCE-5956?focusedCommentId=14054562&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14054562.
Capability to register for a notification/callback on the expiry of timeouts
Revisit deleteService call once YARN is able to do post clean up for an app
DELETE call sometimes returns success when app is not deleted
Clean Intermediate data (generated while apps running),when destry the app
MapReduce AM should not use maxAttempts to determine if this is the last retry
ApplicationMaster may fail to remove staging directory
YARN should have a hook to delete a path from HDFS when an application ends