[ 
https://issues.apache.org/jira/browse/YARN-2262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14700845#comment-14700845
 ] 

Jeff Zhang commented on YARN-2262:
----------------------------------

Please ignore my last comment, finally find how to use ATS for Storing history 
data.

{code}
private ApplicationHistoryManager createApplicationHistoryManager(
      Configuration conf) {
    // Backward compatibility:
    // APPLICATION_HISTORY_STORE is neither null nor empty, it means that the
    // user has enabled it explicitly.
    if (conf.get(YarnConfiguration.APPLICATION_HISTORY_STORE) == null ||
        conf.get(YarnConfiguration.APPLICATION_HISTORY_STORE).length() == 0 ||
        conf.get(YarnConfiguration.APPLICATION_HISTORY_STORE).equals(
            NullApplicationHistoryStore.class.getName())) {
      return new ApplicationHistoryManagerOnTimelineStore(
          timelineDataManager, aclsManager);
    } else {
      LOG.warn("The filesystem based application history store is deprecated.");
      return new ApplicationHistoryManagerImpl();
    }
  }
{code}

> Few fields displaying wrong values in Timeline server after RM restart
> ----------------------------------------------------------------------
>
>                 Key: YARN-2262
>                 URL: https://issues.apache.org/jira/browse/YARN-2262
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: timelineserver
>    Affects Versions: 2.4.0
>            Reporter: Nishan Shetty
>            Assignee: Naganarasimha G R
>         Attachments: Capture.PNG, Capture1.PNG, 
> yarn-testos-historyserver-HOST-10-18-40-95.log, 
> yarn-testos-resourcemanager-HOST-10-18-40-84.log, 
> yarn-testos-resourcemanager-HOST-10-18-40-95.log
>
>
> Few fields displaying wrong values in Timeline server after RM restart
> State:        null
> FinalStatus:  UNDEFINED
> Started:      8-Jul-2014 14:58:08
> Elapsed:      2562047397789hrs, 44mins, 47sec 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to