diff --git hadoop-project/src/site/site.xml hadoop-project/src/site/site.xml index e1d4c92..6a61a83 100644 --- hadoop-project/src/site/site.xml +++ hadoop-project/src/site/site.xml @@ -123,6 +123,7 @@ + diff --git hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/apt/NodeManagerRestart.apt.vm hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/apt/NodeManagerRestart.apt.vm new file mode 100644 index 0000000..03a335b --- /dev/null +++ hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/apt/NodeManagerRestart.apt.vm @@ -0,0 +1,57 @@ +~~ Licensed under the Apache License, Version 2.0 (the "License"); +~~ you may not use this file except in compliance with the License. +~~ You may obtain a copy of the License at +~~ +~~ http://www.apache.org/licenses/LICENSE-2.0 +~~ +~~ Unless required by applicable law or agreed to in writing, software +~~ distributed under the License is distributed on an "AS IS" BASIS, +~~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +~~ See the License for the specific language governing permissions and +~~ limitations under the License. See accompanying LICENSE file. + + --- + NodeManager Restart + --- + --- + ${maven.build.timestamp} + +NodeManager Restart + +* Introduction + + NM restart is a feature where the NodeManager can be restarted without losing + the active containers running on the node. At a high level, the NM stores any + necessary state synchronously to a state store as it processes requests. + When the NM restarts it recovers by loading state for various subsystems and + those systems perform recovery processing using the loaded state. + +* Configurations to enable NM Restart + + Enabling NM Restart consists of two steps: + + [[1]] To enable NM Restart functionality, set the following property in <> to true: + +*--------------------------------------+--------------------------------------+ +|| Property || Value | +*--------------------------------------+--------------------------------------+ +| <<>> | | +| | <<>> | +*--------------------------------------+--------------------------------------+ + + [[2]] Configure a path to the local filesystem directory where the state + should be stored. + +*--------------------------------------+--------------------------------------+ +|| Property || Description | +*--------------------------------------+--------------------------------------+ +| <<>> | | +| | The local filesystem directory in which the node manager will store state | +| | when recovery is enabled. | +| | The default value is set to | +| | <<<${hadoop.tmp.dir}/yarn-nm-recovery>>>. | +*--------------------------------------+--------------------------------------+ + + + +