[
https://issues.apache.org/jira/browse/AMBARI-11442?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14562255#comment-14562255
]
Hudson commented on AMBARI-11442:
---------------------------------
SUCCESS: Integrated in Ambari-trunk-Commit #2730 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/2730/])
AMBARI-11442. Yarn Stack scripts do not support setting
yarn.timeline-service.leveldb-state-store.path as a separate directory.
(rnettleton) (rnettleton:
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=38156eafd50940998281443d58b9f6c443d1ddf1)
*
ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/package/scripts/params_linux.py
*
ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/package/scripts/yarn.py
> 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
>
> Attachments: AMBARI-11442.patch
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> 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)