You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by wu...@apache.org on 2022/11/04 03:17:22 UTC
[ambari] branch trunk updated: AMBARI-25167: HDFS Summary Dashboard does not show "TOTAL FILES + DIRECTORIES" properly (#3438)
This is an automated email from the ASF dual-hosted git repository.
wuzhiguo pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git
The following commit(s) were added to refs/heads/trunk by this push:
new e59f751b01 AMBARI-25167: HDFS Summary Dashboard does not show "TOTAL FILES + DIRECTORIES" properly (#3438)
e59f751b01 is described below
commit e59f751b018cbd995d8e663fc61086eebc1965b8
Author: Zhiguo Wu <wu...@apache.org>
AuthorDate: Fri Nov 4 11:17:16 2022 +0800
AMBARI-25167: HDFS Summary Dashboard does not show "TOTAL FILES + DIRECTORIES" properly (#3438)
---
ambari-web/app/mappers/service_metrics_mapper.js | 2 +-
ambari-web/app/views/main/service/info/summary/hdfs/widgets.js | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/ambari-web/app/mappers/service_metrics_mapper.js b/ambari-web/app/mappers/service_metrics_mapper.js
index 9a07cc5260..7da550d6b1 100644
--- a/ambari-web/app/mappers/service_metrics_mapper.js
+++ b/ambari-web/app/mappers/service_metrics_mapper.js
@@ -81,7 +81,7 @@ App.serviceMetricsMapper = App.QuickDataMapper.create({
dfs_corrupt_blocks_values: 'metrics.dfs.FSNamesystem.CorruptBlocks',
dfs_missing_blocks_values: 'metrics.dfs.FSNamesystem.MissingBlocks',
dfs_under_replicated_blocks_values: 'metrics.dfs.FSNamesystem.UnderReplicatedBlocks',
- dfs_total_files_values: 'metrics.dfs.namenode.TotalFiles',
+ dfs_total_files_values: 'metrics.dfs.FSNamesystem.FilesTotal',
work_status_values: 'HostRoles.state',
upgrade_status_values: 'metrics.dfs.namenode.UpgradeFinalized',
safe_mode_status_values: 'metrics.dfs.namenode.Safemode',
diff --git a/ambari-web/app/views/main/service/info/summary/hdfs/widgets.js b/ambari-web/app/views/main/service/info/summary/hdfs/widgets.js
index e6b4e53900..ba923269b4 100644
--- a/ambari-web/app/views/main/service/info/summary/hdfs/widgets.js
+++ b/ambari-web/app/views/main/service/info/summary/hdfs/widgets.js
@@ -77,7 +77,7 @@ App.HDFSSummaryWidgetsView = Em.View.extend(App.NameNodeWidgetMixin, App.HDFSSum
dfsTotalFilesValue: Em.computed.getByKey('model.dfsTotalFilesValues', 'hostName'),
- dfsTotalFiles: Em.computed.formatUnavailable('model.dfsTotalFilesValue'),
+ dfsTotalFiles: Em.computed.formatUnavailable('dfsTotalFilesValue'),
healthStatus: Em.computed.getByKey('model.healthStatusValues', 'hostName'),
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@ambari.apache.org
For additional commands, e-mail: commits-help@ambari.apache.org