ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yus...@apache.org
Subject ambari git commit: AMBARI-13204. Hive View: visual explain does not work. (Pallav Kulshreshtha via yusaku)
Date Wed, 23 Sep 2015 18:33:58 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.1.2 15c92ccdc -> 1464453f6


AMBARI-13204. Hive View: visual explain does not work. (Pallav Kulshreshtha via yusaku)


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

Branch: refs/heads/branch-2.1.2
Commit: 1464453f60ae2d99dce2c96b289d5b235cf392a4
Parents: 15c92cc
Author: Yusaku Sako <yusaku@hortonworks.com>
Authored: Wed Sep 23 11:32:51 2015 -0700
Committer: Yusaku Sako <yusaku@hortonworks.com>
Committed: Wed Sep 23 11:33:48 2015 -0700

----------------------------------------------------------------------
 .../src/main/resources/ui/hive-web/app/views/visual-explain.js     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/1464453f/contrib/views/hive/src/main/resources/ui/hive-web/app/views/visual-explain.js
----------------------------------------------------------------------
diff --git a/contrib/views/hive/src/main/resources/ui/hive-web/app/views/visual-explain.js
b/contrib/views/hive/src/main/resources/ui/hive-web/app/views/visual-explain.js
index 838249d..76cc35f 100644
--- a/contrib/views/hive/src/main/resources/ui/hive-web/app/views/visual-explain.js
+++ b/contrib/views/hive/src/main/resources/ui/hive-web/app/views/visual-explain.js
@@ -424,7 +424,7 @@ export default Ember.View.extend({
 
   renderDag: function () {
     var json = this.get('controller.json');
-    var isVisualExplain = json && (json['STAGE PLANS'] != undefined);
+    var isVisualExplain = json && (json['STAGE PLANS'] != undefined) && 
(json['STAGE PLANS']['Stage-1'] != undefined) && (json['STAGE PLANS']['Stage-1']['Tez']
!= undefined);
     if (isVisualExplain) {
       this.set('edges', []);
 


Mime
View raw message