Browse Source

AMBARI-18968. Ambari Server Unit Test failure: org.apache.ambari.server.state.ServicePropertiesTest.validatePropertySchemaOfServiceXMLs (alejandro)

Alejandro Fernandez 8 years ago
parent
commit
e36dc9c6d0
24 changed files with 284 additions and 284 deletions
  1. 3 3
      ambari-server/src/main/resources/stacks/PERF/1.0/configuration/cluster-env.xml
  2. 1 1
      ambari-server/src/main/resources/stacks/PERF/1.0/services/GRUMPY/configuration/grumpy-site.xml
  3. 1 1
      ambari-server/src/main/resources/stacks/PERF/1.0/services/HAPPY/configuration/happy-site.xml
  4. 15 15
      ambari-server/src/main/resources/stacks/PERF/1.0/services/HBASE/configuration/hbase-env.xml
  5. 1 1
      ambari-server/src/main/resources/stacks/PERF/1.0/services/HBASE/configuration/hbase-log4j.xml
  6. 3 3
      ambari-server/src/main/resources/stacks/PERF/1.0/services/HBASE/configuration/hbase-logsearch-conf.xml
  7. 3 3
      ambari-server/src/main/resources/stacks/PERF/1.0/services/HBASE/configuration/hbase-policy.xml
  8. 37 37
      ambari-server/src/main/resources/stacks/PERF/1.0/services/HBASE/configuration/hbase-site.xml
  9. 16 16
      ambari-server/src/main/resources/stacks/PERF/1.0/services/HDFS/configuration/core-site.xml
  10. 22 22
      ambari-server/src/main/resources/stacks/PERF/1.0/services/HDFS/configuration/hadoop-env.xml
  11. 1 1
      ambari-server/src/main/resources/stacks/PERF/1.0/services/HDFS/configuration/hadoop-metrics2.properties.xml
  12. 11 11
      ambari-server/src/main/resources/stacks/PERF/1.0/services/HDFS/configuration/hadoop-policy.xml
  13. 1 1
      ambari-server/src/main/resources/stacks/PERF/1.0/services/HDFS/configuration/hdfs-log4j.xml
  14. 3 3
      ambari-server/src/main/resources/stacks/PERF/1.0/services/HDFS/configuration/hdfs-logsearch-conf.xml
  15. 54 54
      ambari-server/src/main/resources/stacks/PERF/1.0/services/HDFS/configuration/hdfs-site.xml
  16. 7 7
      ambari-server/src/main/resources/stacks/PERF/1.0/services/HDFS/configuration/ssl-client.xml
  17. 8 8
      ambari-server/src/main/resources/stacks/PERF/1.0/services/HDFS/configuration/ssl-server.xml
  18. 1 1
      ambari-server/src/main/resources/stacks/PERF/1.0/services/SLEEPY/configuration/sleepy-site.xml
  19. 1 1
      ambari-server/src/main/resources/stacks/PERF/1.0/services/SNOW/configuration/snow-site.xml
  20. 1 1
      ambari-server/src/main/resources/stacks/PERF/1.0/services/YARN/configuration-mapred/mapred-env.xml
  21. 14 14
      ambari-server/src/main/resources/stacks/PERF/1.0/services/YARN/configuration-mapred/mapred-site.xml
  22. 4 4
      ambari-server/src/main/resources/stacks/PERF/1.0/services/YARN/configuration/yarn-env.xml
  23. 1 1
      ambari-server/src/main/resources/stacks/PERF/1.0/services/YARN/configuration/yarn-log4j.xml
  24. 75 75
      ambari-server/src/main/resources/stacks/PERF/1.0/services/YARN/configuration/yarn-site.xml

+ 3 - 3
ambari-server/src/main/resources/stacks/PERF/1.0/configuration/cluster-env.xml

@@ -34,7 +34,7 @@
       <overridable>false</overridable>
       <overridable>false</overridable>
       <visible>false</visible>
       <visible>false</visible>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
 
 
   <!-- Define stack_features property in the base stack. DO NOT override this property for each stack version -->
   <!-- Define stack_features property in the base stack. DO NOT override this property for each stack version -->
@@ -50,7 +50,7 @@
       <overridable>false</overridable>
       <overridable>false</overridable>
       <visible>false</visible>
       <visible>false</visible>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
 
 
   <property>
   <property>
@@ -69,7 +69,7 @@
     <name>security_enabled</name>
     <name>security_enabled</name>
     <value>false</value>
     <value>false</value>
     <description>Security</description>
     <description>Security</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
 
 
 </configuration>
 </configuration>

+ 1 - 1
ambari-server/src/main/resources/stacks/PERF/1.0/services/GRUMPY/configuration/grumpy-site.xml

@@ -31,6 +31,6 @@
       <maximum>100</maximum>
       <maximum>100</maximum>
       <increment-step>10</increment-step>
       <increment-step>10</increment-step>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
 </configuration>
 </configuration>

+ 1 - 1
ambari-server/src/main/resources/stacks/PERF/1.0/services/HAPPY/configuration/happy-site.xml

@@ -31,6 +31,6 @@
       <maximum>100</maximum>
       <maximum>100</maximum>
       <increment-step>10</increment-step>
       <increment-step>10</increment-step>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
 </configuration>
 </configuration>

+ 15 - 15
ambari-server/src/main/resources/stacks/PERF/1.0/services/HBASE/configuration/hbase-env.xml

@@ -30,7 +30,7 @@
       <type>directory</type>
       <type>directory</type>
       <overridable>false</overridable>
       <overridable>false</overridable>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>hbase_regionserver_heapsize</name>
     <name>hbase_regionserver_heapsize</name>
@@ -44,7 +44,7 @@
       <unit>MB</unit>
       <unit>MB</unit>
       <increment-step>256</increment-step>
       <increment-step>256</increment-step>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>hbase_master_heapsize</name>
     <name>hbase_master_heapsize</name>
@@ -58,19 +58,19 @@
       <unit>MB</unit>
       <unit>MB</unit>
       <increment-step>256</increment-step>
       <increment-step>256</increment-step>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>hbase_user_nofile_limit</name>
     <name>hbase_user_nofile_limit</name>
     <value>32000</value>
     <value>32000</value>
     <description>Max open files limit setting for HBASE user.</description>
     <description>Max open files limit setting for HBASE user.</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>hbase_user_nproc_limit</name>
     <name>hbase_user_nproc_limit</name>
     <value>16000</value>
     <value>16000</value>
     <description>Max number of processes limit setting for HBASE user.</description>
     <description>Max number of processes limit setting for HBASE user.</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>hbase_java_io_tmpdir</name>
     <name>hbase_java_io_tmpdir</name>
@@ -79,17 +79,17 @@
     <value-attributes>
     <value-attributes>
       <type>directory</type>
       <type>directory</type>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>hbase_principal_name</name>
     <name>hbase_principal_name</name>
     <description>HBase principal name</description>
     <description>HBase principal name</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>hbase_user_keytab</name>
     <name>hbase_user_keytab</name>
     <description>HBase keytab path</description>
     <description>HBase keytab path</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>hbase_regionserver_shutdown_timeout</name>
     <name>hbase_regionserver_shutdown_timeout</name>
@@ -117,7 +117,7 @@
       <type>directory</type>
       <type>directory</type>
       <overridable>false</overridable>
       <overridable>false</overridable>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>hbase_pid_dir</name>
     <name>hbase_pid_dir</name>
@@ -129,7 +129,7 @@
       <overridable>false</overridable>
       <overridable>false</overridable>
       <editable-only-at-install>true</editable-only-at-install>
       <editable-only-at-install>true</editable-only-at-install>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>hbase_regionserver_xmn_max</name>
     <name>hbase_regionserver_xmn_max</name>
@@ -144,7 +144,7 @@
       <type>int</type>
       <type>int</type>
       <unit>MB</unit>
       <unit>MB</unit>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>hbase_regionserver_xmn_ratio</name>
     <name>hbase_regionserver_xmn_ratio</name>
@@ -154,7 +154,7 @@
     <value-attributes>
     <value-attributes>
       <type>float</type>
       <type>float</type>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>hbase_user</name>
     <name>hbase_user</name>
@@ -166,7 +166,7 @@
       <type>user</type>
       <type>user</type>
       <overridable>false</overridable>
       <overridable>false</overridable>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>hbase_max_direct_memory_size</name>
     <name>hbase_max_direct_memory_size</name>
@@ -197,7 +197,7 @@
       </entries>
       </entries>
       <selection-cardinality>1</selection-cardinality>
       <selection-cardinality>1</selection-cardinality>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
 
 
   <!-- These properties exist in HDP 2.3 and higher. -->
   <!-- These properties exist in HDP 2.3 and higher. -->
@@ -287,6 +287,6 @@ export HBASE_MASTER_OPTS="$HBASE_MASTER_OPTS {% if hbase_max_direct_memory_size
     <value-attributes>
     <value-attributes>
       <type>content</type>
       <type>content</type>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
 </configuration>
 </configuration>

+ 1 - 1
ambari-server/src/main/resources/stacks/PERF/1.0/services/HBASE/configuration/hbase-log4j.xml

@@ -141,6 +141,6 @@ log4j.logger.org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher=INFO
       <type>content</type>
       <type>content</type>
       <show-property-name>false</show-property-name>
       <show-property-name>false</show-property-name>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
 </configuration>
 </configuration>

+ 3 - 3
ambari-server/src/main/resources/stacks/PERF/1.0/services/HBASE/configuration/hbase-logsearch-conf.xml

@@ -25,14 +25,14 @@
     <display-name>Service name</display-name>
     <display-name>Service name</display-name>
     <description>Service name for Logsearch Portal (label)</description>
     <description>Service name for Logsearch Portal (label)</description>
     <value>HBase</value>
     <value>HBase</value>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>component_mappings</name>
     <name>component_mappings</name>
     <display-name>Component mapping</display-name>
     <display-name>Component mapping</display-name>
     <description>Logsearch component logid mapping list (e.g.: COMPONENT1:logid1,logid2;COMPONENT2:logid3)</description>
     <description>Logsearch component logid mapping list (e.g.: COMPONENT1:logid1,logid2;COMPONENT2:logid3)</description>
     <value>HBASE_MASTER:hbase_master;HBASE_REGIONSERVER:hbase_regionserver;PHOENIX_QUERY_SERVER:hbase_phoenix_server</value>
     <value>HBASE_MASTER:hbase_master;HBASE_REGIONSERVER:hbase_regionserver;PHOENIX_QUERY_SERVER:hbase_phoenix_server</value>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>content</name>
     <name>content</name>
@@ -106,6 +106,6 @@
       <type>content</type>
       <type>content</type>
       <show-property-name>false</show-property-name>
       <show-property-name>false</show-property-name>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
 </configuration>
 </configuration>

+ 3 - 3
ambari-server/src/main/resources/stacks/PERF/1.0/services/HBASE/configuration/hbase-policy.xml

@@ -28,7 +28,7 @@
     The ACL is a comma-separated list of user and group names. The user and 
     The ACL is a comma-separated list of user and group names. The user and 
     group list is separated by a blank. For e.g. "alice,bob users,wheel". 
     group list is separated by a blank. For e.g. "alice,bob users,wheel". 
     A special value of "*" means all users are allowed.</description>
     A special value of "*" means all users are allowed.</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>security.admin.protocol.acl</name>
     <name>security.admin.protocol.acl</name>
@@ -38,7 +38,7 @@
     The ACL is a comma-separated list of user and group names. The user and 
     The ACL is a comma-separated list of user and group names. The user and 
     group list is separated by a blank. For e.g. "alice,bob users,wheel". 
     group list is separated by a blank. For e.g. "alice,bob users,wheel". 
     A special value of "*" means all users are allowed.</description>
     A special value of "*" means all users are allowed.</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>security.masterregion.protocol.acl</name>
     <name>security.masterregion.protocol.acl</name>
@@ -48,6 +48,6 @@
     The ACL is a comma-separated list of user and group names. The user and 
     The ACL is a comma-separated list of user and group names. The user and 
     group list is separated by a blank. For e.g. "alice,bob users,wheel". 
     group list is separated by a blank. For e.g. "alice,bob users,wheel". 
     A special value of "*" means all users are allowed.</description>
     A special value of "*" means all users are allowed.</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
 </configuration>
 </configuration>

+ 37 - 37
ambari-server/src/main/resources/stacks/PERF/1.0/services/HBASE/configuration/hbase-site.xml

@@ -42,7 +42,7 @@
       false, startup will run all HBase and ZooKeeper daemons together
       false, startup will run all HBase and ZooKeeper daemons together
       in the one JVM.
       in the one JVM.
     </description>
     </description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>hbase.tmp.dir</name>
     <name>hbase.tmp.dir</name>
