You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by pa...@apache.org on 2017/04/27 06:32:42 UTC

ambari git commit: AMBARI-20817. First node in the visual explain chart is not clickable to view the json dump (pallavkul)

Repository: ambari
Updated Branches:
  refs/heads/trunk 4712bf54a -> b11a1f0ba


AMBARI-20817. First node in the visual explain chart is not clickable to view the json dump (pallavkul)


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

Branch: refs/heads/trunk
Commit: b11a1f0bae798462d7029e8d0c2662c7383da4ca
Parents: 4712bf5
Author: pallavkul <pa...@gmail.com>
Authored: Thu Apr 27 12:01:29 2017 +0530
Committer: pallavkul <pa...@gmail.com>
Committed: Thu Apr 27 12:01:29 2017 +0530

----------------------------------------------------------------------
 .../src/main/resources/ui/app/utils/hive-explainer/renderer.js    | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/b11a1f0b/contrib/views/hive20/src/main/resources/ui/app/utils/hive-explainer/renderer.js
----------------------------------------------------------------------
diff --git a/contrib/views/hive20/src/main/resources/ui/app/utils/hive-explainer/renderer.js b/contrib/views/hive20/src/main/resources/ui/app/utils/hive-explainer/renderer.js
index 987cda9..4d9eff4 100644
--- a/contrib/views/hive20/src/main/resources/ui/app/utils/hive-explainer/renderer.js
+++ b/contrib/views/hive20/src/main/resources/ui/app/utils/hive-explainer/renderer.js
@@ -138,7 +138,8 @@ function recurseC(children, onRequestDetail, isSingleReducer) {
         .attr('height', d => d._operator === 'Fetch Operator' ? 150 : 55)
         .attr('width', 140)
           .append('xhtml:body')
-        .style('margin', 0)
+        .style('height', d => d._operator === 'Fetch Operator' ? '150px' : 'auto')
+        .style('margin', 0 )
           .html(d => getRenderer(d._operator, isSingleReducer)(d))
         .on('click', d => {
           const vertex = d3.select(Ember.$(d3.select(this).node()).closest('.vertex').get(0)).data()[0];