ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Hurley (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-11006) YARN Upgrade Pack For HDP-2.2 To HDP-2.3
Date Thu, 07 May 2015 22:21:03 GMT
Jonathan Hurley created AMBARI-11006:
----------------------------------------

             Summary: YARN Upgrade Pack For HDP-2.2 To HDP-2.3
                 Key: AMBARI-11006
                 URL: https://issues.apache.org/jira/browse/AMBARI-11006
             Project: Ambari
          Issue Type: Task
          Components: ambari-server
    Affects Versions: 2.1.0
            Reporter: Jonathan Hurley
            Assignee: Jonathan Hurley
            Priority: Critical
             Fix For: 2.1.0


h2. Support YARN ResourceManager HA
If High Availability is not enabled for the YARN ResourceManager, shut down the ResourceManager
process, switch to the newer version, and start the ResourceManager process:
{noformat}
su - yarn -c "/usr/hdp/current/hadoop-yarn-resourcemanager/sbin/ yarn-daemon.sh stop resourcemanager"
hdp-select set hadoop-yarn-resourcemanager 2.2.4.0-2633
su - yarn -c "/usr/hdp/current/hadoop-yarn-resourcemanager/sbin/ yarn-daemon.sh start resourcemanager"
{noformat}
If High Availability is enabled for the YARN ResourceManager, you’ll need to upgrade both
ResourceManager processes, starting with the standby process. This is similar to the process
you used for the NameNode pair:

1. Upgrade the standby process
2. Failover from active to standby
3. Upgrade the new standby process (formerly the active process)

In the following instructions, RM1 refers to the currently active ResourceManager. RM2 refers
to the current standby ResourceManager.

1. Shut down the standby Resource Manager (RM2), switch to the newer version, and start RM2:
{noformat}
su - yarn -c "/usr/hdp/current/hadoop-yarn-resourcemanager/sbin/ yarn-daemon.sh stop resourcemanager"
hdp-select set hadoop-yarn-resourcemanager 2.2.4.0-2633
su - yarn -c "/usr/hdp/current/hadoop-yarn-resourcemanager/sbin/ yarn-daemon.sh start resourcemanager"
{noformat}
RM2 will start, and will become the standby ResourceManager.

2. To switch the standby ResourceManager, stop the active ResourceManager:

su - yarn -c "/usr/hdp/current/hadoop-yarn-resourcemanager/sbin/ yarn-daemon.sh stop resourcemanager"

3. Shut down the new standby ResourceManager (RM1), switch to the new version, and start RM1:
{noformat}
su - yarn -c "/usr/hdp/current/hadoop-yarn-resourcemanager/sbin/ yarn-daemon.sh stop resourcemanager"
hdp-select set hadoop-yarn-resourcemanager 2.2.4.0-2633
su - yarn -c "/usr/hdp/current/hadoop-yarn-resourcemanager/sbin/ yarn-daemon.sh start resourcemanager"
{noformat}
RM1 will start and become the standby ResourceManager. For version info, see http://<node-name>:8088/cluster/cluster.

h2. YARN Configuration Changes
|YARN|	|-|	|-|	|yarn.node-labels.enabled|	|FALSE|	|yarn-site.xml|	|Y|	|No|
|YARN|	|-|	|-|	|yarn.timeline-service.recovery.enabled|	|TRUE|	|yarn-site.xml|	|Y|	|No|
|YARN|	|-|	|-|	|yarn.timeline-service.state-store-class|	|org.apache.hadoop.yarn.server.timeline.recovery.LeveldbTimelineStateStore|
|yarn-site.xml|	|Y|	|No|
|YARN|	|-|	|-|	|yarn.timeline-service.leveldb-state-store.path|	|<the same as the default
of "yarn.timeline-service.leveldb-timeline-store.path">|	|yarn-site.xml|	|Y|	|No|
							
|MapReduce|	|mapreduce.job.speculative.speculativecap|	|mapred-site.xml|	|mapreduce.job.speculative.speculative-cap-running-tasks|
|0.1|	|mapred-site.xml|	|Y|	|No|
|MapReduce|	|mapreduce.task.tmp.dir|	mapred-site.xml|	|<Deleted>|	|-|	|mapred-site.xml|
|MapReduce|	|-|	|-|	|mapreduce.fileoutputcommitter.algorithm.version|	 |1|	|mapred-site.xml|
|Y|	|No|



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

Mime
View raw message