@@ -56,21 +56,21 @@
     <value-attributes>
     <value-attributes>
       <type>directory</type>
       <type>directory</type>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>hbase.local.dir</name>
     <name>hbase.local.dir</name>
     <value>${hbase.tmp.dir}/local</value>
     <value>${hbase.tmp.dir}/local</value>
     <description>Directory on the local filesystem to be used as a local storage
     <description>Directory on the local filesystem to be used as a local storage
     </description>
     </description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>hbase.master.info.bindAddress</name>
     <name>hbase.master.info.bindAddress</name>
     <value>0.0.0.0</value>
     <value>0.0.0.0</value>
     <description>The bind address for the HBase Master web UI
     <description>The bind address for the HBase Master web UI
     </description>
     </description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>hbase.regionserver.handler.count</name>
     <name>hbase.regionserver.handler.count</name>
@@ -86,7 +86,7 @@
       <maximum>240</maximum>
       <maximum>240</maximum>
       <increment-step>1</increment-step>
       <increment-step>1</increment-step>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>hbase.hregion.majorcompaction</name>
     <name>hbase.hregion.majorcompaction</name>
@@ -101,7 +101,7 @@
       <maximum>2592000000</maximum>
       <maximum>2592000000</maximum>
       <unit>milliseconds</unit>
       <unit>milliseconds</unit>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
 
 
   <property>
   <property>
@@ -127,7 +127,7 @@
       </entries>
       </entries>
       <selection-cardinality>1</selection-cardinality>
       <selection-cardinality>1</selection-cardinality>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>hbase.hregion.memstore.flush.size</name>
     <name>hbase.hregion.memstore.flush.size</name>
@@ -143,7 +143,7 @@
       <increment-step>1048576</increment-step>
       <increment-step>1048576</increment-step>
       <unit>B</unit>
       <unit>B</unit>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>hbase.hregion.memstore.mslab.enabled</name>
     <name>hbase.hregion.memstore.mslab.enabled</name>
@@ -157,7 +157,7 @@
     <value-attributes>
     <value-attributes>
       <type>boolean</type>
       <type>boolean</type>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>hbase.hregion.max.filesize</name>
     <name>hbase.hregion.max.filesize</name>
@@ -174,7 +174,7 @@
       <unit>B</unit>
       <unit>B</unit>
       <increment-step>1073741824</increment-step>
       <increment-step>1073741824</increment-step>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>hbase.client.scanner.caching</name>
     <name>hbase.client.scanner.caching</name>
@@ -194,7 +194,7 @@
       <increment-step>100</increment-step>
       <increment-step>100</increment-step>
       <unit>rows</unit>
       <unit>rows</unit>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>zookeeper.session.timeout</name>
     <name>zookeeper.session.timeout</name>
@@ -218,7 +218,7 @@
       <unit>milliseconds</unit>
       <unit>milliseconds</unit>
       <increment-step>10000</increment-step>
       <increment-step>10000</increment-step>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>hbase.client.keyvalue.maxsize</name>
     <name>hbase.client.keyvalue.maxsize</name>
@@ -239,7 +239,7 @@
       <unit>B</unit>
       <unit>B</unit>
       <increment-step>262144</increment-step>
       <increment-step>262144</increment-step>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>hbase.hstore.compactionThreshold</name>
     <name>hbase.hstore.compactionThreshold</name>
@@ -266,7 +266,7 @@
         </entry>
         </entry>
       </entries>
       </entries>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>hbase.hstore.flush.retries.number</name>
     <name>hbase.hstore.flush.retries.number</name>
@@ -274,7 +274,7 @@
     <description>
     <description>
       The number of times the region flush operation will be retried.
       The number of times the region flush operation will be retried.
     </description>
     </description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>hbase.hstore.blockingStoreFiles</name>
     <name>hbase.hstore.blockingStoreFiles</name>
@@ -289,7 +289,7 @@
     <value-attributes>
     <value-attributes>
       <type>int</type>
       <type>int</type>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>hfile.block.cache.size</name>
     <name>hfile.block.cache.size</name>
@@ -302,7 +302,7 @@
       <maximum>0.8</maximum>
       <maximum>0.8</maximum>
       <increment-step>0.01</increment-step>
       <increment-step>0.01</increment-step>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <!-- Additional configuration specific to HBase security -->
   <!-- Additional configuration specific to HBase security -->
   <property>
   <property>
@@ -318,7 +318,7 @@
         <name>hbase_user</name>
         <name>hbase_user</name>
       </property>
       </property>
     </depends-on>
     </depends-on>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>hbase.security.authentication</name>
     <name>hbase.security.authentication</name>
@@ -341,7 +341,7 @@
       </entries>
       </entries>
       <selection-cardinality>1</selection-cardinality>
       <selection-cardinality>1</selection-cardinality>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>hbase.security.authorization</name>
     <name>hbase.security.authorization</name>
@@ -362,7 +362,7 @@
       </entries>
       </entries>
       <selection-cardinality>1</selection-cardinality>
       <selection-cardinality>1</selection-cardinality>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>hbase.coprocessor.region.classes</name>
     <name>hbase.coprocessor.region.classes</name>
@@ -386,7 +386,7 @@
         <name>hbase.security.authentication</name>
         <name>hbase.security.authentication</name>
       </property>
       </property>
     </depends-on>
     </depends-on>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>hbase.coprocessor.master.classes</name>
     <name>hbase.coprocessor.master.classes</name>
@@ -407,7 +407,7 @@
         <name>hbase.security.authorization</name>
         <name>hbase.security.authorization</name>
       </property>
       </property>
     </depends-on>
     </depends-on>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>hbase.zookeeper.property.clientPort</name>
     <name>hbase.zookeeper.property.clientPort</name>
@@ -415,7 +415,7 @@
     <description>Property from ZooKeeper's config zoo.cfg.
     <description>Property from ZooKeeper's config zoo.cfg.
       The port at which the clients will connect.
       The port at which the clients will connect.
     </description>
     </description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <!--
   <!--
   The following three properties are used together to create the list of
   The following three properties are used together to create the list of
@@ -434,7 +434,7 @@
     <value-attributes>
     <value-attributes>
       <type>multiLine</type>
       <type>multiLine</type>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <!-- End of properties used to generate ZooKeeper host:port quorum list. -->
   <!-- End of properties used to generate ZooKeeper host:port quorum list. -->
   <property>
   <property>
@@ -447,7 +447,7 @@
       and will not be downgraded.  ZooKeeper versions before 3.4 do not support multi-update and will
       and will not be downgraded.  ZooKeeper versions before 3.4 do not support multi-update and will
       not fail gracefully if multi-update is invoked (see ZOOKEEPER-1495).
       not fail gracefully if multi-update is invoked (see ZOOKEEPER-1495).
     </description>
     </description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>zookeeper.znode.parent</name>
     <name>zookeeper.znode.parent</name>
@@ -457,7 +457,7 @@
       By default, all of HBase's ZooKeeper file path are configured with a
       By default, all of HBase's ZooKeeper file path are configured with a
       relative path, so they will all go under this directory unless changed.
       relative path, so they will all go under this directory unless changed.
     </description>
     </description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>hbase.client.retries.number</name>
     <name>hbase.client.retries.number</name>
@@ -475,7 +475,7 @@
       <maximum>50</maximum>
       <maximum>50</maximum>
       <increment-step>1</increment-step>
       <increment-step>1</increment-step>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>hbase.rpc.timeout</name>
     <name>hbase.rpc.timeout</name>
@@ -493,13 +493,13 @@
       <unit>milliseconds</unit>
       <unit>milliseconds</unit>
       <increment-step>10000</increment-step>
       <increment-step>10000</increment-step>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>hbase.defaults.for.version.skip</name>
     <name>hbase.defaults.for.version.skip</name>
     <value>true</value>
     <value>true</value>
     <description>Disables version verification.</description>
     <description>Disables version verification.</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>phoenix.query.timeoutMs</name>
     <name>phoenix.query.timeoutMs</name>
@@ -513,18 +513,18 @@
       <unit>milliseconds</unit>
       <unit>milliseconds</unit>
       <increment-step>10000</increment-step>
       <increment-step>10000</increment-step>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>dfs.domain.socket.path</name>
     <name>dfs.domain.socket.path</name>
     <value>/var/lib/hadoop-hdfs/dn_socket</value>
     <value>/var/lib/hadoop-hdfs/dn_socket</value>
     <description>Path to domain socket.</description>
     <description>Path to domain socket.</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>hbase.rpc.protection</name>
     <name>hbase.rpc.protection</name>
     <value>authentication</value>
     <value>authentication</value>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   
   
   <!-- These properties exist in HDP 2.3 and higher. -->
   <!-- These properties exist in HDP 2.3 and higher. -->
@@ -537,25 +537,25 @@
       <overridable>false</overridable>
       <overridable>false</overridable>
       <type>int</type>
       <type>int</type>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>hbase.master.info.port</name>
     <name>hbase.master.info.port</name>
     <value>16010</value>
     <value>16010</value>
     <description>The port for the HBase Master web UI.</description>
     <description>The port for the HBase Master web UI.</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>hbase.regionserver.port</name>
     <name>hbase.regionserver.port</name>
     <value>16020</value>
     <value>16020</value>
     <description>The port the HBase RegionServer binds to.</description>
     <description>The port the HBase RegionServer binds to.</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>hbase.regionserver.info.port</name>
     <name>hbase.regionserver.info.port</name>
     <value>16030</value>
     <value>16030</value>
     <description>The port for the HBase RegionServer web UI.</description>
     <description>The port for the HBase RegionServer web UI.</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
 
 
 
 
@@ -563,7 +563,7 @@
   <property>
   <property>
     <name>hbase.master.ui.readonly</name>
     <name>hbase.master.ui.readonly</name>
     <value>false</value>
     <value>false</value>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>zookeeper.recovery.retry</name>
     <name>zookeeper.recovery.retry</name>

+ 16 - 16
ambari-server/src/main/resources/stacks/PERF/1.0/services/HDFS/configuration/core-site.xml

@@ -23,7 +23,7 @@
     <name>ha.failover-controller.active-standby-elector.zk.op.retries</name>
     <name>ha.failover-controller.active-standby-elector.zk.op.retries</name>
     <value>120</value>
     <value>120</value>
     <description>ZooKeeper Failover Controller retries setting for your environment</description>
     <description>ZooKeeper Failover Controller retries setting for your environment</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <!-- i/o properties -->
   <!-- i/o properties -->
   <property>
   <property>
@@ -33,21 +33,21 @@
       The size of this buffer should probably be a multiple of hardware
       The size of this buffer should probably be a multiple of hardware
       page size (4096 on Intel x86), and it determines how much data is
       page size (4096 on Intel x86), and it determines how much data is
       buffered during read and write operations.</description>
       buffered during read and write operations.</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>io.serializations</name>
     <name>io.serializations</name>
     <value>org.apache.hadoop.io.serializer.WritableSerialization</value>
     <value>org.apache.hadoop.io.serializer.WritableSerialization</value>
     <description> A list of comma-delimited serialization classes that can be used for obtaining serializers and deserializers.
     <description> A list of comma-delimited serialization classes that can be used for obtaining serializers and deserializers.
     </description>
     </description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>io.compression.codecs</name>
     <name>io.compression.codecs</name>
     <value>org.apache.hadoop.io.compress.GzipCodec,org.apache.hadoop.io.compress.DefaultCodec,org.apache.hadoop.io.compress.SnappyCodec</value>
     <value>org.apache.hadoop.io.compress.GzipCodec,org.apache.hadoop.io.compress.DefaultCodec,org.apache.hadoop.io.compress.SnappyCodec</value>
     <description>A list of the compression codec classes that can be used
     <description>A list of the compression codec classes that can be used
       for compression/decompression.</description>
       for compression/decompression.</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <!-- file system properties -->
   <!-- file system properties -->
   <property>
   <property>
@@ -68,7 +68,7 @@
       If trash is disabled server side then the client side configuration is checked.
       If trash is disabled server side then the client side configuration is checked.
       If trash is enabled on the server side then the value configured on the server is used and the client configuration value is ignored.
       If trash is enabled on the server side then the value configured on the server is used and the client configuration value is ignored.
     </description>
     </description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <!-- ipc properties: copied from kryptonite configuration -->
   <!-- ipc properties: copied from kryptonite configuration -->
   <property>
   <property>
@@ -77,7 +77,7 @@
     <description>Defines the threshold number of connections after which
     <description>Defines the threshold number of connections after which
       connections will be inspected for idleness.
       connections will be inspected for idleness.
     </description>
     </description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>ipc.client.connection.maxidletime</name>
     <name>ipc.client.connection.maxidletime</name>
