Repository: ambari
Updated Branches:
  refs/heads/branch-2.6 412bca207 -> 2c181ac20


AMBARI-22584. PERF 1.0 stack deployment failure in ambari-2.6.1. (mpapirkovskyy)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/2c181ac2
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/2c181ac2
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/2c181ac2

Branch: refs/heads/branch-2.6
Commit: 2c181ac20d711725c8c0c8f693206c74d347704a
Parents: 412bca2
Author: Myroslav Papirkovskyi <[email protected]>
Authored: Mon Dec 4 17:57:14 2017 +0200
Committer: Myroslav Papirkovskyi <[email protected]>
Committed: Mon Dec 4 20:11:06 2017 +0200

----------------------------------------------------------------------
 .../PERF/1.0/configuration/cluster-env.xml      | 26 ++++++++++++++++++++
 .../PERF/1.0/properties/stack_packages.json     |  8 ++++++
 2 files changed, 34 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/2c181ac2/ambari-server/src/main/resources/stacks/PERF/1.0/configuration/cluster-env.xml
----------------------------------------------------------------------
diff --git 
a/ambari-server/src/main/resources/stacks/PERF/1.0/configuration/cluster-env.xml
 
b/ambari-server/src/main/resources/stacks/PERF/1.0/configuration/cluster-env.xml
index f19ac52..12a0527 100644
--- 
a/ambari-server/src/main/resources/stacks/PERF/1.0/configuration/cluster-env.xml
+++ 
b/ambari-server/src/main/resources/stacks/PERF/1.0/configuration/cluster-env.xml
@@ -109,4 +109,30 @@
     </value-attributes>
     <on-ambari-upgrade add="true"/>
   </property>
+  <!-- Define stack_packages property in the base stack. DO NOT override this 
property for each stack version -->
+  <property>
+    <name>stack_packages</name>
+    <value/>
+    <description>Associations between component and stack-select 
tools.</description>
+    <property-type>VALUE_FROM_PROPERTY_FILE</property-type>
+    <value-attributes>
+      <property-file-name>stack_packages.json</property-file-name>
+      <property-file-type>json</property-file-type>
+      <read-only>true</read-only>
+      <overridable>false</overridable>
+      <visible>false</visible>
+    </value-attributes>
+    <on-ambari-upgrade add="true"/>
+  </property>
+  <property>
+    <name>stack_root</name>
+    <value>{"PERF":"/usr/perf"}</value>
+    <description>JSON which defines the stack root by stack name</description>
+    <value-attributes>
+      <read-only>true</read-only>
+      <overridable>false</overridable>
+      <visible>false</visible>
+    </value-attributes>
+    <on-ambari-upgrade add="true"/>
+  </property>
 </configuration>

http://git-wip-us.apache.org/repos/asf/ambari/blob/2c181ac2/ambari-server/src/main/resources/stacks/PERF/1.0/properties/stack_packages.json
----------------------------------------------------------------------
diff --git 
a/ambari-server/src/main/resources/stacks/PERF/1.0/properties/stack_packages.json
 
b/ambari-server/src/main/resources/stacks/PERF/1.0/properties/stack_packages.json
new file mode 100644
index 0000000..6930fe6
--- /dev/null
+++ 
b/ambari-server/src/main/resources/stacks/PERF/1.0/properties/stack_packages.json
@@ -0,0 +1,8 @@
+{
+  "PERF": {
+    "stack-select": {
+    },
+    "upgrade-dependencies" : {
+    }
+  }
+}

Reply via email to