Class FileSystemApplicationHistoryStore

java.lang.Object
org.apache.hadoop.service.AbstractService
org.apache.hadoop.yarn.server.applicationhistoryservice.FileSystemApplicationHistoryStore
All Implemented Interfaces:
Closeable, AutoCloseable, org.apache.hadoop.service.Service, ApplicationHistoryReader, ApplicationHistoryStore, ApplicationHistoryWriter

@Public @Unstable public class FileSystemApplicationHistoryStore extends org.apache.hadoop.service.AbstractService implements ApplicationHistoryStore
File system implementation of ApplicationHistoryStore. In this implementation, one application will have just one file in the file system, which contains all the history data of one application, and its attempts and containers. applicationStarted(ApplicationStartData) is supposed to be invoked first when writing any history data of one application and it will open a file, while applicationFinished(ApplicationFinishData) is supposed to be last writing operation and will close the file.