@@ -85,13 +85,13 @@
     <description>The maximum time after which a client will bring down the
     <description>The maximum time after which a client will bring down the
       connection to the server.
       connection to the server.
     </description>
     </description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>ipc.client.connect.max.retries</name>
     <name>ipc.client.connect.max.retries</name>
     <value>50</value>
     <value>50</value>
     <description>Defines the maximum number of retries for IPC connections.</description>
     <description>Defines the maximum number of retries for IPC connections.</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>ipc.server.tcpnodelay</name>
     <name>ipc.server.tcpnodelay</name>
@@ -102,7 +102,7 @@
       decrease latency
       decrease latency
       with a cost of more/smaller packets.
       with a cost of more/smaller packets.
     </description>
     </description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <!-- Web Interface Configuration -->
   <!-- Web Interface Configuration -->
   <property>
   <property>
@@ -113,7 +113,7 @@
       not be exposed to public. Enable this option if the interfaces
       not be exposed to public. Enable this option if the interfaces
       are only reachable by those who have the right authorization.
       are only reachable by those who have the right authorization.
     </description>
     </description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>hadoop.security.authentication</name>
     <name>hadoop.security.authentication</name>
@@ -122,7 +122,7 @@
       Set the authentication for the cluster. Valid values are: simple or
       Set the authentication for the cluster. Valid values are: simple or
       kerberos.
       kerberos.
     </description>
     </description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>hadoop.security.authorization</name>
     <name>hadoop.security.authorization</name>
@@ -130,7 +130,7 @@
     <description>
     <description>
       Enable authorization for different protocols.
       Enable authorization for different protocols.
     </description>
     </description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>hadoop.security.auth_to_local</name>
     <name>hadoop.security.auth_to_local</name>
@@ -176,7 +176,7 @@
     <value-attributes>
     <value-attributes>
       <type>multiLine</type>
       <type>multiLine</type>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>net.topology.script.file.name</name>
     <name>net.topology.script.file.name</name>
@@ -184,7 +184,7 @@
     <description>
     <description>
       Location of topology script used by Hadoop to determine the rack location of nodes.
       Location of topology script used by Hadoop to determine the rack location of nodes.
     </description>
     </description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
 
 
   <!-- Properties from HDP 2.2 and higher -->
   <!-- Properties from HDP 2.2 and higher -->
@@ -194,7 +194,7 @@
     <description>
     <description>
       Indicates if anonymous requests are allowed when using &apos;simple&apos; authentication.
       Indicates if anonymous requests are allowed when using &apos;simple&apos; authentication.
     </description>
     </description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>hadoop.security.key.provider.path</name>
     <name>hadoop.security.key.provider.path</name>
@@ -220,6 +220,6 @@
         <name>ranger.service.https.attrib.ssl.enabled</name>
         <name>ranger.service.https.attrib.ssl.enabled</name>
       </property>
       </property>
     </depends-on>
     </depends-on>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
 </configuration>
 </configuration>

+ 22 - 22
ambari-server/src/main/resources/stacks/PERF/1.0/services/HDFS/configuration/hadoop-env.xml

@@ -30,7 +30,7 @@
       <type>directory</type>
       <type>directory</type>
       <overridable>false</overridable>
       <overridable>false</overridable>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>hadoop_pid_dir_prefix</name>
     <name>hadoop_pid_dir_prefix</name>
@@ -42,7 +42,7 @@
       <overridable>false</overridable>
       <overridable>false</overridable>
       <editable-only-at-install>true</editable-only-at-install>
       <editable-only-at-install>true</editable-only-at-install>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>hadoop_root_logger</name>
     <name>hadoop_root_logger</name>
@@ -52,7 +52,7 @@
     <value-attributes>
     <value-attributes>
       <overridable>false</overridable>
       <overridable>false</overridable>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>hadoop_heapsize</name>
     <name>hadoop_heapsize</name>
@@ -64,7 +64,7 @@
       <unit>MB</unit>
       <unit>MB</unit>
       <overridable>false</overridable>
       <overridable>false</overridable>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>namenode_heapsize</name>
     <name>namenode_heapsize</name>
@@ -85,7 +85,7 @@
         <name>dfs.datanode.data.dir</name>
         <name>dfs.datanode.data.dir</name>
       </property>
       </property>
     </depends-on>
     </depends-on>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>namenode_opt_newsize</name>
     <name>namenode_opt_newsize</name>
@@ -106,7 +106,7 @@
       <increment-step>256</increment-step>
       <increment-step>256</increment-step>
       <overridable>false</overridable>
       <overridable>false</overridable>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>namenode_opt_maxnewsize</name>
     <name>namenode_opt_maxnewsize</name>
@@ -127,7 +127,7 @@
       <increment-step>256</increment-step>
       <increment-step>256</increment-step>
       <overridable>false</overridable>
       <overridable>false</overridable>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>namenode_opt_permsize</name>
     <name>namenode_opt_permsize</name>
@@ -142,7 +142,7 @@
       <increment-step>128</increment-step>
       <increment-step>128</increment-step>
       <overridable>false</overridable>
       <overridable>false</overridable>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>namenode_opt_maxpermsize</name>
     <name>namenode_opt_maxpermsize</name>
@@ -157,7 +157,7 @@
       <increment-step>128</increment-step>
       <increment-step>128</increment-step>
       <overridable>false</overridable>
       <overridable>false</overridable>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>dtnode_heapsize</name>
     <name>dtnode_heapsize</name>
@@ -171,7 +171,7 @@
       <unit>MB</unit>
       <unit>MB</unit>
       <increment-step>128</increment-step>
       <increment-step>128</increment-step>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>proxyuser_group</name>
     <name>proxyuser_group</name>
@@ -183,7 +183,7 @@
       <type>user</type>
       <type>user</type>
       <overridable>false</overridable>
       <overridable>false</overridable>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>hdfs_user</name>
     <name>hdfs_user</name>
@@ -195,7 +195,7 @@
       <type>user</type>
       <type>user</type>
       <overridable>false</overridable>
       <overridable>false</overridable>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>hdfs_tmp_dir</name>
     <name>hdfs_tmp_dir</name>
@@ -208,35 +208,35 @@
       <overridable>false</overridable>
       <overridable>false</overridable>
       <visible>false</visible>
       <visible>false</visible>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>hdfs_user_nofile_limit</name>
     <name>hdfs_user_nofile_limit</name>
     <value>128000</value>
     <value>128000</value>
     <description>Max open files limit setting for HDFS user.</description>
     <description>Max open files limit setting for HDFS user.</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>hdfs_user_nproc_limit</name>
     <name>hdfs_user_nproc_limit</name>
     <value>65536</value>
     <value>65536</value>
     <description>Max number of processes limit setting for HDFS user.</description>
     <description>Max number of processes limit setting for HDFS user.</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>namenode_backup_dir</name>
     <name>namenode_backup_dir</name>
     <description>Local directory for storing backup copy of NameNode images during upgrade</description>
     <description>Local directory for storing backup copy of NameNode images during upgrade</description>
     <value>/tmp/upgrades</value>
     <value>/tmp/upgrades</value>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>hdfs_user_keytab</name>
     <name>hdfs_user_keytab</name>
     <description>HDFS keytab path</description>
     <description>HDFS keytab path</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>hdfs_principal_name</name>
     <name>hdfs_principal_name</name>
     <description>HDFS principal name</description>
     <description>HDFS principal name</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
 
 
   <!-- These properties exist in HDP 2.2 and higher. -->
   <!-- These properties exist in HDP 2.2 and higher. -->
@@ -248,7 +248,7 @@
     <value-attributes>
     <value-attributes>
       <type>string</type>
       <type>string</type>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>keyserver_port</name>
     <name>keyserver_port</name>
@@ -259,7 +259,7 @@
       <type>int</type>
       <type>int</type>
       <empty-value-valid>true</empty-value-valid>
       <empty-value-valid>true</empty-value-valid>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
 
 
   <!-- These properties exist in HDP 2.3 and higher. -->
   <!-- These properties exist in HDP 2.3 and higher. -->
@@ -403,7 +403,7 @@ fi
     <value-attributes>
     <value-attributes>
       <type>content</type>
       <type>content</type>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>nfsgateway_heapsize</name>
     <name>nfsgateway_heapsize</name>
@@ -414,6 +414,6 @@ fi
       <type>int</type>
       <type>int</type>
       <unit>MB</unit>
       <unit>MB</unit>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
 </configuration>
 </configuration>

+ 1 - 1
ambari-server/src/main/resources/stacks/PERF/1.0/services/HDFS/configuration/hadoop-metrics2.properties.xml

@@ -120,6 +120,6 @@ namenode.sink.timeline.metric.rpc.healthcheck.port={{nn_rpc_healthcheck_port}}
     <value-attributes>
     <value-attributes>
       <type>content</type>
       <type>content</type>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
 </configuration>
 </configuration>

+ 11 - 11
ambari-server/src/main/resources/stacks/PERF/1.0/services/HDFS/configuration/hadoop-policy.xml

@@ -26,7 +26,7 @@
     The ACL is a comma-separated list of user and group names. The user and
     The ACL is a comma-separated list of user and group names. The user and
     group list is separated by a blank. For e.g. "alice,bob users,wheel".
     group list is separated by a blank. For e.g. "alice,bob users,wheel".
     A special value of "*" means all users are allowed.</description>
     A special value of "*" means all users are allowed.</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>security.client.datanode.protocol.acl</name>
     <name>security.client.datanode.protocol.acl</name>
@@ -36,7 +36,7 @@
     The ACL is a comma-separated list of user and group names. The user and
     The ACL is a comma-separated list of user and group names. The user and
     group list is separated by a blank. For e.g. "alice,bob users,wheel".
     group list is separated by a blank. For e.g. "alice,bob users,wheel".
     A special value of "*" means all users are allowed.</description>
     A special value of "*" means all users are allowed.</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>security.datanode.protocol.acl</name>
     <name>security.datanode.protocol.acl</name>
@@ -46,7 +46,7 @@
     The ACL is a comma-separated list of user and group names. The user and
     The ACL is a comma-separated list of user and group names. The user and
     group list is separated by a blank. For e.g. "alice,bob users,wheel".
     group list is separated by a blank. For e.g. "alice,bob users,wheel".
     A special value of "*" means all users are allowed.</description>
     A special value of "*" means all users are allowed.</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>security.inter.datanode.protocol.acl</name>
     <name>security.inter.datanode.protocol.acl</name>
@@ -56,7 +56,7 @@
     The ACL is a comma-separated list of user and group names. The user and
     The ACL is a comma-separated list of user and group names. The user and
     group list is separated by a blank. For e.g. "alice,bob users,wheel".
     group list is separated by a blank. For e.g. "alice,bob users,wheel".
     A special value of "*" means all users are allowed.</description>
     A special value of "*" means all users are allowed.</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>security.namenode.protocol.acl</name>
     <name>security.namenode.protocol.acl</name>
@@ -66,7 +66,7 @@
     The ACL is a comma-separated list of user and group names. The user and
     The ACL is a comma-separated list of user and group names. The user and
     group list is separated by a blank. For e.g. "alice,bob users,wheel".
     group list is separated by a blank. For e.g. "alice,bob users,wheel".
     A special value of "*" means all users are allowed.</description>
     A special value of "*" means all users are allowed.</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>security.inter.tracker.protocol.acl</name>
     <name>security.inter.tracker.protocol.acl</name>
@@ -76,7 +76,7 @@
     The ACL is a comma-separated list of user and group names. The user and
     The ACL is a comma-separated list of user and group names. The user and
     group list is separated by a blank. For e.g. "alice,bob users,wheel".
     group list is separated by a blank. For e.g. "alice,bob users,wheel".
     A special value of "*" means all users are allowed.</description>
     A special value of "*" means all users are allowed.</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>security.job.client.protocol.acl</name>
     <name>security.job.client.protocol.acl</name>
@@ -86,7 +86,7 @@
     The ACL is a comma-separated list of user and group names. The user and
     The ACL is a comma-separated list of user and group names. The user and
     group list is separated by a blank. For e.g. "alice,bob users,wheel".
     group list is separated by a blank. For e.g. "alice,bob users,wheel".
     A special value of "*" means all users are allowed.</description>
     A special value of "*" means all users are allowed.</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>security.job.task.protocol.acl</name>
     <name>security.job.task.protocol.acl</name>
@@ -96,7 +96,7 @@
     The ACL is a comma-separated list of user and group names. The user and
     The ACL is a comma-separated list of user and group names. The user and
     group list is separated by a blank. For e.g. "alice,bob users,wheel".
     group list is separated by a blank. For e.g. "alice,bob users,wheel".
     A special value of "*" means all users are allowed.</description>
     A special value of "*" means all users are allowed.</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>security.admin.operations.protocol.acl</name>
     <name>security.admin.operations.protocol.acl</name>
