[ https://issues.apache.org/jira/browse/YARN-975?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13802337#comment-13802337 ]
Mayank Bansal commented on YARN-975: ------------------------------------ Yarn-default.xml yarn.ahs.fs-history-store.uri should be defaulted to ${hadoop.log.dir}/yarn/system/ahstore We need to have meta deta for the applications to be stored on the fs , I think keeping the way JHS , keeping it on the file name is useful. FileSystemApplicationHistoryStore.java In service Init why we are using FS_RM_STATE_STORE_URI? We also need to change the permissions for the root dir as all the users are going to write the AHS store, so it should be writable by all the users. <code> ApplicationHistoryData historyData = getApplication(appId); historyDataMap.put(appId, historyData); </code> getAllApplications() should have a check for null of historyData as this could be null. Why we are adding historyDataMap.put(appId, null); ? WHy we cant just don't even add the app id in the history map? > Add a file-system implementation for history-storage > ---------------------------------------------------- > > Key: YARN-975 > URL: https://issues.apache.org/jira/browse/YARN-975 > Project: Hadoop YARN > Issue Type: Sub-task > Reporter: Zhijie Shen > Assignee: Zhijie Shen > Attachments: YARN-975.1.patch, YARN-975.2.patch, YARN-975.3.patch, > YARN-975.4.patch, YARN-975.5.patch, YARN-975.6.patch, YARN-975.7.patch > > > HDFS implementation should be a standard persistence strategy of history > storage -- This message was sent by Atlassian JIRA (v6.1#6144)