ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Nettleton (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-11442) Yarn Stack scripts do not support setting "yarn.timeline-service.leveldb-state-store.path" as a separate directory
Date Wed, 27 May 2015 20:55:43 GMT
Robert Nettleton created AMBARI-11442:
-----------------------------------------

             Summary: Yarn Stack scripts do not support setting "yarn.timeline-service.leveldb-state-store.path"
as a separate directory
                 Key: AMBARI-11442
                 URL: https://issues.apache.org/jira/browse/AMBARI-11442
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
    Affects Versions: 2.1.0
            Reporter: Robert Nettleton
            Assignee: Robert Nettleton
             Fix For: 2.1.0


The Ambari stack scripts for Yarn currently have a problem regarding the startup of the Yarn
Application Timeline Service.

The timeline service has two properties for DB storage:

yarn.timeline-service.leveldb-timeline-store.path
yarn.timeline-service.leveldb-state-store.path

The current Yarn stack scripts only create a directory for "yarn.timeline-service.leveldb-timeline-store.path"
during a cluster startup.  

If the default settings are used for these properties, then things will work fine, since both
are mapped to the same root directory.

If the two properties are set to different values, then the App Timeline Service will fail
to startup, since the directory associated with "yarn.timeline-service.leveldb-state-store.path"
will not have been created.  

The "yarn.timeline-service.leveldb-state-store.path" property was added in Ambari 2.1 in HDP
2.2.  The rest of the Yarn stack code should be updated to use this variable to create a separate
directory, if needed.  

I'm working on a fix for this, and will be submitting a patch shortly.  






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

Mime
View raw message