AMBARI-22372. DLM install failed on an unsecure upgraded cluster, due to 
missing configs. (Jaimin via Ishan)


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

Branch: refs/heads/branch-feature-AMBARI-21674
Commit: b8004df033be9b7ace43bf2d28820cf93e8bc4db
Parents: dd0421a
Author: Ishan Bhatt <[email protected]>
Authored: Tue Nov 7 10:56:05 2017 -0800
Committer: Ishan Bhatt <[email protected]>
Committed: Tue Nov 7 10:56:05 2017 -0800

----------------------------------------------------------------------
 .../HIVE/0.12.0.2.0/configuration/hive-site.xml | 38 ++++++++++++++++++++
 1 file changed, 38 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/b8004df0/ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/configuration/hive-site.xml
----------------------------------------------------------------------
diff --git 
a/ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/configuration/hive-site.xml
 
b/ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/configuration/hive-site.xml
index 762530b..5520c10 100644
--- 
a/ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/configuration/hive-site.xml
+++ 
b/ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/configuration/hive-site.xml
@@ -480,6 +480,12 @@ limitations under the License.
     <value-attributes>
       <empty-value-valid>true</empty-value-valid>
     </value-attributes>
+    <depends-on>
+      <property>
+        <type>beacon-env</type>
+        <name>set_hive_configs</name>
+      </property>
+    </depends-on>
     <on-ambari-upgrade add="false"/>
   </property>
   <property>
@@ -489,6 +495,12 @@ limitations under the License.
     <value-attributes>
       <empty-value-valid>true</empty-value-valid>
     </value-attributes>
+    <depends-on>
+      <property>
+        <type>beacon-env</type>
+        <name>set_hive_configs</name>
+      </property>
+    </depends-on>
     <on-ambari-upgrade add="false"/>
   </property>
   <property>
@@ -498,6 +510,12 @@ limitations under the License.
     <value-attributes>
       <empty-value-valid>true</empty-value-valid>
     </value-attributes>
+    <depends-on>
+      <property>
+        <type>beacon-env</type>
+        <name>set_hive_configs</name>
+      </property>
+    </depends-on>
     <on-ambari-upgrade add="false"/>
   </property>
   <property>
@@ -507,6 +525,16 @@ limitations under the License.
     <value-attributes>
       <empty-value-valid>true</empty-value-valid>
     </value-attributes>
+    <depends-on>
+      <property>
+        <type>beacon-env</type>
+        <name>set_hive_configs</name>
+      </property>
+      <property>
+        <type>hive-site</type>
+        <name>hive.metastore.warehouse.dir</name>
+      </property>
+    </depends-on>
     <on-ambari-upgrade add="false"/>
   </property>
   <property>
@@ -516,6 +544,16 @@ limitations under the License.
     <value-attributes>
       <empty-value-valid>true</empty-value-valid>
     </value-attributes>
+    <depends-on>
+      <property>
+        <type>beacon-env</type>
+        <name>set_hive_configs</name>
+      </property>
+      <property>
+        <type>hive-site</type>
+        <name>hive.metastore.warehouse.dir</name>
+      </property>
+    </depends-on>
     <on-ambari-upgrade add="false"/>
   </property>
 </configuration>

Reply via email to