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:52:22 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk b490df785 -> 2dbad5bf4


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/2dbad5bf
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/2dbad5bf
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/2dbad5bf

Branch: refs/heads/trunk
Commit: 2dbad5bf4bab097a6f373e9defed03dff998ad3a
Parents: b490df7
Author: Andrii Tkach <atkach@hortonworks.com>
Authored: Wed Jul 8 16:52:05 2015 +0300
Committer: Andrii Tkach <atkach@hortonworks.com>
Committed: Wed Jul 8 16:52:05 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/2dbad5bf/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