@@ -105,7 +105,7 @@
     The ACL is a comma-separated list of user and group names. The user and
     The ACL is a comma-separated list of user and group names. The user and
     group list is separated by a blank. For e.g. "alice,bob users,wheel".
     group list is separated by a blank. For e.g. "alice,bob users,wheel".
     A special value of "*" means all users are allowed.</description>
     A special value of "*" means all users are allowed.</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>security.refresh.usertogroups.mappings.protocol.acl</name>
     <name>security.refresh.usertogroups.mappings.protocol.acl</name>
@@ -115,7 +115,7 @@
     group names. The user and group list is separated by a blank. For
     group names. The user and group list is separated by a blank. For
     e.g. "alice,bob users,wheel".  A special value of "*" means all
     e.g. "alice,bob users,wheel".  A special value of "*" means all
     users are allowed.</description>
     users are allowed.</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>security.refresh.policy.protocol.acl</name>
     <name>security.refresh.policy.protocol.acl</name>
@@ -125,6 +125,6 @@
     The ACL is a comma-separated list of user and group names. The user and
     The ACL is a comma-separated list of user and group names. The user and
     group list is separated by a blank. For e.g. "alice,bob users,wheel".
     group list is separated by a blank. For e.g. "alice,bob users,wheel".
     A special value of "*" means all users are allowed.</description>
     A special value of "*" means all users are allowed.</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
 </configuration>
 </configuration>

+ 1 - 1
ambari-server/src/main/resources/stacks/PERF/1.0/services/HDFS/configuration/hdfs-log4j.xml

@@ -220,6 +220,6 @@ log4j.logger.org.apache.hadoop.conf.Configuration.deprecation=WARN
       <type>content</type>
       <type>content</type>
       <show-property-name>false</show-property-name>
       <show-property-name>false</show-property-name>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
 </configuration>
 </configuration>

+ 3 - 3
ambari-server/src/main/resources/stacks/PERF/1.0/services/HDFS/configuration/hdfs-logsearch-conf.xml

@@ -25,14 +25,14 @@
     <display-name>Service name</display-name>
     <display-name>Service name</display-name>
     <description>Service name for Logsearch Portal (label)</description>
     <description>Service name for Logsearch Portal (label)</description>
     <value>HDFS</value>
     <value>HDFS</value>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>component_mappings</name>
     <name>component_mappings</name>
     <display-name>Component mapping</display-name>
     <display-name>Component mapping</display-name>
     <description>Logsearch component logid mapping list (e.g.: COMPONENT1:logid1,logid2;COMPONENT2:logid3)</description>
     <description>Logsearch component logid mapping list (e.g.: COMPONENT1:logid1,logid2;COMPONENT2:logid3)</description>
     <value>NAMENODE:hdfs_namenode;DATANODE:hdfs_datanode;SECONDARY_NAMENODE:hdfs_secondarynamenode;JOURNALNODE:hdfs_journalnode;ZKFC:hdfs_zkfc;NFS_GATEWAY:hdfs_nfs3</value>
     <value>NAMENODE:hdfs_namenode;DATANODE:hdfs_datanode;SECONDARY_NAMENODE:hdfs_secondarynamenode;JOURNALNODE:hdfs_journalnode;ZKFC:hdfs_zkfc;NFS_GATEWAY:hdfs_nfs3</value>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>content</name>
     <name>content</name>
@@ -243,6 +243,6 @@
       <type>content</type>
       <type>content</type>
       <show-property-name>false</show-property-name>
       <show-property-name>false</show-property-name>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
 </configuration>
 </configuration>

+ 54 - 54
ambari-server/src/main/resources/stacks/PERF/1.0/services/HDFS/configuration/hdfs-site.xml

@@ -34,14 +34,14 @@
       <type>directories</type>
       <type>directories</type>
       <overridable>false</overridable>
       <overridable>false</overridable>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>dfs.support.append</name>
     <name>dfs.support.append</name>
     <value>true</value>
     <value>true</value>
     <description>to enable dfs append</description>
     <description>to enable dfs append</description>
     <final>true</final>
     <final>true</final>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>dfs.webhdfs.enabled</name>
     <name>dfs.webhdfs.enabled</name>
@@ -53,7 +53,7 @@
       <type>boolean</type>
       <type>boolean</type>
       <overridable>false</overridable>
       <overridable>false</overridable>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>dfs.datanode.failed.volumes.tolerated</name>
     <name>dfs.datanode.failed.volumes.tolerated</name>
@@ -73,7 +73,7 @@
         <name>dfs.datanode.data.dir</name>
         <name>dfs.datanode.data.dir</name>
       </property>
       </property>
     </depends-on>
     </depends-on>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>dfs.datanode.data.dir</name>
     <name>dfs.datanode.data.dir</name>
@@ -89,7 +89,7 @@
     <value-attributes>
     <value-attributes>
       <type>directories</type>
       <type>directories</type>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>dfs.hosts.exclude</name>
     <name>dfs.hosts.exclude</name>
@@ -98,7 +98,7 @@
       not permitted to connect to the namenode.  The full pathname of the
       not permitted to connect to the namenode.  The full pathname of the
       file must be specified.  If the value is empty, no hosts are
       file must be specified.  If the value is empty, no hosts are
       excluded.</description>
       excluded.</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <!--
   <!--
     <property>
     <property>
@@ -123,7 +123,7 @@
       <type>directories</type>
       <type>directories</type>
       <overridable>false</overridable>
       <overridable>false</overridable>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>dfs.namenode.checkpoint.edits.dir</name>
     <name>dfs.namenode.checkpoint.edits.dir</name>
@@ -134,7 +134,7 @@
       replicated in all of the directories for redundancy.
       replicated in all of the directories for redundancy.
       Default value is same as dfs.namenode.checkpoint.dir
       Default value is same as dfs.namenode.checkpoint.dir
     </description>
     </description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>dfs.namenode.checkpoint.period</name>
     <name>dfs.namenode.checkpoint.period</name>
@@ -145,7 +145,7 @@
       <type>int</type>
       <type>int</type>
       <unit>seconds</unit>
       <unit>seconds</unit>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>dfs.namenode.checkpoint.txns</name>
     <name>dfs.namenode.checkpoint.txns</name>
@@ -154,14 +154,14 @@
       of the namespace every 'dfs.namenode.checkpoint.txns' transactions,
       of the namespace every 'dfs.namenode.checkpoint.txns' transactions,
       regardless of whether 'dfs.namenode.checkpoint.period' has expired.
       regardless of whether 'dfs.namenode.checkpoint.period' has expired.
     </description>
     </description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>dfs.replication.max</name>
     <name>dfs.replication.max</name>
     <value>50</value>
     <value>50</value>
     <description>Maximal block replication.
     <description>Maximal block replication.
     </description>
     </description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>dfs.replication</name>
     <name>dfs.replication</name>
@@ -172,13 +172,13 @@
     <value-attributes>
     <value-attributes>
       <type>int</type>
       <type>int</type>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>dfs.heartbeat.interval</name>
     <name>dfs.heartbeat.interval</name>
     <value>3</value>
     <value>3</value>
     <description>Determines datanode heartbeat interval in seconds.</description>
     <description>Determines datanode heartbeat interval in seconds.</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>dfs.namenode.safemode.threshold-pct</name>
     <name>dfs.namenode.safemode.threshold-pct</name>
@@ -196,7 +196,7 @@
       <maximum>1.000</maximum>
       <maximum>1.000</maximum>
       <increment-step>0.001</increment-step>
       <increment-step>0.001</increment-step>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>dfs.datanode.balance.bandwidthPerSec</name>
     <name>dfs.datanode.balance.bandwidthPerSec</name>
@@ -206,7 +206,7 @@
       can utilize for the balancing purpose in term of
       can utilize for the balancing purpose in term of
       the number of bytes per second.
       the number of bytes per second.
     </description>
     </description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>dfs.https.port</name>
     <name>dfs.https.port</name>
@@ -214,7 +214,7 @@
     <description>
     <description>
       This property is used by HftpFileSystem.
       This property is used by HftpFileSystem.
     </description>
     </description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>dfs.datanode.address</name>
     <name>dfs.datanode.address</name>
@@ -222,7 +222,7 @@
     <description>
     <description>
       The datanode server address and port for data transfer.
       The datanode server address and port for data transfer.
     </description>
     </description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>dfs.datanode.http.address</name>
     <name>dfs.datanode.http.address</name>
@@ -230,7 +230,7 @@
     <description>
     <description>
       The datanode http server address and port.
       The datanode http server address and port.
     </description>
     </description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>dfs.datanode.https.address</name>
     <name>dfs.datanode.https.address</name>
@@ -238,13 +238,13 @@
     <description>
     <description>
       The datanode https server address and port.
       The datanode https server address and port.
     </description>
     </description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>dfs.blocksize</name>
     <name>dfs.blocksize</name>
     <value>134217728</value>
     <value>134217728</value>
     <description>The default block size for new files.</description>
     <description>The default block size for new files.</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>dfs.namenode.http-address</name>
     <name>dfs.namenode.http-address</name>
@@ -277,7 +277,7 @@
         <name>dfs.datanode.data.dir</name>
         <name>dfs.datanode.data.dir</name>
       </property>
       </property>
     </depends-on>
     </depends-on>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>dfs.datanode.ipc.address</name>
     <name>dfs.datanode.ipc.address</name>
@@ -286,13 +286,13 @@
       The datanode ipc server address and port.
       The datanode ipc server address and port.
       If the port is 0 then the server will start on a free port.
       If the port is 0 then the server will start on a free port.
     </description>
     </description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>dfs.blockreport.initialDelay</name>
     <name>dfs.blockreport.initialDelay</name>
     <value>120</value>
     <value>120</value>
     <description>Delay for first block report in seconds.</description>
     <description>Delay for first block report in seconds.</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>dfs.datanode.max.transfer.threads</name>
     <name>dfs.datanode.max.transfer.threads</name>
@@ -304,7 +304,7 @@
       <minimum>0</minimum>
       <minimum>0</minimum>
       <maximum>48000</maximum>
       <maximum>48000</maximum>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <!-- Permissions configuration -->
   <!-- Permissions configuration -->
   <property>
   <property>
@@ -313,7 +313,7 @@
     <description>
     <description>
       The octal umask used when creating files and directories.
       The octal umask used when creating files and directories.
     </description>
     </description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>dfs.permissions.enabled</name>
     <name>dfs.permissions.enabled</name>
@@ -325,13 +325,13 @@
       Switching from one parameter value to the other does not change the mode,
       Switching from one parameter value to the other does not change the mode,
       owner or group of files or directories.
       owner or group of files or directories.
     </description>
     </description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>dfs.permissions.superusergroup</name>
     <name>dfs.permissions.superusergroup</name>
     <value>hdfs</value>
     <value>hdfs</value>
     <description>The name of the group of super-users.</description>
     <description>The name of the group of super-users.</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>dfs.namenode.handler.count</name>
     <name>dfs.namenode.handler.count</name>
@@ -343,7 +343,7 @@
       <minimum>1</minimum>
       <minimum>1</minimum>
       <maximum>200</maximum>
       <maximum>200</maximum>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>dfs.block.access.token.enable</name>
     <name>dfs.block.access.token.enable</name>
@@ -352,7 +352,7 @@
       If "true", access tokens are used as capabilities for accessing datanodes.
       If "true", access tokens are used as capabilities for accessing datanodes.
       If "false", no access tokens are checked on accessing datanodes.
       If "false", no access tokens are checked on accessing datanodes.
     </description>
     </description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <!-- cluster variant -->
     <!-- cluster variant -->
@@ -378,7 +378,7 @@
     <value-attributes>
     <value-attributes>
       <type>int</type>
       <type>int</type>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>dfs.namenode.accesstime.precision</name>
     <name>dfs.namenode.accesstime.precision</name>
@@ -391,13 +391,13 @@
     <value-attributes>
     <value-attributes>
       <type>int</type>
       <type>int</type>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>dfs.cluster.administrators</name>
     <name>dfs.cluster.administrators</name>
     <value> hdfs</value>
     <value> hdfs</value>
     <description>ACL for who all can view the default servlets in the HDFS</description>
     <description>ACL for who all can view the default servlets in the HDFS</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>dfs.namenode.avoid.read.stale.datanode</name>
     <name>dfs.namenode.avoid.read.stale.datanode</name>
@@ -407,7 +407,7 @@
       heartbeat messages have not been received by the namenode for more than a
       heartbeat messages have not been received by the namenode for more than a
       specified time interval.
       specified time interval.
     </description>
     </description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>dfs.namenode.avoid.write.stale.datanode</name>
     <name>dfs.namenode.avoid.write.stale.datanode</name>
