فهرست منبع

AMBARI-7312. Ambari namenode UI link checks deprecated property for ssl enabled hdfs for HDP 2.1.x. Additional path. (Denys Buzhor via akovalenko)

Aleksandr Kovalenko 11 سال پیش
والد
کامیت
02e9fdbc19
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      ambari-web/app/views/common/quick_view_link_view.js

+ 1 - 1
ambari-web/app/views/common/quick_view_link_view.js

@@ -309,7 +309,7 @@ App.QuickViewLinks = Em.View.extend({
     var hadoopSslEnabled = false;
     if (configProperties && configProperties.length > 0) {
       var site = configProperties.findProperty('type', 'core-site');
-      if (parseInt(App.get('currentStackVersionNumber')[0]) > 1) {
+      if (App.get('isHadoop2Stack')) {
         hadoopSslEnabled = (Em.get(site, 'properties') && site.properties['dfs.http.policy'] === 'HTTPS_ONLY');
       } else {
         hadoopSslEnabled = (Em.get(site, 'properties') &&  site.properties['hadoop.ssl.enabled'] == true);