Skip to content
Permalink
Browse files
AMBARI-23303 - Use NameNode Upgrade Timeout Override In All Upgrade P…
…acks
  • Loading branch information
jonathan-hurley committed Mar 20, 2018
1 parent b3f7779 commit b71c9ae963a6aeb54cfd8ea672f9e9894d1a7a09
Show file tree
Hide file tree
Showing 10 changed files with 63 additions and 63 deletions.
@@ -739,7 +739,7 @@
<function>setup_ranger_java_patches</function>
</task>
</pre-upgrade>

<pre-downgrade copy-upgrade="true" />

<upgrade>
@@ -758,7 +758,7 @@
<service name="HDFS">
<component name="NAMENODE">
<upgrade>
<task xsi:type="restart-task"/>
<task xsi:type="restart-task" timeout-config="upgrade.parameter.nn-restart.timeout"/>
</upgrade>
</component>

@@ -885,7 +885,7 @@
<function>setup_ranger_java_patches</function>
</task>
</pre-upgrade>

<pre-downgrade copy-upgrade="true" />

<upgrade>
@@ -904,7 +904,7 @@
<service name="HDFS">
<component name="NAMENODE">
<upgrade>
<task xsi:type="restart-task"/>
<task xsi:type="restart-task" timeout-config="upgrade.parameter.nn-restart.timeout"/>
</upgrade>
</component>

@@ -1238,7 +1238,7 @@
<function>delete_storm_local_data</function>
</task>
</pre-upgrade>

<pre-downgrade copy-upgrade="true" />

<upgrade>
@@ -1254,7 +1254,7 @@
<function>delete_storm_local_data</function>
</task>
</pre-upgrade>

<pre-downgrade copy-upgrade="true" />

<upgrade>
@@ -1266,9 +1266,9 @@
<message>Please rebuild your topology using the new Storm version dependencies and resubmit it using the newly created jar.</message>
</task>
</post-upgrade>

<post-downgrade copy-upgrade="true" />

</component>
</service>

@@ -1031,7 +1031,7 @@
<function>setup_ranger_java_patches</function>
</task>
</pre-upgrade>

<pre-downgrade copy-upgrade="true" />

<upgrade>
@@ -1050,7 +1050,7 @@
<service name="HDFS">
<component name="NAMENODE">
<upgrade>
<task xsi:type="restart-task"/>
<task xsi:type="restart-task" timeout-config="upgrade.parameter.nn-restart.timeout"/>
</upgrade>
</component>

@@ -1388,7 +1388,7 @@
<function>delete_storm_local_data</function>
</task>
</pre-upgrade>

<pre-downgrade copy-upgrade="true" />

<upgrade>
@@ -1404,7 +1404,7 @@
<function>delete_storm_local_data</function>
</task>
</pre-upgrade>

<pre-downgrade copy-upgrade="true" />

<upgrade>
@@ -1416,7 +1416,7 @@
<message>Please rebuild your topology using the new Storm version dependencies and resubmit it using the newly created jar.</message>
</task>
</post-upgrade>

<post-downgrade copy-upgrade="true" />
</component>
</service>
@@ -309,7 +309,7 @@
<summary>Calculating Yarn Properties for Spark Shuffle</summary>
</task>
</execute-stage>

<execute-stage service="YARN" component="RESOURCEMANAGER" title="Validate Root Queue Ordering Policy">
<task xsi:type="server_action" class="org.apache.ambari.server.serveraction.upgrades.FixCapacitySchedulerOrderingPolicy">
<summary>Validate Root Queue Ordering Policy</summary>
@@ -1133,7 +1133,7 @@
<function>setup_ranger_java_patches</function>
</task>
</pre-upgrade>

<pre-downgrade copy-upgrade="true" />

<upgrade>
@@ -1152,7 +1152,7 @@
<service name="HDFS">
<component name="NAMENODE">
<upgrade>
<task xsi:type="restart-task"/>
<task xsi:type="restart-task" timeout-config="upgrade.parameter.nn-restart.timeout"/>
</upgrade>
</component>

@@ -1490,7 +1490,7 @@
<function>delete_storm_local_data</function>
</task>
</pre-upgrade>

<pre-downgrade copy-upgrade="true" />

<upgrade>
@@ -1506,7 +1506,7 @@
<function>delete_storm_local_data</function>
</task>
</pre-upgrade>

<pre-downgrade copy-upgrade="true" />