@@ -417,7 +417,7 @@
       heartbeat messages have not been received by the namenode for more than a
       heartbeat messages have not been received by the namenode for more than a
       specified time interval.
       specified time interval.
     </description>
     </description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>dfs.namenode.write.stale.datanode.ratio</name>
     <name>dfs.namenode.write.stale.datanode.ratio</name>
@@ -425,27 +425,27 @@
     <description>When the ratio of number stale datanodes to total datanodes marked is greater
     <description>When the ratio of number stale datanodes to total datanodes marked is greater
       than this ratio, stop avoiding writing to stale nodes so as to prevent causing hotspots.
       than this ratio, stop avoiding writing to stale nodes so as to prevent causing hotspots.
     </description>
     </description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>dfs.namenode.stale.datanode.interval</name>
     <name>dfs.namenode.stale.datanode.interval</name>
     <value>30000</value>
     <value>30000</value>
     <description>Datanode is stale after not getting a heartbeat in this interval in ms</description>
     <description>Datanode is stale after not getting a heartbeat in this interval in ms</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>dfs.journalnode.http-address</name>
     <name>dfs.journalnode.http-address</name>
     <value>0.0.0.0:8480</value>
     <value>0.0.0.0:8480</value>
     <description>The address and port the JournalNode web UI listens on.
     <description>The address and port the JournalNode web UI listens on.
       If the port is 0 then the server will start on a free port. </description>
       If the port is 0 then the server will start on a free port. </description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>dfs.journalnode.https-address</name>
     <name>dfs.journalnode.https-address</name>
     <value>0.0.0.0:8481</value>
     <value>0.0.0.0:8481</value>
     <description>The address and port the JournalNode HTTPS server listens on.
     <description>The address and port the JournalNode HTTPS server listens on.
       If the port is 0 then the server will start on a free port. </description>
       If the port is 0 then the server will start on a free port. </description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <!-- HDFS Short-Circuit Local Reads -->
   <!-- HDFS Short-Circuit Local Reads -->
   <property>
   <property>
@@ -458,7 +458,7 @@
     <value-attributes>
     <value-attributes>
       <type>boolean</type>
       <type>boolean</type>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>dfs.domain.socket.path</name>
     <name>dfs.domain.socket.path</name>
@@ -467,7 +467,7 @@
       This is a path to a UNIX domain socket that will be used for communication between the DataNode and local HDFS clients.
       This is a path to a UNIX domain socket that will be used for communication between the DataNode and local HDFS clients.
       If the string "_PORT" is present in this path, it will be replaced by the TCP port of the DataNode.
       If the string "_PORT" is present in this path, it will be replaced by the TCP port of the DataNode.
     </description>
     </description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>dfs.client.read.shortcircuit.streams.cache.size</name>
     <name>dfs.client.read.shortcircuit.streams.cache.size</name>
@@ -478,14 +478,14 @@
       more file descriptors, but potentially provide better performance on
       more file descriptors, but potentially provide better performance on
       workloads involving lots of seeks.
       workloads involving lots of seeks.
     </description>
     </description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>dfs.namenode.name.dir.restore</name>
     <name>dfs.namenode.name.dir.restore</name>
     <value>true</value>
     <value>true</value>
     <description>Set to true to enable NameNode to attempt recovering a previously failed dfs.namenode.name.dir.
     <description>Set to true to enable NameNode to attempt recovering a previously failed dfs.namenode.name.dir.
       When enabled, a recovery of any failed directory is attempted during checkpoint.</description>
       When enabled, a recovery of any failed directory is attempted during checkpoint.</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>dfs.http.policy</name>
     <name>dfs.http.policy</name>
@@ -495,7 +495,7 @@
       The following values are supported: - HTTP_ONLY : Service is provided only on http - HTTPS_ONLY :
       The following values are supported: - HTTP_ONLY : Service is provided only on http - HTTPS_ONLY :
       Service is provided only on https - HTTP_AND_HTTPS : Service is provided both on http and https
       Service is provided only on https - HTTP_AND_HTTPS : Service is provided both on http and https
     </description>
     </description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
 
 
   <!-- These properties exist in HDP 2.1 and higher. -->
   <!-- These properties exist in HDP 2.1 and higher. -->
@@ -503,13 +503,13 @@
     <name>dfs.namenode.audit.log.async</name>
     <name>dfs.namenode.audit.log.async</name>
     <value>true</value>
     <value>true</value>
     <description>Whether to enable async auditlog</description>
     <description>Whether to enable async auditlog</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>dfs.namenode.fslock.fair</name>
     <name>dfs.namenode.fslock.fair</name>
     <value>false</value>
     <value>false</value>
     <description>Whether fsLock is fair</description>
     <description>Whether fsLock is fair</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
 
 
   <!-- These properties exist in HDP 2.2 and higher. -->
   <!-- These properties exist in HDP 2.2 and higher. -->
@@ -524,25 +524,25 @@
       to notice large number of pending deletion blocks and take corrective
       to notice large number of pending deletion blocks and take corrective
       action.
       action.
     </description>
     </description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>dfs.journalnode.edits.dir</name>
     <name>dfs.journalnode.edits.dir</name>
     <value>/hadoop/hdfs/journalnode</value>
     <value>/hadoop/hdfs/journalnode</value>
     <description>The path where the JournalNode daemon will store its local state. </description>
     <description>The path where the JournalNode daemon will store its local state. </description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>dfs.client.retry.policy.enabled</name>
     <name>dfs.client.retry.policy.enabled</name>
     <value>false</value>
     <value>false</value>
     <description>Enables HDFS client retry in the event of a NameNode failure.</description>
     <description>Enables HDFS client retry in the event of a NameNode failure.</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>dfs.content-summary.limit</name>
     <name>dfs.content-summary.limit</name>
     <value>5000</value>
     <value>5000</value>
     <description>Dfs content summary limit.</description>
     <description>Dfs content summary limit.</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>dfs.encryption.key.provider.uri</name>
     <name>dfs.encryption.key.provider.uri</name>
@@ -572,7 +572,7 @@
         <name>ranger.service.https.attrib.ssl.enabled</name>
         <name>ranger.service.https.attrib.ssl.enabled</name>
       </property>
       </property>
     </depends-on>
     </depends-on>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
 
 
   <!-- These properties exist in HDP 2.3 and higher. -->
   <!-- These properties exist in HDP 2.3 and higher. -->
@@ -589,7 +589,7 @@
     <value-attributes>
     <value-attributes>
       <type>directory</type>
       <type>directory</type>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>nfs.exports.allowed.hosts</name>
     <name>nfs.exports.allowed.hosts</name>
@@ -603,7 +603,7 @@
       by &quot;;&quot;. For example: &quot;192.168.0.0/22 rw ; host*.example.com ; host1.test.org ro;&quot;.
       by &quot;;&quot;. For example: &quot;192.168.0.0/22 rw ; host*.example.com ; host1.test.org ro;&quot;.
     </description>
     </description>
     <display-name>Allowed hosts</display-name>
     <display-name>Allowed hosts</display-name>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>dfs.encrypt.data.transfer.cipher.suites</name>
     <name>dfs.encrypt.data.transfer.cipher.suites</name>
@@ -614,7 +614,7 @@
       If not defined, then only the algorithm specified in dfs.encrypt.data.transfer.algorithm 
       If not defined, then only the algorithm specified in dfs.encrypt.data.transfer.algorithm 
       is used. By default, the property is not defined.
       is used. By default, the property is not defined.
     </description>
     </description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>dfs.namenode.inode.attributes.provider.class</name>
     <name>dfs.namenode.inode.attributes.provider.class</name>
@@ -628,6 +628,6 @@
     <value-attributes>
     <value-attributes>
       <overridable>false</overridable>
       <overridable>false</overridable>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
 </configuration>
 </configuration>

+ 7 - 7
ambari-server/src/main/resources/stacks/PERF/1.0/services/HDFS/configuration/ssl-client.xml

@@ -21,13 +21,13 @@
     <name>ssl.client.truststore.location</name>
     <name>ssl.client.truststore.location</name>
     <value>/etc/security/clientKeys/all.jks</value>
     <value>/etc/security/clientKeys/all.jks</value>
     <description>Location of the trust store file.</description>
     <description>Location of the trust store file.</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>ssl.client.truststore.type</name>
     <name>ssl.client.truststore.type</name>
     <value>jks</value>
     <value>jks</value>
     <description>Optional. Default value is "jks".</description>
     <description>Optional. Default value is "jks".</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>ssl.client.truststore.password</name>
     <name>ssl.client.truststore.password</name>
@@ -37,25 +37,25 @@
     <value-attributes>
     <value-attributes>
       <type>password</type>
       <type>password</type>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>ssl.client.truststore.reload.interval</name>
     <name>ssl.client.truststore.reload.interval</name>
     <value>10000</value>
     <value>10000</value>
     <description>Truststore reload interval, in milliseconds.</description>
     <description>Truststore reload interval, in milliseconds.</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>ssl.client.keystore.type</name>
     <name>ssl.client.keystore.type</name>
     <value>jks</value>
     <value>jks</value>
     <description>Optional. Default value is "jks".</description>
     <description>Optional. Default value is "jks".</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>ssl.client.keystore.location</name>
     <name>ssl.client.keystore.location</name>
     <value>/etc/security/clientKeys/keystore.jks</value>
     <value>/etc/security/clientKeys/keystore.jks</value>
     <description>Location of the keystore file.</description>
     <description>Location of the keystore file.</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>ssl.client.keystore.password</name>
     <name>ssl.client.keystore.password</name>
@@ -65,6 +65,6 @@
     <value-attributes>
     <value-attributes>
       <type>password</type>
       <type>password</type>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
 </configuration>
 </configuration>

+ 8 - 8
ambari-server/src/main/resources/stacks/PERF/1.0/services/HDFS/configuration/ssl-server.xml

@@ -21,13 +21,13 @@
     <name>ssl.server.truststore.location</name>
     <name>ssl.server.truststore.location</name>
     <value>/etc/security/serverKeys/all.jks</value>
     <value>/etc/security/serverKeys/all.jks</value>
     <description>Location of the trust store file.</description>
     <description>Location of the trust store file.</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>ssl.server.truststore.type</name>
     <name>ssl.server.truststore.type</name>
     <value>jks</value>
     <value>jks</value>
     <description>Optional. Default value is "jks".</description>
     <description>Optional. Default value is "jks".</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>ssl.server.truststore.password</name>
     <name>ssl.server.truststore.password</name>
@@ -37,25 +37,25 @@
     <value-attributes>
     <value-attributes>
       <type>password</type>
       <type>password</type>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>ssl.server.truststore.reload.interval</name>
     <name>ssl.server.truststore.reload.interval</name>
     <value>10000</value>
     <value>10000</value>
     <description>Truststore reload interval, in milliseconds.</description>
     <description>Truststore reload interval, in milliseconds.</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>ssl.server.keystore.type</name>
     <name>ssl.server.keystore.type</name>
     <value>jks</value>
     <value>jks</value>
     <description>Optional. Default value is "jks".</description>
     <description>Optional. Default value is "jks".</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>ssl.server.keystore.location</name>
     <name>ssl.server.keystore.location</name>
     <value>/etc/security/serverKeys/keystore.jks</value>
     <value>/etc/security/serverKeys/keystore.jks</value>
     <description>Location of the keystore file.</description>
     <description>Location of the keystore file.</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>ssl.server.keystore.password</name>
     <name>ssl.server.keystore.password</name>
@@ -65,7 +65,7 @@
     <value-attributes>
     <value-attributes>
       <type>password</type>
       <type>password</type>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>ssl.server.keystore.keypassword</name>
     <name>ssl.server.keystore.keypassword</name>
@@ -75,6 +75,6 @@
     <value-attributes>
     <value-attributes>
       <type>password</type>
       <type>password</type>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
 </configuration>
 </configuration>

+ 1 - 1
ambari-server/src/main/resources/stacks/PERF/1.0/services/SLEEPY/configuration/sleepy-site.xml

@@ -31,6 +31,6 @@
       <maximum>100</maximum>
       <maximum>100</maximum>
       <increment-step>10</increment-step>
       <increment-step>10</increment-step>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
 </configuration>
 </configuration>

+ 1 - 1
ambari-server/src/main/resources/stacks/PERF/1.0/services/SNOW/configuration/snow-site.xml

@@ -31,6 +31,6 @@
       <maximum>100</maximum>
       <maximum>100</maximum>
       <increment-step>10</increment-step>
       <increment-step>10</increment-step>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
 </configuration>
 </configuration>

