ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nc...@apache.org
Subject [08/50] [abbrv] ambari git commit: AMBARI-13674. Remove redundant console.* functions (onechiporenko)
Date Wed, 04 Nov 2015 13:36:35 GMT
http://git-wip-us.apache.org/repos/asf/ambari/blob/2cd12943/ambari-web/app/mixins/common/serverValidator.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/mixins/common/serverValidator.js b/ambari-web/app/mixins/common/serverValidator.js
index 4d22fdd..a7753f7 100644
--- a/ambari-web/app/mixins/common/serverValidator.js
+++ b/ambari-web/app/mixins/common/serverValidator.js
@@ -171,9 +171,6 @@ App.ServerValidatorMixin = Em.Mixin.create({
    * @param data
    */
   loadRecommendationsSuccess: function(data) {
-    if (!data) {
-      console.warn('error while loading default config values');
-    }
     this._saveRecommendedValues(data);
     var configObject = data.resources[0].recommendations.blueprint.configurations;
     if (configObject) this.updateInitialValue(configObject);
@@ -181,7 +178,7 @@ App.ServerValidatorMixin = Em.Mixin.create({
   },
 
   loadRecommendationsError: function(jqXHR, ajaxOptions, error, opt) {
-    console.error("ERROR: Unable to determine recommendations for configs: ", jqXHR, ajaxOptions, error, opt);
+
   },
 
   serverSideValidation: function () {
@@ -382,7 +379,6 @@ App.ServerValidatorMixin = Em.Mixin.create({
 
   validationError: function (jqXHR, ajaxOptions, error, opt) {
     this.set('configValidationFailed', true);
-    console.error('Config validation failed: ', jqXHR, ajaxOptions, error, opt);
   },
 
 
@@ -395,7 +391,6 @@ App.ServerValidatorMixin = Em.Mixin.create({
   warnUser: function(deferred) {
     var self = this;
     if (this.get('configValidationFailed')) {
-      console.error("Config validation failed. Going ahead with saving of configs");
       return App.ModalPopup.show({
         header: Em.I18n.t('installer.step7.popup.validation.failed.header'),
         primary: Em.I18n.t('common.proceedAnyway'),

http://git-wip-us.apache.org/repos/asf/ambari/blob/2cd12943/ambari-web/app/mixins/common/userPref.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/mixins/common/userPref.js b/ambari-web/app/mixins/common/userPref.js
index c4728bc..8ebc885 100644
--- a/ambari-web/app/mixins/common/userPref.js
+++ b/ambari-web/app/mixins/common/userPref.js
@@ -121,7 +121,6 @@ App.UserPref = Em.Mixin.create({
    * @param {Object} data
    */
   postUserPrefBeforeSend: function(request, ajaxOptions, data){
-    console.log('BeforeSend to persist: persistKeyValues', data.keyValuePair);
   }
 
 });

http://git-wip-us.apache.org/repos/asf/ambari/blob/2cd12943/ambari-web/app/mixins/common/widgets/widget_mixin.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/mixins/common/widgets/widget_mixin.js b/ambari-web/app/mixins/common/widgets/widget_mixin.js
index a0d507b..c2c7f47 100644
--- a/ambari-web/app/mixins/common/widgets/widget_mixin.js
+++ b/ambari-web/app/mixins/common/widgets/widget_mixin.js
@@ -440,7 +440,6 @@ App.WidgetMixin = Ember.Mixin.create({
             return metrics.findProperty('name', match).data;
           } else {
             validExpression = false;
-            console.warn('Metrics with name "' + match + '" not found to compute expression');
           }
         } else {
           return match;
@@ -450,7 +449,6 @@ App.WidgetMixin = Ember.Mixin.create({
       //check for correct math expression
       if (!(validExpression && this.get('MATH_EXPRESSION_REGEX').test(beforeCompute))) {
         validExpression = false;
-        console.warn('Value for metric is not correct mathematical expression: ' + beforeCompute);
       }
 
       result['${' + _expression + '}'] = (validExpression) ? Number(window.eval(beforeCompute)).toString() : value;

http://git-wip-us.apache.org/repos/asf/ambari/blob/2cd12943/ambari-web/app/mixins/main/service/configs/config_overridable.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/mixins/main/service/configs/config_overridable.js b/ambari-web/app/mixins/main/service/configs/config_overridable.js
index 1962502..4de6d0c 100644
--- a/ambari-web/app/mixins/main/service/configs/config_overridable.js
+++ b/ambari-web/app/mixins/main/service/configs/config_overridable.js
@@ -164,7 +164,6 @@ App.ConfigOverridable = Em.Mixin.create({
       },
       doSelectConfigGroup: function (event) {
         var configGroup = event.context;
-        console.log(configGroup);
         this.set('selectedConfigGroup', configGroup);
       },
       validate: function () {
@@ -257,7 +256,6 @@ App.ConfigOverridable = Em.Mixin.create({
         if (callback) {
           callback(xhr, text, errorThrown);
         }
-        console.error('Error in creating new Config Group');
       }
     };
     sendData.sender = sendData;

http://git-wip-us.apache.org/repos/asf/ambari/blob/2cd12943/ambari-web/app/mixins/main/service/themes_mapping.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/mixins/main/service/themes_mapping.js b/ambari-web/app/mixins/main/service/themes_mapping.js
index a6988f8..51a9aa5 100644
--- a/ambari-web/app/mixins/main/service/themes_mapping.js
+++ b/ambari-web/app/mixins/main/service/themes_mapping.js
@@ -100,7 +100,7 @@ App.ThemesMappingMixin = Em.Mixin.create({
    * @method _loadConfigThemeForServicesError
    */
   _loadConfigThemeForServicesError: function(request, ajaxOptions, error, opt, params) {
-    console.log('ERROR: failed to load theme configs for', params.serviceNames);
+
   }
 
 });
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/ambari/blob/2cd12943/ambari-web/app/mixins/wizard/assign_master_components.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/mixins/wizard/assign_master_components.js b/ambari-web/app/mixins/wizard/assign_master_components.js
index 14d0184..4d091c3 100644
--- a/ambari-web/app/mixins/wizard/assign_master_components.js
+++ b/ambari-web/app/mixins/wizard/assign_master_components.js
@@ -431,7 +431,6 @@ App.AssignMasterComponents = Em.Mixin.create({
    * @method updateValidationsErrorCallback
    */
   updateValidationsErrorCallback: function (jqXHR, ajaxOptions, error, opt) {
-    console.error('Config validation failed: ', jqXHR, ajaxOptions, error, opt);
   },
 
   /**
@@ -490,7 +489,6 @@ App.AssignMasterComponents = Em.Mixin.create({
    * @method loadStep
    */
   loadStep: function () {
-    console.log("WizardStep5Controller: Loading step5: Assign Masters");
     this.clearStep();
     this.renderHostInfo();
     this.loadComponentsRecommendationsFromServer(this.loadStepCallback);
@@ -507,7 +505,6 @@ App.AssignMasterComponents = Em.Mixin.create({
       self.updateComponent(componentName);
     }, self);
     if (self.thereIsNoMasters()) {
-      console.log('no master components to add');
       App.router.send('next');
     }
   },
@@ -751,7 +748,6 @@ App.AssignMasterComponents = Em.Mixin.create({
    */
   loadRecommendationsErrorCallback: function (jqXHR, ajaxOptions, error, opt) {
     App.ajax.defaultErrorHandler(jqXHR, opt.url, opt.method, jqXHR.status);
-    console.log('Load recommendations failed');
   },
 
   /**
@@ -770,7 +766,6 @@ App.AssignMasterComponents = Em.Mixin.create({
       var masterComponent = App.StackServiceComponent.find().findProperty('componentName', item.component_name);
       var componentObj = Em.Object.create(item);
       var showRemoveControl;
-      console.log("TRACE: render master component name is: " + item.component_name);
       if (masterComponent.get('isMasterWithMultipleInstances')) {
         showRemoveControl = installedServices.contains(masterComponent.get('stackService.serviceName')) &&
             (masterComponents.filterProperty('component_name', item.component_name).length > 1);
@@ -976,7 +971,6 @@ App.AssignMasterComponents = Em.Mixin.create({
         lastMaster = null;
 
     if (!currentMasters.length) {
-      console.log('ALERT: Zookeeper service was not selected');
       return false;
     }
 

http://git-wip-us.apache.org/repos/asf/ambari/blob/2cd12943/ambari-web/app/mixins/wizard/wizardDeployProgressController.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/mixins/wizard/wizardDeployProgressController.js b/ambari-web/app/mixins/wizard/wizardDeployProgressController.js
index 3c9ccf1..4a5cb84 100644
--- a/ambari-web/app/mixins/wizard/wizardDeployProgressController.js
+++ b/ambari-web/app/mixins/wizard/wizardDeployProgressController.js
@@ -68,7 +68,6 @@ App.wizardDeployProgressControllerMixin = Em.Mixin.create({
    * @method ajaxQueueFinished
    */
   ajaxQueueFinished: function () {
-    console.log('everything is loaded');
     App.router.send('next');
   },
 

http://git-wip-us.apache.org/repos/asf/ambari/blob/2cd12943/ambari-web/app/models/alerts/alert_config.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/models/alerts/alert_config.js b/ambari-web/app/models/alerts/alert_config.js
index df2e579..07a9453 100644
--- a/ambari-web/app/models/alerts/alert_config.js
+++ b/ambari-web/app/models/alerts/alert_config.js
@@ -145,7 +145,6 @@ App.AlertConfigProperty = Ember.Object.extend({
       case 'radioButton':
         return App.AlertConfigRadioButtonView;
       default:
-        console.error('Unable to find viewClass for displayType ', displayType);
     }
   }.property('displayType'),
 

http://git-wip-us.apache.org/repos/asf/ambari/blob/2cd12943/ambari-web/app/models/authentication.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/models/authentication.js b/ambari-web/app/models/authentication.js
index 115f6d1..47ea775 100644
--- a/ambari-web/app/models/authentication.js
+++ b/ambari-web/app/models/authentication.js
@@ -94,7 +94,6 @@ App.AuthenticationForm = App.Form.extend({
   ],
   fields:[],
   testConfiguration:function () {
-    console.warn('Configuration test is randomized');
     this.set('testResult', parseInt(Math.random() * 2));
     return true;
   },

http://git-wip-us.apache.org/repos/asf/ambari/blob/2cd12943/ambari-web/app/models/cluster_states.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/models/cluster_states.js b/ambari-web/app/models/cluster_states.js
index e9e93e1..bdf60e6 100644
--- a/ambari-web/app/models/cluster_states.js
+++ b/ambari-web/app/models/cluster_states.js
@@ -170,7 +170,6 @@ App.clusterStatus = Em.Object.create(App.UserPref, {
   getUserPrefErrorCallback: function (request, ajaxOptions, error) {
     if (request.status == 404) {
       // default status already set
-      console.log('Persist API did NOT find the key CLUSTER_CURRENT_STATUS');
       return;
     }
     App.ModalPopup.show({
@@ -268,7 +267,6 @@ App.clusterStatus = Em.Object.create(App.UserPref, {
    * @method postUserPrefErrorCallback
    */
   postUserPrefErrorCallback: function (request, ajaxOptions, error) {
-    console.log("ERROR");
     var msg = '', doc;
     try {
       msg = 'Error ' + (request.status) + ' ';

http://git-wip-us.apache.org/repos/asf/ambari/blob/2cd12943/ambari-web/app/models/form.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/models/form.js b/ambari-web/app/models/form.js
index 1d64a53..c45c6cb 100644
--- a/ambari-web/app/models/form.js
+++ b/ambari-web/app/models/form.js
@@ -64,7 +64,6 @@ App.Form = Em.View.extend({
       this.validate();
       if (!this.get('isValid')) {
         isValid = false;
-        console.warn(this.get('name') + " IS INVALID : " + this.get('errorMessage'));
       }
     });
 
@@ -127,13 +126,6 @@ App.FormField = Em.Object.extend({ // try to realize this as view
   unit:'',
   value:'',
 
-  observeValue:function () {
-
-    if (this.get('displayType') == 'hidden')
-      console.warn(" FORM FIELD VALUE: ", this.get('value'));
-
-  }.observes('value'),
-
   isValid:function () {
     return this.get('errorMessage') === '';
   }.property('errorMessage'),

http://git-wip-us.apache.org/repos/asf/ambari/blob/2cd12943/ambari-web/app/models/stack_service.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/models/stack_service.js b/ambari-web/app/models/stack_service.js
index 3d5e795..86b44ad 100644
--- a/ambari-web/app/models/stack_service.js
+++ b/ambari-web/app/models/stack_service.js
@@ -77,7 +77,6 @@ App.StackService = DS.Model.extend({
 
   displayNameOnSelectServicePage: function () {
     var displayName = this.get('displayName');
-    console.info("displayName = " + displayName);
     var services = this.get('coSelectedServices').slice();
     var serviceDisplayNames = services.map(function (item) {
       return App.format.role(item);

http://git-wip-us.apache.org/repos/asf/ambari/blob/2cd12943/ambari-web/app/models/user.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/models/user.js b/ambari-web/app/models/user.js
index cd952a0..c7ca9fe 100644
--- a/ambari-web/app/models/user.js
+++ b/ambari-web/app/models/user.js
@@ -180,9 +180,6 @@ App.CreateUserForm = App.Form.extend({
     if (this.get('className')) {
       App.store.load(this.get('className'), App.dateTime(), formValues);
     }
-    else {
-      console.log("Please define class name for your form " + this.constructor);
-    }
 
     this.set('result', 1);
 

http://git-wip-us.apache.org/repos/asf/ambari/blob/2cd12943/ambari-web/app/models/widget_property.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/models/widget_property.js b/ambari-web/app/models/widget_property.js
index 55b8976..5d1563f 100644
--- a/ambari-web/app/models/widget_property.js
+++ b/ambari-web/app/models/widget_property.js
@@ -68,7 +68,6 @@ App.WidgetProperty = Ember.Object.extend({
       case 'select':
         return App.WidgetPropertySelectView;
       default:
-        console.error('Parsing Widget Property: Unable to find viewClass for displayType ', displayType);
     }
   }.property('displayType'),
 

http://git-wip-us.apache.org/repos/asf/ambari/blob/2cd12943/ambari-web/app/router.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/router.js b/ambari-web/app/router.js
index 934d434..1da6edf 100644
--- a/ambari-web/app/router.js
+++ b/ambari-web/app/router.js
@@ -114,11 +114,9 @@ App.Router = Em.Router.extend({
   getWizardCurrentStep: function (wizardType) {
     var loginName = this.getLoginName();
     var currentStep = App.db.getWizardCurrentStep(wizardType);
-    console.log('getWizardCurrentStep: loginName=' + loginName + ", currentStep=" + currentStep);
     if (!currentStep) {
       currentStep = wizardType === 'installer' ? '0' : '1';
     }
-    console.log('returning currentStep=' + currentStep);
     return currentStep;
   },
 
@@ -191,13 +189,10 @@ App.Router = Em.Router.extend({
   onAuthenticationError: function (data) {
     if (data.status === 403) {
       this.setAuthenticated(false);
-    } else {
-      console.log('error in getAuthenticated');
     }
   },
 
   setAuthenticated: function (authenticated) {
-    console.log("TRACE: Entering router:setAuthenticated function");
     App.db.setAuthenticated(authenticated);
     this.set('loggedIn', authenticated);
   },
@@ -276,7 +271,6 @@ App.Router = Em.Router.extend({
   },
 
   loginSuccessCallback: function(data, opt, params) {
-    console.log('login success');
     App.usersMapper.map({"items": [data]});
     this.setUserLoggedIn(decodeURIComponent(params.loginName));
     var requestData = {
@@ -299,7 +293,6 @@ App.Router = Em.Router.extend({
 
   loginErrorCallback: function(request, ajaxOptions, error, opt) {
     var controller = this.get('loginController');
-    console.log("login error: " + error);
     this.setAuthenticated(false);
     if (request.status == 403) {
       var responseMessage = request.responseText;
@@ -460,7 +453,6 @@ App.Router = Em.Router.extend({
     });
     this.set('loggedIn', false);
     this.clearAllSteps();
-    console.log("Log off: " + App.router.getClusterName());
     this.set('loginController.loginName', '');
     this.set('loginController.password', '');
     // When logOff is called by Sign Out button, context contains event object. As it is only case we should send logoff request, we are checking context below.
@@ -479,13 +471,12 @@ App.Router = Em.Router.extend({
   },
 
   logOffSuccessCallback: function () {
-    console.log("invoked logout on the server successfully");
     var applicationController = App.router.get('applicationController');
     applicationController.set('isPollerRunning', false);
   },
 
   logOffErrorCallback: function () {
-    console.log("failed to invoke logout on the server");
+
   },
 
   /**
@@ -529,11 +520,8 @@ App.Router = Em.Router.extend({
       // If the path is not relative, silently ignore it - if the path is an absolute URL, the user
       // may be routed to a different server where the possibility exists for a phishing attack.
       if ((preferredPath.startsWith('/') || preferredPath.startsWith('#')) && !preferredPath.contains('#/login')) {
-        console.log("INFO: Routing to preferred path: " + preferredPath);
         window.location = preferredPath;
         isRestored = true;
-      } else {
-        console.log("WARNING: Ignoring preferred path since it is not a relative URL: " + preferredPath);
       }
       // Unset preferedPath
       this.set('preferedPath', null);
@@ -551,7 +539,6 @@ App.Router = Em.Router.extend({
       if (user) {
         if (user.admin) {
           App.set('isAdmin', true);
-          console.log('Administrator logged in');
         }
         if (user.operator) {
           App.set('isOperator', true);
@@ -582,7 +569,6 @@ App.Router = Em.Router.extend({
         router.getAuthenticated().done(function (loggedIn) {
           if (loggedIn) {
             Ember.run.next(function () {
-              console.log(router.getLoginName() + ' already authenticated.  Redirecting...');
               router.getSection(function (route) {
                 router.transitionTo(route, context);
               });
@@ -596,8 +582,6 @@ App.Router = Em.Router.extend({
 
       connectOutlets: function (router, context) {
         $('title').text(Em.I18n.t('app.name'));
-        console.log('/login:connectOutlet');
-        console.log('currentStep is: ' + router.getInstallerCurrentStep());
         router.get('applicationController').connectOutlet('login');
       }
     }),
@@ -644,7 +628,6 @@ App.Router = Em.Router.extend({
         if (App.isAccessible('upgrade_ONLY_ADMIN')) {
           App.router.get('experimentalController').loadSupports().complete(function () {
             $('title').text(Em.I18n.t('app.name.subtitle.experimental'));
-            console.log('/experimental:connectOutlet');
             router.get('applicationController').connectOutlet('experimental');
           });
         }

http://git-wip-us.apache.org/repos/asf/ambari/blob/2cd12943/ambari-web/app/routes/add_host_routes.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/routes/add_host_routes.js b/ambari-web/app/routes/add_host_routes.js
index 65cebac..e302096 100644
--- a/ambari-web/app/routes/add_host_routes.js
+++ b/ambari-web/app/routes/add_host_routes.js
@@ -42,8 +42,6 @@ module.exports = App.WizardRoute.extend({
   },
 
   enter: function (router) {
-    console.log('in /host/add:enter');
-
     var self = this;
 
     Ember.run.next(function () {
@@ -109,7 +107,6 @@ module.exports = App.WizardRoute.extend({
   step1: Em.Route.extend({
     route: '/step1',
     connectOutlets: function (router) {
-      console.log('in addHost.step1:connectOutlets');
       var controller = router.get('addHostController');
       controller.setCurrentStep('1');
       controller.set('hideBackButton', true);
@@ -130,7 +127,6 @@ module.exports = App.WizardRoute.extend({
       controller.setDBProperty('bootStatus', false);
     },
     evaluateStep: function (router) {
-      console.log('in addHost.step1:evaluateStep');
       var addHostController = router.get('addHostController');
       var wizardStep2Controller = router.get('wizardStep2Controller');
 
@@ -145,7 +141,6 @@ module.exports = App.WizardRoute.extend({
   step2: Em.Route.extend({
     route: '/step2',
     connectOutlets: function (router) {
-      console.log('in addHost.step2:connectOutlets');
       var controller = router.get('addHostController');
       controller.setCurrentStep('2');
       controller.dataLoading().done(function () {
@@ -182,7 +177,6 @@ module.exports = App.WizardRoute.extend({
      * @param context Array of hosts to delete
      */
     removeHosts: function (router, context) {
-      console.log('in addHost.step2.removeHosts:hosts to delete ', context);
       var controller = router.get('addHostController');
       controller.removeHosts(context);
     }
@@ -191,7 +185,6 @@ module.exports = App.WizardRoute.extend({
   step3: Em.Route.extend({
     route: '/step3',
     connectOutlets: function (router, context) {
-      console.log('in addHost.step3:connectOutlets');
       var controller = router.get('addHostController');
       controller.setCurrentStep('3');
       controller.dataLoading().done(function () {
@@ -224,7 +217,6 @@ module.exports = App.WizardRoute.extend({
   step4: Em.Route.extend({
     route: '/step4',
     connectOutlets: function (router, context) {
-      console.log('in addHost.step4:connectOutlets');
       var controller = router.get('addHostController');
       var addHostStep4Controller = router.get('addHostStep4Controller');
       controller.setCurrentStep('4');
@@ -252,7 +244,6 @@ module.exports = App.WizardRoute.extend({
   step5: Em.Route.extend({
     route: '/step5',
     connectOutlets: function (router, context) {
-      console.log('in addHost.step5:connectOutlets');
       var controller = router.get('addHostController');
       controller.setCurrentStep('5');
       controller.dataLoading().done(function () {
@@ -291,7 +282,6 @@ module.exports = App.WizardRoute.extend({
   step6: Em.Route.extend({
     route: '/step6',
     connectOutlets: function (router, context) {
-      console.log('in addHost.step6:connectOutlets');
       var controller = router.get('addHostController');
       controller.setCurrentStep('6');
       controller.dataLoading().done(function () {
@@ -342,7 +332,6 @@ module.exports = App.WizardRoute.extend({
   step7: Em.Route.extend({
     route: '/step7',
     connectOutlets: function (router, context) {
-      console.log('in addHost.step7:connectOutlets');
       var controller = router.get('addHostController');
       controller.setCurrentStep('7');
       controller.dataLoading().done(function () {
@@ -363,7 +352,7 @@ module.exports = App.WizardRoute.extend({
         'Hosts/host_status,Hosts/last_heartbeat_time,Hosts/os_arch,Hosts/os_type,Hosts/ip,host_components,' +
         'metrics/disk,metrics/load/load_one,metrics/cpu/cpu_system,metrics/cpu/cpu_user,metrics/memory/mem_total,metrics/memory/mem_free';
       router.get('clusterController').requestHosts(hostsUrl, function () {
-        console.log('Request for hosts, with immutable parameters');
+
       });
       router.get('updateController').updateAll();
       $(context.currentTarget).parents("#modal").find(".close").trigger('click');

http://git-wip-us.apache.org/repos/asf/ambari/blob/2cd12943/ambari-web/app/routes/add_kerberos_routes.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/routes/add_kerberos_routes.js b/ambari-web/app/routes/add_kerberos_routes.js
index 817f4ce..6b89555 100644
--- a/ambari-web/app/routes/add_kerberos_routes.js
+++ b/ambari-web/app/routes/add_kerberos_routes.js
@@ -125,7 +125,6 @@ module.exports = App.WizardRoute.extend({
     route: '/step1',
 
     connectOutlets: function (router) {
-      console.log('in addSecurity.step1:connectOutlets');
       var controller = router.get('kerberosWizardController');
       controller.dataLoading().done(function () {
         router.get('kerberosWizardController').setCurrentStep('1');
@@ -152,7 +151,6 @@ module.exports = App.WizardRoute.extend({
     route: '/step2',
 
     connectOutlets: function (router) {
-      console.log('in kerberosWizardController.step2:connectOutlets');
       var controller = router.get('kerberosWizardController');
       controller.dataLoading().done(function () {
         router.get('kerberosWizardController').setCurrentStep('2');
@@ -199,7 +197,6 @@ module.exports = App.WizardRoute.extend({
     route: '/step3',
 
     connectOutlets: function (router) {
-      console.log('in kerberosWizardController.step3:connectOutlets');
       var controller = router.get('kerberosWizardController');
       controller.dataLoading().done(function () {
         router.get('kerberosWizardController').setCurrentStep('3');
@@ -223,7 +220,6 @@ module.exports = App.WizardRoute.extend({
     route: '/step4',
 
     connectOutlets: function (router) {
-      console.log('in kerberosWizardController.step4:connectOutlets');
       var controller = router.get('kerberosWizardController');
       var step4Controller = router.get('kerberosWizardStep4Controller');
       controller.setCurrentStep(4);
@@ -264,7 +260,6 @@ module.exports = App.WizardRoute.extend({
     route: '/step5',
 
     connectOutlets: function (router) {
-      console.log('in kerberosWizardController.step5:connectOutlets');
       var controller = router.get('kerberosWizardController');
       controller.dataLoading().done(function () {
         router.get('kerberosWizardController').setCurrentStep('5');
@@ -304,7 +299,6 @@ module.exports = App.WizardRoute.extend({
     route: '/step6',
 
     connectOutlets: function (router) {
-      console.log('in kerberosWizardController.step6:connectOutlets');
       var controller = router.get('kerberosWizardController');
       controller.dataLoading().done(function () {
         router.get('kerberosWizardController').setCurrentStep('6');
@@ -331,7 +325,6 @@ module.exports = App.WizardRoute.extend({
     route: '/step7',
 
     connectOutlets: function (router) {
-      console.log('in kerberosWizardController.step7:connectOutlets');
       var controller = router.get('kerberosWizardController');
       var step7Controller = router.get('kerberosWizardStep7Controller');
       controller.dataLoading().done(function () {
@@ -355,7 +348,6 @@ module.exports = App.WizardRoute.extend({
     route: '/step8',
 
     connectOutlets: function (router) {
-      console.log('in kerberosWizardController.step8:connectOutlets');
       var controller = router.get('kerberosWizardController');
       controller.dataLoading().done(function () {
         router.get('kerberosWizardController').setCurrentStep('8');

http://git-wip-us.apache.org/repos/asf/ambari/blob/2cd12943/ambari-web/app/routes/add_service_routes.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/routes/add_service_routes.js b/ambari-web/app/routes/add_service_routes.js
index 7286c74..3a17c0e 100644
--- a/ambari-web/app/routes/add_service_routes.js
+++ b/ambari-web/app/routes/add_service_routes.js
@@ -23,7 +23,6 @@ module.exports = App.WizardRoute.extend({
   route: '/service/add',
 
   enter: function (router) {
-    console.log('in /service/add:enter');
     if (App.isAccessible('ADMIN')) {
       // `getSecurityStatus` call is required to retrieve information related to kerberos type: Manual or automated kerberos
       router.get('mainController').isLoading.call(router.get('clusterController'),'isClusterNameLoaded').done(function () {
@@ -106,15 +105,9 @@ module.exports = App.WizardRoute.extend({
 
   },
 
-  /*connectOutlets: function (router) {
-   console.log('in /service/add:connectOutlets');
-   router.get('mainController').connectOutlet('addService');
-   },*/
-
   step1: Em.Route.extend({
     route: '/step1',
     connectOutlets: function (router) {
-      console.log('in addService.step1:connectOutlets');
       var controller = router.get('addServiceController');
       controller.setCurrentStep('1');
       controller.set('hideBackButton', true);
@@ -144,7 +137,6 @@ module.exports = App.WizardRoute.extend({
   step2: Em.Route.extend({
     route: '/step2',
     connectOutlets: function (router) {
-      console.log('in addService.step2:connectOutlets');
       var controller = router.get('addServiceController');
       var wizardStep2Controller = router.get('wizardStep5Controller');
       controller.setCurrentStep('2');
@@ -173,7 +165,6 @@ module.exports = App.WizardRoute.extend({
   step3: Em.Route.extend({
     route: '/step3',
     connectOutlets: function (router) {
-      console.log('in addService.step3:connectOutlets');
       var controller = router.get('addServiceController');
       controller.setCurrentStep('3');
       router.get('mainController').isLoading.call(router.get('clusterController'), 'isServiceContentFullyLoaded').done(function () {
@@ -213,7 +204,6 @@ module.exports = App.WizardRoute.extend({
   step4: Em.Route.extend({
     route: '/step4',
     connectOutlets: function (router) {
-      console.log('in addService.step4:connectOutlets');
       var controller = router.get('addServiceController');
       controller.setCurrentStep('4');
       controller.dataLoading().done(function () {
@@ -303,7 +293,6 @@ module.exports = App.WizardRoute.extend({
   step6: Em.Route.extend({
     route: '/step6',
     connectOutlets: function (router, context) {
-      console.log('in addService.step5:connectOutlets');
       var controller = router.get('addServiceController');
       controller.setCurrentStep('6');
       controller.dataLoading().done(function () {
@@ -354,7 +343,6 @@ module.exports = App.WizardRoute.extend({
   step7: Em.Route.extend({
     route: '/step7',
     connectOutlets: function (router, context) {
-      console.log('in addService.step6:connectOutlets');
       var controller = router.get('addServiceController');
       controller.setCurrentStep('7');
       if (!App.get('testMode')) {              //if test mode is ON don't disable prior steps link.
@@ -403,7 +391,6 @@ module.exports = App.WizardRoute.extend({
   step8: Em.Route.extend({
     route: '/step8',
     connectOutlets: function (router, context) {
-      console.log('in addService.step7:connectOutlets');
       var controller = router.get('addServiceController');
       controller.setCurrentStep('8');
       controller.setLowerStepsDisable(8);

http://git-wip-us.apache.org/repos/asf/ambari/blob/2cd12943/ambari-web/app/routes/installer.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/routes/installer.js b/ambari-web/app/routes/installer.js
index 6423b4f..5beb03a 100644
--- a/ambari-web/app/routes/installer.js
+++ b/ambari-web/app/routes/installer.js
@@ -23,7 +23,6 @@ module.exports = Em.Route.extend(App.RouterRedirections, {
   App: require('app'),
 
   enter: function (router) {
-    console.log('in /installer:enter');
     var self = this;
 
     App.clusterStatus.set('wizardControllerName', App.router.get('installerController.name'));
@@ -43,8 +42,6 @@ module.exports = Em.Route.extend(App.RouterRedirections, {
             App.router.get('mainViewsController').loadAmbariViews();
             if (App.isAccessible('ADMIN')) {
               router.get('mainController').stopPolling();
-              console.log('In installer with successful authenticated');
-              console.log('current step=' + router.get('installerController.currentStep'));
               Em.run.next(function () {
                 App.clusterStatus.updateFromServer().complete(function () {
                   var currentClusterStatus = App.clusterStatus.get('value');
@@ -68,8 +65,6 @@ module.exports = Em.Route.extend(App.RouterRedirections, {
           });
         });
       } else {
-        console.log('In installer but its not authenticated');
-        console.log('value of authenticated is: ' + router.getAuthenticated());
         Ember.run.next(function () {
           router.transitionTo('login');
         });
@@ -78,8 +73,6 @@ module.exports = Em.Route.extend(App.RouterRedirections, {
   },
 
   routePath: function (router, event) {
-    console.log("INFO: value of router is: " + router);
-    console.log("INFO: value of event is: " + event);
     router.setNavigationFlow(event);
     if (!router.isFwdNavigation) {
       this._super(router, event);
@@ -100,7 +93,6 @@ module.exports = Em.Route.extend(App.RouterRedirections, {
     route: '/step0',
     connectOutlets: function (router) {
       console.time('step0 connectOutlets');
-      console.log('in installer.step0:connectOutlets');
       var controller = router.get('installerController');
       controller.setCurrentStep('0');
       controller.loadAllPriorSteps().done(function () {
@@ -124,7 +116,6 @@ module.exports = Em.Route.extend(App.RouterRedirections, {
     route: '/step1',
     connectOutlets: function (router) {
       console.time('step1 connectOutlets');
-      console.log('in installer.step1:connectOutlets');
       var controller = router.get('installerController');
       controller.setCurrentStep('1');
       controller.loadAllPriorSteps().done(function () {
@@ -178,7 +169,6 @@ module.exports = Em.Route.extend(App.RouterRedirections, {
     route: '/step3',
     connectOutlets: function (router) {
       console.time('step3 connectOutlets');
-      console.log('in installer.step3:connectOutlets');
       var controller = router.get('installerController');
       controller.setCurrentStep('3');
       controller.loadAllPriorSteps().done(function () {
@@ -217,7 +207,6 @@ module.exports = Em.Route.extend(App.RouterRedirections, {
      * @param context Array of hosts to delete
      */
     removeHosts: function (router, context) {
-      console.log('in installer.step2.removeHosts:hosts to delete ', context);
       var controller = router.get('installerController');
       controller.removeHosts(context);
     }
@@ -337,7 +326,6 @@ module.exports = Em.Route.extend(App.RouterRedirections, {
     route: '/step7',
     enter: function (router) {
       console.time('step7 enter');
-      console.log('in /wizardStep7Controller:enter');
       var controller = router.get('installerController');
       controller.setCurrentStep('7');
       console.timeEnd('step7 enter');
@@ -428,7 +416,6 @@ module.exports = Em.Route.extend(App.RouterRedirections, {
     route: '/step9',
     connectOutlets: function (router, context) {
       console.time('step9 connectOutlets');
-      console.log('in installer.step9:connectOutlets');
       var controller = router.get('installerController'),
           wizardStep9Controller = router.get('wizardStep9Controller');
       controller.loadAllPriorSteps().done(function () {
@@ -490,7 +477,6 @@ module.exports = Em.Route.extend(App.RouterRedirections, {
   step10: Em.Route.extend({
     route: '/step10',
     connectOutlets: function (router, context) {
-      console.log('in installer.step10:connectOutlets');
       var controller = router.get('installerController');
       controller.loadAllPriorSteps().done(function () {
         if (!App.get('testMode')) {

http://git-wip-us.apache.org/repos/asf/ambari/blob/2cd12943/ambari-web/app/routes/main.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/routes/main.js b/ambari-web/app/routes/main.js
index c740f6e..90a57fe 100644
--- a/ambari-web/app/routes/main.js
+++ b/ambari-web/app/routes/main.js
@@ -23,7 +23,6 @@ module.exports = Em.Route.extend(App.RouterRedirections, {
   route: '/main',
   enter: function (router) {
     App.db.updateStorage();
-    console.log('in /main:enter');
     var self = this;
     var location = router.location.location.hash;
     router.getAuthenticated().done(function (loggedIn) {

http://git-wip-us.apache.org/repos/asf/ambari/blob/2cd12943/ambari-web/app/routes/reassign_master_routes.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/routes/reassign_master_routes.js b/ambari-web/app/routes/reassign_master_routes.js
index 3223af7..8a86733 100644
--- a/ambari-web/app/routes/reassign_master_routes.js
+++ b/ambari-web/app/routes/reassign_master_routes.js
@@ -40,7 +40,6 @@ module.exports = App.WizardRoute.extend({
   },
 
   enter: function (router) {
-    console.log('in /service/reassign:enter');
     var context = this;
     var reassignMasterController = router.get('reassignMasterController');
 
@@ -119,7 +118,6 @@ module.exports = App.WizardRoute.extend({
   step1: Em.Route.extend({
     route: '/step1',
     connectOutlets: function (router) {
-      console.log('in reassignMaster.step1:connectOutlets');
       var controller = router.get('reassignMasterController');
       var step1Controller = router.get('reassignMasterWizardStep1Controller');
       controller.setCurrentStep('1');
@@ -144,7 +142,6 @@ module.exports = App.WizardRoute.extend({
   step2: Em.Route.extend({
     route: '/step2',
     connectOutlets: function (router) {
-      console.log('in reassignMaster.step2:connectOutlets');
       var controller = router.get('reassignMasterController');
       controller.setCurrentStep('2');
       router.get('mainController').isLoading.call(router.get('clusterController'), 'isServiceContentFullyLoaded').done(function () {
@@ -184,7 +181,6 @@ module.exports = App.WizardRoute.extend({
   step3: Em.Route.extend({
     route: '/step3',
     connectOutlets: function (router) {
-      console.log('in reassignMaster.step3:connectOutlets');
       var controller = router.get('reassignMasterController');
       controller.setCurrentStep('3');
       controller.dataLoading().done(function () {
@@ -213,7 +209,6 @@ module.exports = App.WizardRoute.extend({
   step4: Em.Route.extend({
     route: '/step4',
     connectOutlets: function (router) {
-      console.log('in reassignMaster.step4:connectOutlets');
       var controller = router.get('reassignMasterController');
       controller.setCurrentStep('4');
       controller.setLowerStepsDisable(4);
@@ -263,7 +258,6 @@ module.exports = App.WizardRoute.extend({
   step5: Em.Route.extend({
     route: '/step5',
     connectOutlets: function (router) {
-      console.log('in reassignMaster.step5:connectOutlets');
       var controller = router.get('reassignMasterController');
       controller.setCurrentStep('5');
       router.get('mainController').isLoading.call(router.get('clusterController'), 'isServiceContentFullyLoaded').done(function () {
@@ -292,7 +286,6 @@ module.exports = App.WizardRoute.extend({
   step6: Em.Route.extend({
     route: '/step6',
     connectOutlets: function (router) {
-      console.log('in reassignMaster.step6:connectOutlets');
       var controller = router.get('reassignMasterController');
       controller.setCurrentStep('6');
       controller.setLowerStepsDisable(6);
@@ -330,7 +323,6 @@ module.exports = App.WizardRoute.extend({
   step7: Em.Route.extend({
     route: '/step7',
     connectOutlets: function (router) {
-      console.log('in reassignMaster.step7:connectOutlets');
       var controller = router.get('reassignMasterController');
       controller.setCurrentStep('7');
       controller.setLowerStepsDisable(7);

http://git-wip-us.apache.org/repos/asf/ambari/blob/2cd12943/ambari-web/app/routes/stack_upgrade_routes.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/routes/stack_upgrade_routes.js b/ambari-web/app/routes/stack_upgrade_routes.js
index 543831c..c315f14 100644
--- a/ambari-web/app/routes/stack_upgrade_routes.js
+++ b/ambari-web/app/routes/stack_upgrade_routes.js
@@ -22,7 +22,6 @@ module.exports = App.WizardRoute.extend({
   route: 'stack/upgrade',
 
   enter: function (router) {
-    console.log('in /admin/stack/upgrade:enter');
     Ember.run.next(function () {
       //if upgrade id is absent then upgrade is completed
       if (Em.isNone(App.db.get('MainAdminStackAndUpgrade', 'upgradeId'))) {

http://git-wip-us.apache.org/repos/asf/ambari/blob/2cd12943/ambari-web/app/utils/action_sequence.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/utils/action_sequence.js b/ambari-web/app/utils/action_sequence.js
index 507f6fc..c77b722 100644
--- a/ambari-web/app/utils/action_sequence.js
+++ b/ambari-web/app/utils/action_sequence.js
@@ -81,8 +81,6 @@ App.actionSequence = Em.Object.extend({
   setSequence: function (sequence) {
     if (Array.isArray(sequence)) {
       this.set('sequence', sequence);
-    } else {
-      console.log('ERROR: passed sequence has incorrect type');
     }
     return this;
   },
@@ -127,8 +125,6 @@ App.actionSequence = Em.Object.extend({
           self.runNextAction(index, response);
         });
         return true;
-      } else {
-        console.log('WARNING: action has incorrect type, action skipped');
       }
     } else {
       //if no more actions left then finish sequence

http://git-wip-us.apache.org/repos/asf/ambari/blob/2cd12943/ambari-web/app/utils/ajax/ajax.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/utils/ajax/ajax.js b/ambari-web/app/utils/ajax/ajax.js
index 76c2925..a72bbf7 100644
--- a/ambari-web/app/utils/ajax/ajax.js
+++ b/ambari-web/app/utils/ajax/ajax.js
@@ -2832,7 +2832,6 @@ var ajax = Em.Object.extend({
       }
     };
     opt.success = function (data, textStatus, request) {
-      console.log("TRACE: The url is: " + opt.url);
       if (config.success) {
         config.sender[config.success](data, opt, params, request);
       }

http://git-wip-us.apache.org/repos/asf/ambari/blob/2cd12943/ambari-web/app/utils/batch_scheduled_requests.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/utils/batch_scheduled_requests.js b/ambari-web/app/utils/batch_scheduled_requests.js
index c350b59..eb783cc 100644
--- a/ambari-web/app/utils/batch_scheduled_requests.js
+++ b/ambari-web/app/utils/batch_scheduled_requests.js
@@ -304,7 +304,6 @@ module.exports = {
     errorCallback = errorCallback || defaultErrorCallback;
 
     if (!restartHostComponents.length) {
-      console.log('No batch rolling restart if no restartHostComponents provided!');
       return;
     }
     return App.ajax.send({

http://git-wip-us.apache.org/repos/asf/ambari/blob/2cd12943/ambari-web/app/utils/blueprint.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/utils/blueprint.js b/ambari-web/app/utils/blueprint.js
index d3138e5..cd4b7b2 100644
--- a/ambari-web/app/utils/blueprint.js
+++ b/ambari-web/app/utils/blueprint.js
@@ -332,8 +332,6 @@ module.exports = {
         config.get('configs').forEach(function(property){
           if (configurations[property.get('filename').replace('.xml','')]){
             configurations[property.get('filename').replace('.xml','')]['properties'][property.get('name')] = property.get('value');
-          } else {
-            console.warn(property.get('name') + " from " + property.get('filename') + " can't be validate");
           }
         });
       }

http://git-wip-us.apache.org/repos/asf/ambari/blob/2cd12943/ambari-web/app/utils/config.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/utils/config.js b/ambari-web/app/utils/config.js
index 0618695..a9321be 100644
--- a/ambari-web/app/utils/config.js
+++ b/ambari-web/app/utils/config.js
@@ -987,7 +987,6 @@ App.config = Em.Object.create({
       });
       return configs.without(configsTextarea);
     }
-    console.log('ERROR: textarea config - ' + complexConfigName + ' is missing');
     return configs;
   },
 

http://git-wip-us.apache.org/repos/asf/ambari/blob/2cd12943/ambari-web/app/utils/credentials.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/utils/credentials.js b/ambari-web/app/utils/credentials.js
index cf06908..c2b5274 100644
--- a/ambari-web/app/utils/credentials.js
+++ b/ambari-web/app/utils/credentials.js
@@ -74,7 +74,6 @@ module.exports = {
   },
 
   createCredentialsErrorCallback: function(req, ajaxOpts, error) {
-    console.error('createCredentials ERROR:', error);
   },
 
   /**

http://git-wip-us.apache.org/repos/asf/ambari/blob/2cd12943/ambari-web/app/utils/host_progress_popup.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/utils/host_progress_popup.js b/ambari-web/app/utils/host_progress_popup.js
index 6be7dd2..e834bbe 100644
--- a/ambari-web/app/utils/host_progress_popup.js
+++ b/ambari-web/app/utils/host_progress_popup.js
@@ -1080,7 +1080,6 @@ App.HostPopup = Em.Object.create({
               self.set('sourceRequestScheduleAborted', false);
             }
           }, function(xhr, textStatus, error, opt) {
-            console.log("Error getting request schedule information: ", textStatus, error, opt);
             self.set('sourceRequestScheduleRunning', false);
             self.set('sourceRequestScheduleAborted', false);
           });
@@ -1092,7 +1091,6 @@ App.HostPopup = Em.Object.create({
         doAbortRequestSchedule: function(event){
           var self = this;
           var id = event.context;
-          console.log("Aborting request schedule: ", id);
           batchUtils.doAbortRequestSchedule(id, function(){
             self.refreshRequestScheduleInfo();
           });

http://git-wip-us.apache.org/repos/asf/ambari/blob/2cd12943/ambari-web/app/utils/lazy_loading.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/utils/lazy_loading.js b/ambari-web/app/utils/lazy_loading.js
index 51e3aee..d394a0b 100644
--- a/ambari-web/app/utils/lazy_loading.js
+++ b/ambari-web/app/utils/lazy_loading.js
@@ -51,8 +51,6 @@ module.exports = {
       } else {
         instance.context.set('isLoaded', true);
       }
-    } else {
-      console.error('Lazy loading: source or destination has incorrect value');
     }
     return instance;
   },

http://git-wip-us.apache.org/repos/asf/ambari/blob/2cd12943/ambari-web/app/utils/polling.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/utils/polling.js b/ambari-web/app/utils/polling.js
index 7442a31..6db61ad 100644
--- a/ambari-web/app/utils/polling.js
+++ b/ambari-web/app/utils/polling.js
@@ -78,9 +78,6 @@ App.Poll = Em.Object.extend(App.ReloadPopupMixin, {
       timeout: App.timeout,
       success: function (data) {
         var jsonData = jQuery.parseJSON(data);
-        console.log("TRACE: Polling -> value of the url is: " + url);
-        console.log("TRACE: Polling-> value of the sent data is: " + self.get('data'));
-        console.log("TRACE: Polling-> value of the received data is: " + jsonData);
         if (Em.isNone(jsonData)) {
           self.set('isSuccess', true);
           self.set('isError', false);
@@ -88,12 +85,10 @@ App.Poll = Em.Object.extend(App.ReloadPopupMixin, {
           var requestId = jsonData.Requests.id;
           self.set('requestId', requestId);
           self.doPolling();
-          console.log('requestId is: ' + requestId);
         }
       },
 
       error: function () {
-        console.log("ERROR");
         self.set('isError', true);
         self.set('isSuccess', false);
       },
@@ -181,9 +176,6 @@ App.Poll = Em.Object.extend(App.ReloadPopupMixin, {
   reloadErrorCallback: function (request, ajaxOptions, error, opt, params) {
     this._super(request, ajaxOptions, error, opt, params);
     if (request.status) {
-      console.log("TRACE: In error function for the GET data");
-      console.log("TRACE: value of the url is: " + url);
-      console.log("TRACE: error code status is: " + request.status);
       if (!this.get('isSuccess')) {
         this.set('isError', true);
       }
@@ -238,12 +230,7 @@ App.Poll = Em.Object.extend(App.ReloadPopupMixin, {
 
 
   parseInfo: function (polledData) {
-    console.log('TRACE: Entering task info function');
     var tasksData = polledData.tasks;
-    console.log("The value of tasksData is: ", tasksData);
-    if (!tasksData) {
-      console.log("ERROR: NO tasks available to process");
-    }
     var requestId = this.get('requestId');
     if (polledData.Requests && polledData.Requests.id && polledData.Requests.id != requestId) {
       // We don't want to use non-current requestId's tasks data to
@@ -255,7 +242,6 @@ App.Poll = Em.Object.extend(App.ReloadPopupMixin, {
     this.replacePolledData(tasksData);
     var totalProgress = this.calculateProgressByTasks(tasksData);
     this.set('progress', totalProgress.toString());
-    console.log("INFO: right now the progress is: " + this.get('progress'));
     return this.isPollingFinished(tasksData);
   }
 

http://git-wip-us.apache.org/repos/asf/ambari/blob/2cd12943/ambari-web/app/views/common/controls_view.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/common/controls_view.js b/ambari-web/app/views/common/controls_view.js
index 9f3d2ca..f8b1f41 100644
--- a/ambari-web/app/views/common/controls_view.js
+++ b/ambari-web/app/views/common/controls_view.js
@@ -884,8 +884,6 @@ App.ServiceConfigLabelView = Ember.View.extend(App.ServiceConfigHostPopoverSuppo
 App.ServiceConfigMultipleHostsDisplay = Ember.Mixin.create(App.ServiceConfigHostPopoverSupport, App.ServiceConfigCalculateId, {
 
   hasNoHosts: function () {
-    console.log('view', this.get('viewName')); //to know which View cause errors
-    console.log('controller', this.get('controller').name); //should be slaveComponentGroupsController
     if (!this.get('value')) {
       return true;
     }

http://git-wip-us.apache.org/repos/asf/ambari/blob/2cd12943/ambari-web/app/views/common/grid.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/common/grid.js b/ambari-web/app/views/common/grid.js
index fe1b051..39a738c 100644
--- a/ambari-web/app/views/common/grid.js
+++ b/ambari-web/app/views/common/grid.js
@@ -46,13 +46,11 @@ App.GridHeader = Em.View.extend({
   },
   _filters:[],
   doFilter:function () {
-    console.log(this.get('grid'));
   },
   toggleFilter:function () {
     this.set('showFilter', 1 - this.get('showFilter'));
   },
   applyFilter:function () {
-    console.warn('APPLYING FILTERS');
 
     var filters = this.get('_filters');
     var filterValues = [];
@@ -186,7 +184,6 @@ App.Grid = Em.View.extend({
   templateName:require('templates/main/admin/audit'),
 
   init:function () {
-    console.warn("  Grid INIT  ");
     this._super();
     this.prepareColumns(); // should be the 1
     this.prepareCollection();
@@ -285,7 +282,6 @@ App.Grid = Em.View.extend({
     var collection = this.get('collection');
     var thisGrid = this;
     this.clearRows();
-    console.warn("PREPARE ROWS LEN:", collection.get('length'));
     var i=1;
 
     if (collection && collection.content) {

http://git-wip-us.apache.org/repos/asf/ambari/blob/2cd12943/ambari-web/app/views/common/table_view.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/common/table_view.js b/ambari-web/app/views/common/table_view.js
index 7c0a2b4..fe433f6 100644
--- a/ambari-web/app/views/common/table_view.js
+++ b/ambari-web/app/views/common/table_view.js
@@ -153,7 +153,6 @@ App.TableView = Em.View.extend(App.UserPref, {
    * @returns {*}
    */
   getUserPrefSuccessCallback: function (response, request, data) {
-    console.log('Got DisplayLength value from server with key ' + data.key + '. Value is: ' + response);
     this.set('displayLength', response);
     return response;
   },
@@ -164,7 +163,6 @@ App.TableView = Em.View.extend(App.UserPref, {
    */
   getUserPrefErrorCallback: function () {
     // this user is first time login
-    console.log('Persist did NOT find the key');
     var displayLengthDefault = this.get('defaultDisplayLength');
     this.set('displayLength', displayLengthDefault);
     if (App.isAccessible('upgrade_ADMIN')) {

http://git-wip-us.apache.org/repos/asf/ambari/blob/2cd12943/ambari-web/app/views/common/time_range.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/common/time_range.js b/ambari-web/app/views/common/time_range.js
index 977b376..20777f6 100644
--- a/ambari-web/app/views/common/time_range.js
+++ b/ambari-web/app/views/common/time_range.js
@@ -214,7 +214,6 @@ App.TimeRangeWidget = Em.View.extend({
         }
       });
     } else {
-      console.log(this.get('chosenPreset'));
       $("#slider").slider("destroy");
     }
   }.observes('chosenPreset')

http://git-wip-us.apache.org/repos/asf/ambari/blob/2cd12943/ambari-web/app/views/main/admin/stack_upgrade/services_view.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/admin/stack_upgrade/services_view.js b/ambari-web/app/views/main/admin/stack_upgrade/services_view.js
index edc4a36..75598a0 100644
--- a/ambari-web/app/views/main/admin/stack_upgrade/services_view.js
+++ b/ambari-web/app/views/main/admin/stack_upgrade/services_view.js
@@ -164,7 +164,6 @@ App.MainAdminStackServicesView = Em.View.extend({
    */
   doSaveRepoUrlsSuccessCallback: function (response, request, data) {
     var id = data.repoId + '-' + data.osType;
-    console.log('Success in check Repo URL. data repoId+osType: ' + id);
     var targetRepo = this.get('allRepos').findProperty('id', id);
     if (!targetRepo) {
       return;
@@ -194,7 +193,6 @@ App.MainAdminStackServicesView = Em.View.extend({
    * onError callback for save Repo URL.
    */
   doSaveRepoUrlsErrorCallback: function (request, ajaxOptions, error, data) {
-    console.log('Error in check Repo URL. The baseURL sent is:  ' + data.data);
     var self = this;
     var id = data.url.split('/')[10] + '-' + data.url.split('/')[8];
     var targetRepo = this.get('allRepos').findProperty('id', id);

http://git-wip-us.apache.org/repos/asf/ambari/blob/2cd12943/ambari-web/app/views/main/admin/stack_upgrade/versions_view.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/admin/stack_upgrade/versions_view.js b/ambari-web/app/views/main/admin/stack_upgrade/versions_view.js
index 33b995b..c0b9b57 100644
--- a/ambari-web/app/views/main/admin/stack_upgrade/versions_view.js
+++ b/ambari-web/app/views/main/admin/stack_upgrade/versions_view.js
@@ -181,7 +181,6 @@ App.MainAdminStackVersionsView = Em.View.extend({
             }),
             sortedMappedVersions = mappedVersions.sort(),
             latestVersion = sortedMappedVersions[sortedMappedVersions.length-1];
-            console.log('/views/ADMIN_VIEW/' + latestVersion + '/INSTANCE/#/stackVersions');
             window.location.replace('/views/ADMIN_VIEW/' + latestVersion + '/INSTANCE/#/stackVersions');
         }
       });

http://git-wip-us.apache.org/repos/asf/ambari/blob/2cd12943/ambari-web/app/views/main/dashboard/widgets.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/dashboard/widgets.js b/ambari-web/app/views/main/dashboard/widgets.js
index f98c619..e8e0565 100644
--- a/ambari-web/app/views/main/dashboard/widgets.js
+++ b/ambari-web/app/views/main/dashboard/widgets.js
@@ -479,7 +479,6 @@ App.MainDashboardWidgetsView = Em.View.extend(App.UserPref, App.LocalStorage, Ap
 
   getUserPrefSuccessCallback: function (response, request, data) {
     if (response) {
-      console.log('Got persist value from server with key ' + data.key + '. Value is: ' + response);
       var initPrefObject = this.get('initPrefObject');
       initPrefObject.get('threshold');
       for(var k in response.threshold) {
@@ -494,10 +493,6 @@ App.MainDashboardWidgetsView = Em.View.extend(App.UserPref, App.LocalStorage, Ap
   },
 
   getUserPrefErrorCallback: function (request) {
-    // this user is first time login
-    if (request.status == 404) {
-      console.log('Persist did NOT find the key');
-    }
   },
 
   /**

http://git-wip-us.apache.org/repos/asf/ambari/blob/2cd12943/ambari-web/app/views/main/host/configs_service_menu.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/host/configs_service_menu.js b/ambari-web/app/views/main/host/configs_service_menu.js
index 30e7c2b..3e2ca3c 100644
--- a/ambari-web/app/views/main/host/configs_service_menu.js
+++ b/ambari-web/app/views/main/host/configs_service_menu.js
@@ -34,8 +34,6 @@ App.MainHostServiceMenuView = Em.CollectionView.extend({
               services.push(service);
             }
           }
-        } else {
-          console.warn("service not found for " + hc.get('componentName'));
         }
       });
     }

http://git-wip-us.apache.org/repos/asf/ambari/blob/2cd12943/ambari-web/app/views/main/service/info/summary.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/service/info/summary.js b/ambari-web/app/views/main/service/info/summary.js
index 55d2623..e1ea6ac 100644
--- a/ambari-web/app/views/main/service/info/summary.js
+++ b/ambari-web/app/views/main/service/info/summary.js
@@ -415,14 +415,12 @@ App.MainServiceInfoSummaryView = Em.View.extend(App.UserPref, App.TimeRangeMixin
 
   getUserPrefSuccessCallback: function (response, request, data) {
     if (response) {
-      console.log('Got persist value from server with key ' + data.key + '. Value is: ' + response);
       this.set('currentTimeRangeIndex', response);
     }
   },
 
   getUserPrefErrorCallback: function (request) {
     if (request.status == 404) {
-      console.log('Persist did NOT find the key');
       this.postUserPref(this.get('persistKey'), 0);
       this.set('currentTimeRangeIndex', 0);
     }

http://git-wip-us.apache.org/repos/asf/ambari/blob/2cd12943/ambari-web/app/views/main/views/details.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/views/details.js b/ambari-web/app/views/main/views/details.js
index b85a661..df1b19b 100644
--- a/ambari-web/app/views/main/views/details.js
+++ b/ambari-web/app/views/main/views/details.js
@@ -63,8 +63,6 @@ App.MainViewsDetailsView = Em.View.extend({
     var headerHeight = header != null ? header.outerHeight() : 0;
 
     var defaultHeight = bodyHeight - footerHeight - headerHeight;
-    console.debug("IFrame default Height = " + defaultHeight + " ("
-        + bodyHeight + " - " + headerHeight + " - " + footerHeight + ")");
 
     if (iframe != null && iframe.length > 0) {
       var childrenHeight = 0;
@@ -77,10 +75,8 @@ App.MainViewsDetailsView = Em.View.extend({
           && iframeElement.contentWindow.document.body != null) {
         var iFrameContentBody = iframeElement.contentWindow.document.body;
         childrenHeight = iFrameContentBody.scrollHeight;
-        console.debug("IFrame content Height = " + childrenHeight);
       }
       var iFrameHeight = Math.max(childrenHeight, defaultHeight);
-      console.debug("IFrame final height = ", iFrameHeight);
       iframe.css('height', iFrameHeight);
       $(window).scrollTop(pageScrollTop);
     }

http://git-wip-us.apache.org/repos/asf/ambari/blob/2cd12943/ambari-web/app/views/wizard/step9_view.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/wizard/step9_view.js b/ambari-web/app/views/wizard/step9_view.js
index 0e52636..b5091c8 100644
--- a/ambari-web/app/views/wizard/step9_view.js
+++ b/ambari-web/app/views/wizard/step9_view.js
@@ -256,7 +256,6 @@ App.WizardStep9View = App.TableView.extend({
     } else if (this.get('controller.status') === 'failed') {
       this.set('barColor', 'progress-danger');
       this.set('resultMsgColor', 'alert-error');
-      console.log('TRACE: Inside error view step9');
       if (this.get('isHostHeartbeatLost')) {
         // When present requests succeeds but some host components are in UNKNOWN or INSTALL_FAILED state and
         // hosts are in HEARTBEAT_LOST state
@@ -267,7 +266,6 @@ App.WizardStep9View = App.TableView.extend({
         this.set('resultMsg', Em.I18n.t('installer.step9.status.failed'));
       }
     } else if (this.get('controller.status') === 'success') {
-      console.log('TRACE: Inside success view step9');
       this.set('barColor', 'progress-success');
       this.set('resultMsg', this.get('controller.content.cluster.status') === 'START_SKIPPED' ? Em.I18n.t('installer.step9.status.skipStartSuccess') : Em.I18n.t('installer.step9.status.success'));
       this.set('resultMsgColor', 'alert-success');

http://git-wip-us.apache.org/repos/asf/ambari/blob/2cd12943/ambari-web/test/controllers/main/admin/highAvailability/resourceManager/step3_controller_test.js
----------------------------------------------------------------------
diff --git a/ambari-web/test/controllers/main/admin/highAvailability/resourceManager/step3_controller_test.js b/ambari-web/test/controllers/main/admin/highAvailability/resourceManager/step3_controller_test.js
index d9ed1df..ae4dda0 100644
--- a/ambari-web/test/controllers/main/admin/highAvailability/resourceManager/step3_controller_test.js
+++ b/ambari-web/test/controllers/main/admin/highAvailability/resourceManager/step3_controller_test.js
@@ -197,7 +197,6 @@ describe('App.RMHighAvailabilityWizardStep3Controller', function () {
       controller.loadConfigsSuccessCallback({}, {}, {}, {}, {
         serviceConfig: {}
       });
-      console.error("test_alex!!!!!",controller.setDynamicConfigValues.args[0]);
       expect(controller.setDynamicConfigValues.args[0]).to.eql([{}, '2181', ':8088', ':8090']);
       expect(controller.get('selectedService')).to.eql({});
       expect(controller.get('isLoaded')).to.be.true;

http://git-wip-us.apache.org/repos/asf/ambari/blob/2cd12943/ambari-web/test/controllers/main/alerts/alert_instances_controller_test.js
----------------------------------------------------------------------
diff --git a/ambari-web/test/controllers/main/alerts/alert_instances_controller_test.js b/ambari-web/test/controllers/main/alerts/alert_instances_controller_test.js
index d5cda71..8958342 100644
--- a/ambari-web/test/controllers/main/alerts/alert_instances_controller_test.js
+++ b/ambari-web/test/controllers/main/alerts/alert_instances_controller_test.js
@@ -41,7 +41,6 @@ describe('App.MainAlertInstancesController', function () {
       it('should load by Host name', function () {
 
         controller.loadAlertInstancesByHost('host');
-        console.log(App.ajax.send.args[0]);
         expect(App.ajax.send.args[0][0].name).to.equal('alerts.instances.by_host');
         expect(App.ajax.send.args[0][0].data.hostName).to.equal('host');
 
@@ -50,7 +49,6 @@ describe('App.MainAlertInstancesController', function () {
       it('should load by AlertDefinition id', function () {
 
         controller.loadAlertInstancesByAlertDefinition('1');
-        console.log(App.ajax.send.args[0]);
         expect(App.ajax.send.args[0][0].name).to.equal('alerts.instances.by_definition');
         expect(App.ajax.send.args[0][0].data.definitionId).to.equal('1');
 
@@ -59,7 +57,6 @@ describe('App.MainAlertInstancesController', function () {
       it('should load all', function () {
 
         controller.loadAlertInstances();
-        console.log(App.ajax.send.args[0]);
         expect(App.ajax.send.args[0][0].name).to.equal('alerts.instances');
 
       });


Mime
View raw message