ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From atk...@apache.org
Subject ambari git commit: AMBARI-12327 [Usability] Stackadvisor bug for hive.auto.convert.join.noconditionaltask.size. (atkach)
Date Wed, 08 Jul 2015 13:50:53 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.1 21cef44b3 -> 982f606d9


AMBARI-12327 [Usability] Stackadvisor bug for hive.auto.convert.join.noconditionaltask.size.
(atkach)


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

Branch: refs/heads/branch-2.1
Commit: 982f606d9f5e81a00b716ce8a22735c9f56c9ede
Parents: 21cef44
Author: Andrii Tkach <atkach@hortonworks.com>
Authored: Wed Jul 8 14:15:43 2015 +0300
Committer: Andrii Tkach <atkach@hortonworks.com>
Committed: Wed Jul 8 16:50:37 2015 +0300

----------------------------------------------------------------------
 .../views/common/configs/widgets/slider_config_widget_view.js    | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/982f606d/ambari-web/app/views/common/configs/widgets/slider_config_widget_view.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/common/configs/widgets/slider_config_widget_view.js b/ambari-web/app/views/common/configs/widgets/slider_config_widget_view.js
index 0905a09..c61ff5b 100644
--- a/ambari-web/app/views/common/configs/widgets/slider_config_widget_view.js
+++ b/ambari-web/app/views/common/configs/widgets/slider_config_widget_view.js
@@ -272,6 +272,10 @@ App.SliderConfigWidgetView = App.ConfigWidgetView.extend({
       if (!Em.isNone(this.get('config.savedValue')) && parsed == parseFunction(this.widgetValueByConfigAttributes(this.get('config.savedValue'))))
{
         this.set('config.value', this.get('config.savedValue'));
       }
+      // ignore precision during set recommended value
+      if (!Em.isNone(this.get('config.recommendedValue')) && parsed == parseFunction(this.widgetValueByConfigAttributes(this.get('config.recommendedValue'))))
{
+        this.set('config.value', this.get('config.recommendedValue'));
+      }
     } else {
       this.set('isMirrorValueValid', false);
       this.set('config.errorMessage', 'Invalid value');


Mime
View raw message