+ 1 - 1
ambari-server/src/main/resources/stacks/PERF/1.0/services/YARN/configuration-mapred/mapred-env.xml

@@ -45,6 +45,6 @@ export JAVA_LIBRARY_PATH="${JAVA_LIBRARY_PATH}:{{hadoop_java_io_tmpdir}}"
     <value-attributes>
     <value-attributes>
       <type>content</type>
       <type>content</type>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
 </configuration>
 </configuration>

+ 14 - 14
ambari-server/src/main/resources/stacks/PERF/1.0/services/YARN/configuration-mapred/mapred-site.xml

@@ -27,7 +27,7 @@
       This is not an additive property. You must preserve the original value if
       This is not an additive property. You must preserve the original value if
       you want your map and reduce tasks to have access to native libraries (compression, etc)
       you want your map and reduce tasks to have access to native libraries (compression, etc)
     </description>
     </description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>mapreduce.application.classpath</name>
     <name>mapreduce.application.classpath</name>
@@ -36,13 +36,13 @@
       CLASSPATH for MR applications. A comma-separated list of CLASSPATH
       CLASSPATH for MR applications. A comma-separated list of CLASSPATH
       entries.
       entries.
     </description>
     </description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>mapreduce.application.framework.path</name>
     <name>mapreduce.application.framework.path</name>
     <value>/hdp/apps/${hdp.version}/mapreduce/mapreduce.tar.gz#mr-framework</value>
     <value>/hdp/apps/${hdp.version}/mapreduce/mapreduce.tar.gz#mr-framework</value>
     <description/>
     <description/>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>yarn.app.mapreduce.am.admin-command-opts</name>
     <name>yarn.app.mapreduce.am.admin-command-opts</name>
@@ -60,49 +60,49 @@
       of LD_LIBRARY_PATH in the map / reduce JVM env using the mapreduce.map.env and
       of LD_LIBRARY_PATH in the map / reduce JVM env using the mapreduce.map.env and
       mapreduce.reduce.env config settings.
       mapreduce.reduce.env config settings.
     </description>
     </description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>mapreduce.admin.map.child.java.opts</name>
     <name>mapreduce.admin.map.child.java.opts</name>
     <value>-server -XX:NewRatio=8 -Djava.net.preferIPv4Stack=true -Dhdp.version=${hdp.version}</value>
     <value>-server -XX:NewRatio=8 -Djava.net.preferIPv4Stack=true -Dhdp.version=${hdp.version}</value>
     <description/>
     <description/>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>mapreduce.admin.reduce.child.java.opts</name>
     <name>mapreduce.admin.reduce.child.java.opts</name>
     <value>-server -XX:NewRatio=8 -Djava.net.preferIPv4Stack=true -Dhdp.version=${hdp.version}</value>
     <value>-server -XX:NewRatio=8 -Djava.net.preferIPv4Stack=true -Dhdp.version=${hdp.version}</value>
     <description/>
     <description/>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>mapreduce.reduce.shuffle.fetch.retry.enabled</name>
     <name>mapreduce.reduce.shuffle.fetch.retry.enabled</name>
     <value>1</value>
     <value>1</value>
     <description/>
     <description/>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>mapreduce.reduce.shuffle.fetch.retry.interval-ms</name>
     <name>mapreduce.reduce.shuffle.fetch.retry.interval-ms</name>
     <value>1000</value>
     <value>1000</value>
     <description/>
     <description/>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>mapreduce.reduce.shuffle.fetch.retry.timeout-ms</name>
     <name>mapreduce.reduce.shuffle.fetch.retry.timeout-ms</name>
     <value>30000</value>
     <value>30000</value>
     <description/>
     <description/>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>mapreduce.job.emit-timeline-data</name>
     <name>mapreduce.job.emit-timeline-data</name>
     <value>false</value>
     <value>false</value>
     <description/>
     <description/>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>mapreduce.jobhistory.bind-host</name>
     <name>mapreduce.jobhistory.bind-host</name>
     <value>0.0.0.0</value>
     <value>0.0.0.0</value>
     <description/>
     <description/>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
 
 
   <!-- These properties exist in HDP 2.3 and higher. -->
   <!-- These properties exist in HDP 2.3 and higher. -->
@@ -113,7 +113,7 @@
       server state upon startup.  If enabled then
       server state upon startup.  If enabled then
       mapreduce.jobhistory.recovery.store.class must be specified.
       mapreduce.jobhistory.recovery.store.class must be specified.
     </description>
     </description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>mapreduce.jobhistory.recovery.store.class</name>
     <name>mapreduce.jobhistory.recovery.store.class</name>
@@ -121,7 +121,7 @@
     <description>The HistoryServerStateStoreService class to store history server
     <description>The HistoryServerStateStoreService class to store history server
       state for recovery.
       state for recovery.
     </description>
     </description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>mapreduce.jobhistory.recovery.store.leveldb.path</name>
     <name>mapreduce.jobhistory.recovery.store.leveldb.path</name>
@@ -129,6 +129,6 @@
     <description>The URI where history server state will be stored if HistoryServerLeveldbSystemStateStoreService
     <description>The URI where history server state will be stored if HistoryServerLeveldbSystemStateStoreService
       is configured as the recovery storage class.
       is configured as the recovery storage class.
     </description>
     </description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
 </configuration>
 </configuration>

+ 4 - 4
ambari-server/src/main/resources/stacks/PERF/1.0/services/YARN/configuration/yarn-env.xml

@@ -30,7 +30,7 @@
       <unit>MB</unit>
       <unit>MB</unit>
       <type>int</type>
       <type>int</type>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
 
 
   <!-- These properties exist in HDP 2.2 and higher. -->
   <!-- These properties exist in HDP 2.2 and higher. -->
@@ -53,7 +53,7 @@
       </entries>
       </entries>
       <selection-cardinality>1</selection-cardinality>
       <selection-cardinality>1</selection-cardinality>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
 
 
   <!-- These properties exist in HDP 2.3 and higher. -->
   <!-- These properties exist in HDP 2.3 and higher. -->
@@ -61,7 +61,7 @@
     <name>is_supported_yarn_ranger</name>
     <name>is_supported_yarn_ranger</name>
     <value>true</value>
     <value>true</value>
     <description>Set to false by default,  needs to be set to true in stacks that use Ranger Yarn Plugin</description>
     <description>Set to false by default,  needs to be set to true in stacks that use Ranger Yarn Plugin</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
 
 
   <!-- yarn-env.sh -->
   <!-- yarn-env.sh -->
@@ -196,6 +196,6 @@
     <value-attributes>
     <value-attributes>
       <type>content</type>
       <type>content</type>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
 </configuration>
 </configuration>

+ 1 - 1
ambari-server/src/main/resources/stacks/PERF/1.0/services/YARN/configuration/yarn-log4j.xml

@@ -98,6 +98,6 @@ log4j.appender.NMAUDIT.DatePattern=.yyyy-MM-dd
       <type>content</type>
       <type>content</type>
       <show-property-name>false</show-property-name>
       <show-property-name>false</show-property-name>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
 </configuration>
 </configuration>

+ 75 - 75
ambari-server/src/main/resources/stacks/PERF/1.0/services/YARN/configuration/yarn-site.xml

@@ -27,7 +27,7 @@
     <value-attributes>
     <value-attributes>
       <type>boolean</type>
       <type>boolean</type>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>yarn.timeline-service.generic-application-history.store-class</name>
     <name>yarn.timeline-service.generic-application-history.store-class</name>
@@ -35,7 +35,7 @@
     <description>
     <description>
       Store class name for history store, defaulting to file system store
       Store class name for history store, defaulting to file system store
     </description>
     </description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>yarn.timeline-service.webapp.address</name>
     <name>yarn.timeline-service.webapp.address</name>
@@ -69,7 +69,7 @@
     <value-attributes>
     <value-attributes>
       <type>int</type>
       <type>int</type>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <description>Length of time to wait between deletion cycles of leveldb timeline store in milliseconds.</description>
     <description>Length of time to wait between deletion cycles of leveldb timeline store in milliseconds.</description>
@@ -78,7 +78,7 @@
     <value-attributes>
     <value-attributes>
       <type>int</type>
       <type>int</type>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
 
 
   <!-- These properties exist in HDP 2.2 and higher. -->
   <!-- These properties exist in HDP 2.2 and higher. -->
