You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by sr...@apache.org on 2015/10/13 19:11:50 UTC
ambari git commit: AMBARI-13281. Hive View [Visualization]
Enhancements (Pallav Kulshreshtha via srimanth)
Repository: ambari
Updated Branches:
refs/heads/branch-2.1 2443d6bf5 -> cc4eb83f4
AMBARI-13281. Hive View [Visualization] Enhancements (Pallav Kulshreshtha via srimanth)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/cc4eb83f
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/cc4eb83f
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/cc4eb83f
Branch: refs/heads/branch-2.1
Commit: cc4eb83f4be29bdd14fc1e351e36261047b7381d
Parents: 2443d6b
Author: Srimanth Gunturi <sg...@hortonworks.com>
Authored: Tue Oct 13 10:11:27 2015 -0700
Committer: Srimanth Gunturi <sg...@hortonworks.com>
Committed: Tue Oct 13 10:11:27 2015 -0700
----------------------------------------------------------------------
.../ui/hive-web/app/controllers/query-tabs.js | 5 ----
.../ui/hive-web/app/templates/query-tabs.hbs | 31 +++++---------------
.../ui/hive-web/app/utils/constants.js | 2 +-
3 files changed, 9 insertions(+), 29 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/cc4eb83f/contrib/views/hive/src/main/resources/ui/hive-web/app/controllers/query-tabs.js
----------------------------------------------------------------------
diff --git a/contrib/views/hive/src/main/resources/ui/hive-web/app/controllers/query-tabs.js b/contrib/views/hive/src/main/resources/ui/hive-web/app/controllers/query-tabs.js
index a636b29..5f31c19 100644
--- a/contrib/views/hive/src/main/resources/ui/hive-web/app/controllers/query-tabs.js
+++ b/contrib/views/hive/src/main/resources/ui/hive-web/app/controllers/query-tabs.js
@@ -48,7 +48,6 @@ export default Ember.Controller.extend({
Ember.Object.create({
iconClass: 'fa-area-chart',
id: 'visualization-icon',
- type: 'visualization',
action: 'toggleOverlay',
tooltip: Ember.I18n.t('tooltips.visualization'),
into: 'index',
@@ -161,10 +160,6 @@ export default Ember.Controller.extend({
}
},
- showVisulization: function () {
- return this.get('index.displayJobTabs');
- }.property('index.content', 'index.jobSaveSucceeded'),
-
actions: {
toggleOverlay: function (tab) {
if (tab !== this.get('default') && tab.get('active')) {
http://git-wip-us.apache.org/repos/asf/ambari/blob/cc4eb83f/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/query-tabs.hbs
----------------------------------------------------------------------
diff --git a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/query-tabs.hbs b/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/query-tabs.hbs
index 6b1f8f5..62b15c1 100644
--- a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/query-tabs.hbs
+++ b/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/query-tabs.hbs
@@ -17,27 +17,12 @@
}}
{{#each tab in tabs}}
- {{#if tab.type}}
- {{#if showVisulization}}
- <span {{action tab.action tab}} {{bind-attr class=":query-menu-tab tabClassNames tab.iconClass tab.active:active tab.flash:flash" title="tab.tooltip" id="tab.id"}}>
- {{#if tab.badge}}
- <span class="badge">{{tab.badge}}</span>
- {{/if}}
-
- {{#if tab.text}}
- {{tab.text}}
- {{/if}}
- </span>
- {{/if}}
- {{else}}
- <span {{action tab.action tab}} {{bind-attr class=":query-menu-tab tabClassNames tab.iconClass tab.active:active tab.flash:flash" title="tab.tooltip" id="tab.id"}}>
- {{#if tab.badge}}
- <span class="badge">{{tab.badge}}</span>
- {{/if}}
-
- {{#if tab.text}}
- {{tab.text}}
- {{/if}}
- </span>
- {{/if}}
+ <span {{action tab.action tab}} {{bind-attr class=":query-menu-tab tabClassNames tab.iconClass tab.active:active tab.flash:flash" title="tab.tooltip" id="tab.id"}}>
+ {{#if tab.badge}}
+ <span class="badge">{{tab.badge}}</span>
+ {{/if}}
+ {{#if tab.text}}
+ {{tab.text}}
+ {{/if}}
+ </span>
{{/each}}
http://git-wip-us.apache.org/repos/asf/ambari/blob/cc4eb83f/contrib/views/hive/src/main/resources/ui/hive-web/app/utils/constants.js
----------------------------------------------------------------------
diff --git a/contrib/views/hive/src/main/resources/ui/hive-web/app/utils/constants.js b/contrib/views/hive/src/main/resources/ui/hive-web/app/utils/constants.js
index 0000691..a349d51 100644
--- a/contrib/views/hive/src/main/resources/ui/hive-web/app/utils/constants.js
+++ b/contrib/views/hive/src/main/resources/ui/hive-web/app/utils/constants.js
@@ -222,6 +222,6 @@ export default Ember.Object.create({
comment: "--Global Settings--\n\n"
},
- defaultVisualizationRowCount: 30000
+ defaultVisualizationRowCount: 10000
});