ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From atk...@apache.org
Subject [1/2] git commit: AMBARI-4913 'Check OOZIE' failed after adding Oozie service. (atkach)
Date Mon, 03 Mar 2014 19:10:58 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 67a5eca74 -> e3f4bd9fc


AMBARI-4913 'Check OOZIE' failed after adding Oozie service. (atkach)


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

Branch: refs/heads/trunk
Commit: 9a0e1efa842d13d9626bc37f4b5a243f40732649
Parents: 67a5eca
Author: atkach <atkach@hortonworks.com>
Authored: Mon Mar 3 15:36:44 2014 +0200
Committer: atkach <atkach@hortonworks.com>
Committed: Mon Mar 3 21:08:57 2014 +0200

----------------------------------------------------------------------
 ambari-web/app/controllers/wizard/step8_controller.js | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/9a0e1efa/ambari-web/app/controllers/wizard/step8_controller.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/wizard/step8_controller.js b/ambari-web/app/controllers/wizard/step8_controller.js
index 473cbb3..3a45614 100644
--- a/ambari-web/app/controllers/wizard/step8_controller.js
+++ b/ambari-web/app/controllers/wizard/step8_controller.js
@@ -1044,14 +1044,17 @@ App.WizardStep8Controller = Em.Controller.extend({
 
   createConfigurations: function () {
     var selectedServices = this.get('selectedServices');
+    var coreSiteObject = this.createCoreSiteObj();
     if (this.get('content.controllerName') == 'installerController') {
-      this.get('serviceConfigTags').pushObject(this.createCoreSiteObj());
+      this.get('serviceConfigTags').pushObject(coreSiteObject);
       this.get('serviceConfigTags').pushObject(this.createHdfsSiteObj());
       this.get('serviceConfigTags').pushObject(this.createLog4jObj('HDFS'));
     }
     var globalSiteObj = this.createGlobalSiteObj();
     if (this.get('content.controllerName') == 'addServiceController') {
       globalSiteObj.tag = 'version' + (new Date).getTime();
+      coreSiteObject.tag = 'version' + (new Date).getTime();
+      this.get('serviceConfigTags').pushObject(coreSiteObject);
     }
     this.get('serviceConfigTags').pushObject(globalSiteObj);
     if (selectedServices.someProperty('serviceName', 'MAPREDUCE')) {


Mime
View raw message