@@ -86,7 +86,7 @@
     <name>yarn.application.classpath</name>
     <name>yarn.application.classpath</name>
     <value>$HADOOP_CONF_DIR,/usr/hdp/current/hadoop-client/*,/usr/hdp/current/hadoop-client/lib/*,/usr/hdp/current/hadoop-hdfs-client/*,/usr/hdp/current/hadoop-hdfs-client/lib/*,/usr/hdp/current/hadoop-yarn-client/*,/usr/hdp/current/hadoop-yarn-client/lib/*</value>
     <value>$HADOOP_CONF_DIR,/usr/hdp/current/hadoop-client/*,/usr/hdp/current/hadoop-client/lib/*,/usr/hdp/current/hadoop-hdfs-client/*,/usr/hdp/current/hadoop-hdfs-client/lib/*,/usr/hdp/current/hadoop-yarn-client/*,/usr/hdp/current/hadoop-yarn-client/lib/*</value>
     <description>Classpath for typical applications.</description>
     <description>Classpath for typical applications.</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>hadoop.registry.rm.enabled</name>
     <name>hadoop.registry.rm.enabled</name>
@@ -94,7 +94,7 @@
     <description>
     <description>
       Is the registry enabled: does the RM start it up, create the user and system paths, and purge service records when containers, application attempts and applications complete
       Is the registry enabled: does the RM start it up, create the user and system paths, and purge service records when containers, application attempts and applications complete
     </description>
     </description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>hadoop.registry.zk.quorum</name>
     <name>hadoop.registry.zk.quorum</name>
@@ -108,7 +108,7 @@
     <name>yarn.nodemanager.recovery.enabled</name>
     <name>yarn.nodemanager.recovery.enabled</name>
     <value>true</value>
     <value>true</value>
     <description>Enable the node manager to recover after starting</description>
     <description>Enable the node manager to recover after starting</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>yarn.nodemanager.recovery.dir</name>
     <name>yarn.nodemanager.recovery.dir</name>
@@ -117,19 +117,19 @@
       The local filesystem directory in which the node manager will store
       The local filesystem directory in which the node manager will store
       state when recovery is enabled.
       state when recovery is enabled.
     </description>
     </description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>yarn.client.nodemanager-connect.retry-interval-ms</name>
     <name>yarn.client.nodemanager-connect.retry-interval-ms</name>
     <value>10000</value>
     <value>10000</value>
     <description>Time interval between each attempt to connect to NM</description>
     <description>Time interval between each attempt to connect to NM</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>yarn.client.nodemanager-connect.max-wait-ms</name>
     <name>yarn.client.nodemanager-connect.max-wait-ms</name>
     <value>60000</value>
     <value>60000</value>
     <description>Max time to wait to establish a connection to NM</description>
     <description>Max time to wait to establish a connection to NM</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>yarn.resourcemanager.recovery.enabled</name>
     <name>yarn.resourcemanager.recovery.enabled</name>
@@ -138,7 +138,7 @@
       Enable RM to recover state after starting.
       Enable RM to recover state after starting.
       If true, then yarn.resourcemanager.store.class must be specified.
       If true, then yarn.resourcemanager.store.class must be specified.
     </description>
     </description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>yarn.resourcemanager.work-preserving-recovery.enabled</name>
     <name>yarn.resourcemanager.work-preserving-recovery.enabled</name>
@@ -150,7 +150,7 @@
     <value-attributes>
     <value-attributes>
       <type>boolean</type>
       <type>boolean</type>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>yarn.resourcemanager.store.class</name>
     <name>yarn.resourcemanager.store.class</name>
@@ -161,7 +161,7 @@
       the store is implicitly fenced; meaning a single ResourceManager
       the store is implicitly fenced; meaning a single ResourceManager
       is able to use the store at any point in time.
       is able to use the store at any point in time.
     </description>
     </description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>yarn.resourcemanager.zk-address</name>
     <name>yarn.resourcemanager.zk-address</name>
@@ -175,31 +175,31 @@
     <name>yarn.resourcemanager.zk-state-store.parent-path</name>
     <name>yarn.resourcemanager.zk-state-store.parent-path</name>
     <value>/rmstore</value>
     <value>/rmstore</value>
     <description>Full path of the ZooKeeper znode where RM state will be stored. This must be supplied when using org.apache.hadoop.yarn.server.resourcemanager.recovery.ZKRMStateStore as the value for yarn.resourcemanager.store.class</description>
     <description>Full path of the ZooKeeper znode where RM state will be stored. This must be supplied when using org.apache.hadoop.yarn.server.resourcemanager.recovery.ZKRMStateStore as the value for yarn.resourcemanager.store.class</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>yarn.resourcemanager.zk-acl</name>
     <name>yarn.resourcemanager.zk-acl</name>
     <value>world:anyone:rwcda</value>
     <value>world:anyone:rwcda</value>
     <description>ACL's to be used for ZooKeeper znodes.</description>
     <description>ACL's to be used for ZooKeeper znodes.</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>yarn.resourcemanager.work-preserving-recovery.scheduling-wait-ms</name>
     <name>yarn.resourcemanager.work-preserving-recovery.scheduling-wait-ms</name>
     <value>10000</value>
     <value>10000</value>
     <description>Set the amount of time RM waits before allocating new containers on work-preserving-recovery. Such wait period gives RM a chance to settle down resyncing with NMs in the cluster on recovery, before assigning new containers to applications.</description>
     <description>Set the amount of time RM waits before allocating new containers on work-preserving-recovery. Such wait period gives RM a chance to settle down resyncing with NMs in the cluster on recovery, before assigning new containers to applications.</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>yarn.resourcemanager.connect.retry-interval.ms</name>
     <name>yarn.resourcemanager.connect.retry-interval.ms</name>
     <value>30000</value>
     <value>30000</value>
     <description>How often to try connecting to the ResourceManager.</description>
     <description>How often to try connecting to the ResourceManager.</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>yarn.resourcemanager.connect.max-wait.ms</name>
     <name>yarn.resourcemanager.connect.max-wait.ms</name>
     <value>900000</value>
     <value>900000</value>
     <description>Maximum time to wait to establish connection to ResourceManager</description>
     <description>Maximum time to wait to establish connection to ResourceManager</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>yarn.resourcemanager.zk-retry-interval-ms</name>
     <name>yarn.resourcemanager.zk-retry-interval-ms</name>
@@ -209,43 +209,43 @@
       automatically from yarn.resourcemanager.zk-timeout-ms and
       automatically from yarn.resourcemanager.zk-timeout-ms and
       yarn.resourcemanager.zk-num-retries."
       yarn.resourcemanager.zk-num-retries."
     </description>
     </description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>yarn.resourcemanager.zk-num-retries</name>
     <name>yarn.resourcemanager.zk-num-retries</name>
     <value>1000</value>
     <value>1000</value>
     <description>Number of times RM tries to connect to ZooKeeper.</description>
     <description>Number of times RM tries to connect to ZooKeeper.</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>yarn.resourcemanager.zk-timeout-ms</name>
     <name>yarn.resourcemanager.zk-timeout-ms</name>
     <value>10000</value>
     <value>10000</value>
     <description>ZooKeeper session timeout in milliseconds. Session expiration is managed by the ZooKeeper cluster itself, not by the client. This value is used by the cluster to determine when the client's session expires. Expirations happens when the cluster does not hear from the client within the specified session timeout period (i.e. no heartbeat).</description>
     <description>ZooKeeper session timeout in milliseconds. Session expiration is managed by the ZooKeeper cluster itself, not by the client. This value is used by the cluster to determine when the client's session expires. Expirations happens when the cluster does not hear from the client within the specified session timeout period (i.e. no heartbeat).</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>yarn.resourcemanager.state-store.max-completed-applications</name>
     <name>yarn.resourcemanager.state-store.max-completed-applications</name>
     <value>${yarn.resourcemanager.max-completed-applications}</value>
     <value>${yarn.resourcemanager.max-completed-applications}</value>
     <description>The maximum number of completed applications RM state store keeps, less than or equals to ${yarn.resourcemanager.max-completed-applications}. By default, it equals to ${yarn.resourcemanager.max-completed-applications}. This ensures that the applications kept in the state store are consistent with the applications remembered in RM memory. Any values larger than ${yarn.resourcemanager.max-completed-applications} will be reset to ${yarn.resourcemanager.max-completed-applications}. Note that this value impacts the RM recovery performance.Typically,  a smaller value indicates better performance on RM recovery.</description>
     <description>The maximum number of completed applications RM state store keeps, less than or equals to ${yarn.resourcemanager.max-completed-applications}. By default, it equals to ${yarn.resourcemanager.max-completed-applications}. This ensures that the applications kept in the state store are consistent with the applications remembered in RM memory. Any values larger than ${yarn.resourcemanager.max-completed-applications} will be reset to ${yarn.resourcemanager.max-completed-applications}. Note that this value impacts the RM recovery performance.Typically,  a smaller value indicates better performance on RM recovery.</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>yarn.resourcemanager.fs.state-store.retry-policy-spec</name>
     <name>yarn.resourcemanager.fs.state-store.retry-policy-spec</name>
     <value>2000, 500</value>
     <value>2000, 500</value>
     <description>hdfs client retry policy specification. hdfs client retry is always enabled. Specified in pairs of sleep-time and number-of-retries and (t0, n0), (t1, n1), ..., the first n0 retries sleep t0 milliseconds on average, the following n1 retries sleep t1 milliseconds on average, and so on.</description>
     <description>hdfs client retry policy specification. hdfs client retry is always enabled. Specified in pairs of sleep-time and number-of-retries and (t0, n0), (t1, n1), ..., the first n0 retries sleep t0 milliseconds on average, the following n1 retries sleep t1 milliseconds on average, and so on.</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>yarn.resourcemanager.fs.state-store.uri</name>
     <name>yarn.resourcemanager.fs.state-store.uri</name>
     <value> </value>
     <value> </value>
     <description>RI pointing to the location of the FileSystem path where RM state will be stored. This must be supplied when using org.apache.hadoop.yarn.server.resourcemanager.recovery.FileSystemRMStateStore as the value for yarn.resourcemanager.store.class </description>
     <description>RI pointing to the location of the FileSystem path where RM state will be stored. This must be supplied when using org.apache.hadoop.yarn.server.resourcemanager.recovery.FileSystemRMStateStore as the value for yarn.resourcemanager.store.class </description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>yarn.resourcemanager.ha.enabled</name>
     <name>yarn.resourcemanager.ha.enabled</name>
     <value>false</value>
     <value>false</value>
     <description>enable RM HA or not</description>
     <description>enable RM HA or not</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>yarn.nodemanager.linux-container-executor.resources-handler.class</name>
     <name>yarn.nodemanager.linux-container-executor.resources-handler.class</name>
@@ -257,7 +257,7 @@
         <name>yarn_cgroups_enabled</name>
         <name>yarn_cgroups_enabled</name>
       </property>
       </property>
     </depends-on>
     </depends-on>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>yarn.nodemanager.linux-container-executor.cgroups.hierarchy</name>
     <name>yarn.nodemanager.linux-container-executor.cgroups.hierarchy</name>
@@ -269,7 +269,7 @@
         <name>yarn_cgroups_enabled</name>
         <name>yarn_cgroups_enabled</name>
       </property>
       </property>
     </depends-on>
     </depends-on>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>yarn.nodemanager.linux-container-executor.cgroups.mount</name>
     <name>yarn.nodemanager.linux-container-executor.cgroups.mount</name>
@@ -281,7 +281,7 @@
         <name>yarn_cgroups_enabled</name>
         <name>yarn_cgroups_enabled</name>
       </property>
       </property>
     </depends-on>
     </depends-on>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>yarn.nodemanager.linux-container-executor.cgroups.mount-path</name>
     <name>yarn.nodemanager.linux-container-executor.cgroups.mount-path</name>
@@ -293,13 +293,13 @@
         <name>yarn_cgroups_enabled</name>
         <name>yarn_cgroups_enabled</name>
       </property>
       </property>
     </depends-on>
     </depends-on>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>yarn.nodemanager.linux-container-executor.cgroups.strict-resource-usage</name>
     <name>yarn.nodemanager.linux-container-executor.cgroups.strict-resource-usage</name>
     <value>false</value>
     <value>false</value>
     <description>Strictly limit CPU resource usage to allocated usage even if spare CPU is available</description>
     <description>Strictly limit CPU resource usage to allocated usage even if spare CPU is available</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>yarn.nodemanager.resource.cpu-vcores</name>
     <name>yarn.nodemanager.resource.cpu-vcores</name>
@@ -324,7 +324,7 @@
         <name>yarn.nodemanager.resource.percentage-physical-cpu-limit</name>
         <name>yarn.nodemanager.resource.percentage-physical-cpu-limit</name>
       </property>
       </property>
     </depends-on>
     </depends-on>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>yarn.nodemanager.resource.percentage-physical-cpu-limit</name>
     <name>yarn.nodemanager.resource.percentage-physical-cpu-limit</name>
@@ -337,7 +337,7 @@
       <maximum>100</maximum>
       <maximum>100</maximum>
       <increment-step>1</increment-step>
       <increment-step>1</increment-step>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>yarn.node-labels.fs-store.retry-policy-spec</name>
     <name>yarn.node-labels.fs-store.retry-policy-spec</name>
@@ -347,19 +347,19 @@
       specified by N pairs of sleep-time in milliseconds and number-of-retries
       specified by N pairs of sleep-time in milliseconds and number-of-retries
       &quot;s1,n1,s2,n2,...&quot;.
       &quot;s1,n1,s2,n2,...&quot;.
     </description>
     </description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>yarn.nodemanager.disk-health-checker.min-free-space-per-disk-mb</name>
     <name>yarn.nodemanager.disk-health-checker.min-free-space-per-disk-mb</name>
     <value>1000</value>
     <value>1000</value>
     <description>This is related to disk size on the machines, admins should set one of yarn.nodemanager.disk-health-checker.min-free-space-per-disk-mb or yarn.nodemanager.disk-health-checker.max-disk-utilization-per-disk-percentage but not both. If both are set, the more conservative value will be used</description>
     <description>This is related to disk size on the machines, admins should set one of yarn.nodemanager.disk-health-checker.min-free-space-per-disk-mb or yarn.nodemanager.disk-health-checker.max-disk-utilization-per-disk-percentage but not both. If both are set, the more conservative value will be used</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>yarn.nodemanager.disk-health-checker.max-disk-utilization-per-disk-percentage</name>
     <name>yarn.nodemanager.disk-health-checker.max-disk-utilization-per-disk-percentage</name>
     <value>90</value>
     <value>90</value>
     <description>This is related to disk size on the machines, admins should set one of yarn.nodemanager.disk-health-checker.min-free-space-per-disk-mb or yarn.nodemanager.disk-health-checker.max-disk-utilization-per-disk-percentage but not both. If both are set, the more conservative value will be used</description>
     <description>This is related to disk size on the machines, admins should set one of yarn.nodemanager.disk-health-checker.min-free-space-per-disk-mb or yarn.nodemanager.disk-health-checker.max-disk-utilization-per-disk-percentage but not both. If both are set, the more conservative value will be used</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>yarn.nodemanager.log-aggregation.debug-enabled</name>
     <name>yarn.nodemanager.log-aggregation.debug-enabled</name>
@@ -368,37 +368,37 @@
       This configuration is for debug and test purpose.
       This configuration is for debug and test purpose.
       By setting this configuration as true.
       By setting this configuration as true.
       We can break the lower bound of yarn.nodemanager.log-aggregation.roll-monitoring-interval-seconds</description>
       We can break the lower bound of yarn.nodemanager.log-aggregation.roll-monitoring-interval-seconds</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>yarn.nodemanager.log-aggregation.num-log-files-per-app</name>
     <name>yarn.nodemanager.log-aggregation.num-log-files-per-app</name>
     <value>30</value>
     <value>30</value>
     <description>This is temporary solution. The configuration will be deleted once, we find a more scalable method to only write a single log file per LRS.</description>
     <description>This is temporary solution. The configuration will be deleted once, we find a more scalable method to only write a single log file per LRS.</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>yarn.resourcemanager.system-metrics-publisher.enabled</name>
     <name>yarn.resourcemanager.system-metrics-publisher.enabled</name>
     <value>true</value>
     <value>true</value>
     <description/>
     <description/>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>yarn.resourcemanager.system-metrics-publisher.dispatcher.pool-size</name>
     <name>yarn.resourcemanager.system-metrics-publisher.dispatcher.pool-size</name>
     <value>10</value>
     <value>10</value>
     <description>Number of worker threads that send the yarn system metrics data.</description>
     <description>Number of worker threads that send the yarn system metrics data.</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>yarn.timeline-service.client.max-retries</name>
     <name>yarn.timeline-service.client.max-retries</name>
     <value>30</value>
     <value>30</value>
     <description/>
     <description/>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>yarn.timeline-service.client.retry-interval-ms</name>
     <name>yarn.timeline-service.client.retry-interval-ms</name>
     <value>1000</value>
     <value>1000</value>
     <description/>
     <description/>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>yarn.timeline-service.ttl-enable</name>
     <name>yarn.timeline-service.ttl-enable</name>
@@ -409,13 +409,13 @@
     <value-attributes>
     <value-attributes>
       <type>boolean</type>
       <type>boolean</type>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>yarn.timeline-service.state-store-class</name>
     <name>yarn.timeline-service.state-store-class</name>
     <value>org.apache.hadoop.yarn.server.timeline.recovery.LeveldbTimelineStateStore</value>
     <value>org.apache.hadoop.yarn.server.timeline.recovery.LeveldbTimelineStateStore</value>
     <description>Store class name for timeline state store.</description>
     <description>Store class name for timeline state store.</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>yarn.timeline-service.leveldb-state-store.path</name>
     <name>yarn.timeline-service.leveldb-state-store.path</name>
@@ -424,7 +424,7 @@
     <value-attributes>
     <value-attributes>
       <type>directory</type>
       <type>directory</type>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>yarn.timeline-service.leveldb-timeline-store.path</name>
     <name>yarn.timeline-service.leveldb-timeline-store.path</name>
@@ -433,7 +433,7 @@
     <value-attributes>
     <value-attributes>
       <type>directory</type>
       <type>directory</type>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>yarn.timeline-service.leveldb-timeline-store.read-cache-size</name>
     <name>yarn.timeline-service.leveldb-timeline-store.read-cache-size</name>
@@ -441,7 +441,7 @@
     <description>
     <description>
       Size of read cache for uncompressed blocks for leveldb timeline store in bytes.
       Size of read cache for uncompressed blocks for leveldb timeline store in bytes.
     </description>
     </description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>yarn.timeline-service.leveldb-timeline-store.start-time-read-cache-size</name>
     <name>yarn.timeline-service.leveldb-timeline-store.start-time-read-cache-size</name>
@@ -449,7 +449,7 @@
     <description>
     <description>
       Size of cache for recently read entity start times for leveldb timeline store in number of entities.
       Size of cache for recently read entity start times for leveldb timeline store in number of entities.
     </description>
     </description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>yarn.timeline-service.leveldb-timeline-store.start-time-write-cache-size</name>
     <name>yarn.timeline-service.leveldb-timeline-store.start-time-write-cache-size</name>
@@ -457,7 +457,7 @@
     <description>
     <description>
       Size of cache for recently written entity start times for leveldb timeline store in number of entities.
       Size of cache for recently written entity start times for leveldb timeline store in number of entities.
     </description>
     </description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>yarn.timeline-service.http-authentication.type</name>
     <name>yarn.timeline-service.http-authentication.type</name>
@@ -466,13 +466,13 @@
       Defines authentication used for the Timeline Server HTTP endpoint.
       Defines authentication used for the Timeline Server HTTP endpoint.
       Supported values are: simple | kerberos | $AUTHENTICATION_HANDLER_CLASSNAME
       Supported values are: simple | kerberos | $AUTHENTICATION_HANDLER_CLASSNAME
     </description>
     </description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>yarn.timeline-service.http-authentication.simple.anonymous.allowed</name>
     <name>yarn.timeline-service.http-authentication.simple.anonymous.allowed</name>
     <value>true</value>
     <value>true</value>
     <description/>
     <description/>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>yarn.resourcemanager.webapp.delegation-token-auth-filter.enabled</name>
     <name>yarn.resourcemanager.webapp.delegation-token-auth-filter.enabled</name>
@@ -483,25 +483,25 @@
       tokens(fallback to kerberos if the tokens are missing).
       tokens(fallback to kerberos if the tokens are missing).
       Only applicable when the http authentication type is kerberos.
       Only applicable when the http authentication type is kerberos.
     </description>
     </description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>yarn.resourcemanager.bind-host</name>
     <name>yarn.resourcemanager.bind-host</name>
     <value>0.0.0.0</value>
     <value>0.0.0.0</value>
     <description>Default value is 0.0.0.0, when this is set the service will bind on all interfaces.  I think these two options (blank, "0.0.0.0" sans quotes) should be the two available values, with blank as the default.</description>
     <description>Default value is 0.0.0.0, when this is set the service will bind on all interfaces.  I think these two options (blank, "0.0.0.0" sans quotes) should be the two available values, with blank as the default.</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>yarn.nodemanager.bind-host</name>
     <name>yarn.nodemanager.bind-host</name>
     <value>0.0.0.0</value>
     <value>0.0.0.0</value>
     <description>Default value is 0.0.0.0, when this is set the service will bind on all interfaces.  I think these two options (blank, "0.0.0.0" sans quotes) should be the two available values, with blank as the default.</description>
     <description>Default value is 0.0.0.0, when this is set the service will bind on all interfaces.  I think these two options (blank, "0.0.0.0" sans quotes) should be the two available values, with blank as the default.</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>yarn.timeline-service.bind-host</name>
     <name>yarn.timeline-service.bind-host</name>
     <value>0.0.0.0</value>
     <value>0.0.0.0</value>
     <description>Default value is 0.0.0.0, when this is set the service will bind on all interfaces.  I think these two options (blank, "0.0.0.0" sans quotes) should be the two available values, with blank as the default.</description>
     <description>Default value is 0.0.0.0, when this is set the service will bind on all interfaces.  I think these two options (blank, "0.0.0.0" sans quotes) should be the two available values, with blank as the default.</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>yarn.node-labels.fs-store.root-dir</name>
     <name>yarn.node-labels.fs-store.root-dir</name>
@@ -509,7 +509,7 @@
     <description>
     <description>
       URI for NodeLabelManager.
       URI for NodeLabelManager.
     </description>
     </description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>yarn.scheduler.minimum-allocation-vcores</name>
     <name>yarn.scheduler.minimum-allocation-vcores</name>
@@ -528,7 +528,7 @@
         <name>yarn.nodemanager.resource.cpu-vcores</name>
         <name>yarn.nodemanager.resource.cpu-vcores</name>
       </property>
       </property>
     </depends-on>
     </depends-on>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>yarn.scheduler.maximum-allocation-vcores</name>
     <name>yarn.scheduler.maximum-allocation-vcores</name>
@@ -547,7 +547,7 @@
         <name>yarn.nodemanager.resource.cpu-vcores</name>
         <name>yarn.nodemanager.resource.cpu-vcores</name>
       </property>
       </property>
     </depends-on>
     </depends-on>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>yarn.node-labels.enabled</name>
     <name>yarn.node-labels.enabled</name>
@@ -570,7 +570,7 @@
       </entries>
       </entries>
       <selection-cardinality>1</selection-cardinality>
       <selection-cardinality>1</selection-cardinality>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>yarn.nodemanager.container-executor.class</name>
     <name>yarn.nodemanager.container-executor.class</name>
@@ -586,7 +586,7 @@
         <name>hadoop.security.authentication</name>
         <name>hadoop.security.authentication</name>
       </property>
       </property>
     </depends-on>
     </depends-on>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>yarn.nodemanager.linux-container-executor.group</name>
     <name>yarn.nodemanager.linux-container-executor.group</name>
@@ -602,7 +602,7 @@
         <name>user_group</name>
         <name>user_group</name>
       </property>
       </property>
     </depends-on>
     </depends-on>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>yarn.resourcemanager.scheduler.monitor.enable</name>
     <name>yarn.resourcemanager.scheduler.monitor.enable</name>
@@ -627,7 +627,7 @@
       </entries>
       </entries>
       <selection-cardinality>1</selection-cardinality>
       <selection-cardinality>1</selection-cardinality>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
 
 
   <!-- This first section of properties exists in HDP 2.3 and higher. -->
   <!-- This first section of properties exists in HDP 2.3 and higher. -->
@@ -638,7 +638,7 @@
       true, then yarn.timeline-service.state-store-class must be specified.
       true, then yarn.timeline-service.state-store-class must be specified.
     </description>
     </description>
     <value>true</value>
     <value>true</value>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>yarn.acl.enable</name>
     <name>yarn.acl.enable</name>
@@ -650,8 +650,8 @@
         <name>ranger-yarn-plugin-enabled</name>
         <name>ranger-yarn-plugin-enabled</name>
       </property>
       </property>
     </depends-on>
     </depends-on>
-    <on-ambari-upgrade add="true"/>
-  </property>arn.nodemanager.linux-container-executo
+    <on-ambari-upgrade add="false"/>
+  </property>
   <property>
   <property>
     <name>yarn.authorization-provider</name>
     <name>yarn.authorization-provider</name>
     <description> Yarn authorization provider class. </description>
     <description> Yarn authorization provider class. </description>
@@ -661,7 +661,7 @@
         <name>ranger-yarn-plugin-enabled</name>
         <name>ranger-yarn-plugin-enabled</name>
       </property>
       </property>
     </depends-on>
     </depends-on>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>yarn.admin.acl</name>
     <name>yarn.admin.acl</name>
@@ -670,32 +670,32 @@
     <value-attributes>
     <value-attributes>
       <empty-value-valid>true</empty-value-valid>
       <empty-value-valid>true</empty-value-valid>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <!-- ATS v1.5 properties that exist in HDP 2.3 and higher. -->
   <!-- ATS v1.5 properties that exist in HDP 2.3 and higher. -->
   <property>
   <property>
     <name>yarn.timeline-service.version</name>
     <name>yarn.timeline-service.version</name>
     <value>1.5</value>
     <value>1.5</value>
     <description>Timeline service version we&#x2019;re currently using.</description>
     <description>Timeline service version we&#x2019;re currently using.</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>yarn.timeline-service.store-class</name>
     <name>yarn.timeline-service.store-class</name>
     <value>org.apache.hadoop.yarn.server.timeline.EntityGroupFSTimelineStore</value>
     <value>org.apache.hadoop.yarn.server.timeline.EntityGroupFSTimelineStore</value>
     <description>Main storage class for YARN timeline server.</description>
     <description>Main storage class for YARN timeline server.</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>yarn.timeline-service.entity-group-fs-store.active-dir</name>
     <name>yarn.timeline-service.entity-group-fs-store.active-dir</name>
     <value>/ats/active/</value>
     <value>/ats/active/</value>
     <description>DFS path to store active application&#x2019;s timeline data</description>
     <description>DFS path to store active application&#x2019;s timeline data</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>yarn.timeline-service.entity-group-fs-store.done-dir</name>
     <name>yarn.timeline-service.entity-group-fs-store.done-dir</name>
     <value>/ats/done/</value>
     <value>/ats/done/</value>
     <description>DFS path to store done application&#x2019;s timeline data</description>
     <description>DFS path to store done application&#x2019;s timeline data</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>yarn.timeline-service.entity-group-fs-store.group-id-plugin-classes</name>
     <name>yarn.timeline-service.entity-group-fs-store.group-id-plugin-classes</name>
@@ -704,7 +704,7 @@
     <value-attributes>
     <value-attributes>
       <empty-value-valid>true</empty-value-valid>
       <empty-value-valid>true</empty-value-valid>
     </value-attributes>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <!-- advanced ats v1.5 properties-->
   <!-- advanced ats v1.5 properties-->
   <property>
   <property>
@@ -712,7 +712,7 @@
     <description>Summary storage for ATS v1.5</description>
     <description>Summary storage for ATS v1.5</description>
     <!-- Use rolling leveldb, advanced -->
     <!-- Use rolling leveldb, advanced -->
     <value>org.apache.hadoop.yarn.server.timeline.RollingLevelDBTimelineStore</value>
     <value>org.apache.hadoop.yarn.server.timeline.RollingLevelDBTimelineStore</value>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>yarn.timeline-service.entity-group-fs-store.scan-interval-seconds</name>
     <name>yarn.timeline-service.entity-group-fs-store.scan-interval-seconds</name>
@@ -723,7 +723,7 @@
     </description>
     </description>
     <!-- Default is 60 seconds, advanced -->
     <!-- Default is 60 seconds, advanced -->
     <value>60</value>
     <value>60</value>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>yarn.timeline-service.entity-group-fs-store.cleaner-interval-seconds</name>
     <name>yarn.timeline-service.entity-group-fs-store.cleaner-interval-seconds</name>
@@ -734,7 +734,7 @@
     </description>
     </description>
     <!-- 3600 is default, advanced -->
     <!-- 3600 is default, advanced -->
     <value>3600</value>
     <value>3600</value>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>
   <property>
   <property>
     <name>yarn.timeline-service.entity-group-fs-store.retain-seconds</name>
     <name>yarn.timeline-service.entity-group-fs-store.retain-seconds</name>
@@ -744,7 +744,7 @@
     </description>
     </description>
     <!-- 7 days is default, advanced -->
     <!-- 7 days is default, advanced -->
     <value>604800</value>
     <value>604800</value>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   </property>