You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Alejandro Fernandez (JIRA)" <ji...@apache.org> on 2015/11/25 02:24:11 UTC
[jira] [Created] (AMBARI-14056) Stack Upgrade from HDP 2.1 or 2.2
to 2.3 to preserve configs for AppTimelineServer ATS version 1.0
Alejandro Fernandez created AMBARI-14056:
--------------------------------------------
Summary: Stack Upgrade from HDP 2.1 or 2.2 to 2.3 to preserve configs for AppTimelineServer ATS version 1.0
Key: AMBARI-14056
URL: https://issues.apache.org/jira/browse/AMBARI-14056
Project: Ambari
Issue Type: Bug
Reporter: Alejandro Fernandez
Priority: Critical
HDP 2.3.4.0 has support for both AppTimelineServer v1.0 and v1.5
The HDP 2.3 stack definition will make ATS v1.5 the default for configs.
This means that any stack upgrade that modifies the configs and upgrades to version x where 2.3.0.0 <= x < 2.3.4.0 will fail since those binaries only support ATS v1.0 but the configs are for ATS 1.5.
The fix is to modify the following upgrade packs
HDP 2.1 -> 2.3 in nonrolling
HDP 2.2 -> 2.3 in both rolling and nonrolling
So that they preserve the ATS v1.0 configs.
For tez-site, keep
{code}
tez.history.logging.service.class = org.apache.tez.dag.history.logging.ats.ATSHistoryLoggingService
{code}
For yarn-site, keep
{code}
yarn.timeline-service.version = 1.0
yarn.timeline-service.store-class = org.apache.hadoop.yarn.server.timeline.LeveldbTimelineStore
{code}
and it's ok to add the HDP 2.3 configs that are not being used, e.g.,
{code}
yarn.timeline-service.entity-group-fs-store.group-id-plugin-classes = org.apache.tez.dag.history.logging.ats.TimelineCachePluginImpl
yarn.timeline-service.entity-group-fs-store.summary-store = org.apache.hadoop.yarn.server.timeline.RollingLevelDBTimelineStore
yarn.timeline-service.entity-group-fs-store.scan-interval-seconds = 60
yarn.timeline-service.entity-group-fs-store.cleaner-interval-seconds = 3600
yarn.timeline-service.entity-group-fs-store.retain-seconds = 604800
yarn.timeline-service.entity-group-fs-store.active-dir = /ats/active/
yarn.timeline-service.entity-group-fs-store.done-dir = /ats/done/
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)