<upgrade>
@@ -1518,9 +1518,9 @@
<message>Please rebuild your topology using the new Storm version dependencies and resubmit it using the newly created jar.</message>
</task>
</post-upgrade>

<post-downgrade copy-upgrade="true" />

</component>
</service>

@@ -70,7 +70,7 @@
<service name="FLUME">
<component>FLUME_HANDLER</component>
</service>

<service name="ACCUMULO">
<component>ACCUMULO_TRACER</component>
<component>ACCUMULO_GC</component>
@@ -610,7 +610,7 @@
<component>FLUME_HANDLER</component>
</service>
</group>

<group xsi:type="restart" name="ACCUMULO" title="Accumulo">
<service-check>false</service-check>
<skippable>true</skippable>
@@ -640,7 +640,7 @@

<group xsi:type="cluster" name="FINALIZE_PRE_CHECK" title="Finalize {{direction.text.proper}} Pre-Check">
<direction>UPGRADE</direction>

<execute-stage title="Check Component Versions">
<task xsi:type="server_action" class="org.apache.ambari.server.serveraction.upgrades.ComponentVersionCheckAction" />
</execute-stage>
@@ -720,7 +720,7 @@
<function>setup_ranger_java_patches</function>
</task>
</pre-upgrade>

<pre-downgrade copy-upgrade="true" />

<upgrade>
@@ -739,7 +739,7 @@
<service name="HDFS">
<component name="NAMENODE">
<upgrade>
<task xsi:type="restart-task"/>
<task xsi:type="restart-task" timeout-config="upgrade.parameter.nn-restart.timeout"/>
</upgrade>
</component>

@@ -34,7 +34,7 @@
</check-properties>
</configuration>
</prerequisite-checks>

<order>
<group xsi:type="cluster" name="PRE_CLUSTER" title="Prepare Upgrade">
<direction>UPGRADE</direction>
@@ -90,7 +90,7 @@
<component>ACCUMULO_MONITOR</component>
<component>ACCUMULO_MASTER</component>
</service>

<service name="STORM">
<component>DRPC_SERVER</component>
<component>STORM_UI_SERVER</component>
@@ -748,7 +748,7 @@
<service>HBASE</service>
</priority>
</group>

<group xsi:type="restart" name="HIVE_MASTERS" title="Hive Masters">
<service-check>false</service-check>
<skippable>true</skippable>
@@ -823,7 +823,7 @@
<service>SPARK</service>
</priority>
</group>

<group xsi:type="restart" name="FALCON" title="Falcon">
<service-check>false</service-check>
<skippable>true</skippable>
@@ -881,7 +881,7 @@
<component>FLUME_HANDLER</component>
</service>
</group>

<group xsi:type="restart" name="ACCUMULO" title="Accumulo">
<service-check>false</service-check>
<skippable>true</skippable>
@@ -911,7 +911,7 @@

<group xsi:type="cluster" name="FINALIZE_PRE_CHECK" title="Finalize {{direction.text.proper}} Pre-Check">
<direction>UPGRADE</direction>

<execute-stage title="Check Component Versions">
<task xsi:type="server_action" class="org.apache.ambari.server.serveraction.upgrades.ComponentVersionCheckAction" />
</execute-stage>
@@ -991,7 +991,7 @@
<function>setup_ranger_java_patches</function>
</task>
</pre-upgrade>

<pre-downgrade copy-upgrade="true" />

<upgrade>
@@ -1010,7 +1010,7 @@
<service name="HDFS">
<component name="NAMENODE">
<upgrade>
<task xsi:type="restart-task"/>
<task xsi:type="restart-task" timeout-config="upgrade.parameter.nn-restart.timeout"/>
</upgrade>
</component>

@@ -1348,7 +1348,7 @@
<function>delete_storm_local_data</function>
</task>
</pre-upgrade>

<pre-downgrade copy-upgrade="true" />

<upgrade>
@@ -1364,7 +1364,7 @@
<function>delete_storm_local_data</function>
</task>
</pre-upgrade>

<pre-downgrade copy-upgrade="true" />

<upgrade>
@@ -1376,7 +1376,7 @@
<message>Please rebuild your topology using the new Storm version dependencies and resubmit it using the newly created jar.</message>
</task>
</post-upgrade>

<post-downgrade copy-upgrade="true" />
</component>
</service>

0 comments on commit b71c9ae

Please sign in to comment.