You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by yu...@apache.org on 2015/09/23 20:33:14 UTC
ambari git commit: AMBARI-13204. Hive View: visual explain does not
work. (Pallav Kulshreshtha via yusaku)
Repository: ambari
Updated Branches:
refs/heads/trunk baf559abe -> b2b88ee89
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/b2b88ee8
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/b2b88ee8
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/b2b88ee8
Branch: refs/heads/trunk
Commit: b2b88ee89d59ef02912dd0f32af44f79b68d2f43
Parents: baf559a
Author: Yusaku Sako <yu...@hortonworks.com>
Authored: Wed Sep 23 11:32:51 2015 -0700
Committer: Yusaku Sako <yu...@hortonworks.com>
Committed: Wed Sep 23 11:32:51 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/b2b88ee8/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', []);