You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockManager.java
+10-1Lines changed: 10 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -4940,13 +4940,15 @@ public long getLastRedundancyMonitorTS() {
Copy file name to clipboardExpand all lines: hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/metrics/NameNodeMetrics.java
+10Lines changed: 10 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -91,6 +91,8 @@ public class NameNodeMetrics {
91
91
MutableGaugeIntpendingEditsCount;
92
92
@Metric("Number of delete blocks Queued")
93
93
MutableGaugeIntdeleteBlocksQueued;
94
+
@Metric("Number of pending deletion blocks")
95
+
MutableGaugeIntpendingDeleteBlocksCount;
94
96
95
97
@Metric("Number of file system operations")
96
98
publiclongtotalFileOps(){
@@ -347,6 +349,14 @@ public void setDeleteBlocksQueued(int size) {
0 commit comments