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-common-project/hadoop-common/src/site/markdown/Metrics.md
+1
Original file line number
Diff line number
Diff line change
@@ -304,6 +304,7 @@ Each metrics record contains tags such as HAState and Hostname as additional inf
304
304
|`StaleDataNodes`| Current number of DataNodes marked stale due to delayed heartbeat |
305
305
|`NumStaleStorages`| Number of storages marked as content stale (after NameNode restart/failover before first block report is received) |
306
306
|`MissingReplOneBlocks`| Current number of missing blocks with replication factor 1 |
307
+
|`BadlyDistributedBlocks`| Current number of blocks that are badly distributed across racks. |
307
308
|`HighestPriorityLowRedundancyReplicatedBlocks`| Current number of non-corrupt, low redundancy replicated blocks with the highest risk of loss (have 0 or 1 replica). Will be recovered with the highest priority. |
308
309
|`HighestPriorityLowRedundancyECBlocks`| Current number of non-corrupt, low redundancy EC blocks with the highest risk of loss. Will be recovered with the highest priority. |
309
310
|`NumFilesUnderConstruction`| Current number of files under construction |
Copy file name to clipboardexpand all lines: hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/protocol/ECBlockGroupStats.java
+20-6
Original file line number
Diff line number
Diff line change
@@ -38,24 +38,28 @@ public final class ECBlockGroupStats {
Copy file name to clipboardexpand all lines: hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/protocol/ReplicatedBlockStats.java
+17-6
Original file line number
Diff line number
Diff line change
@@ -37,27 +37,30 @@ public final class ReplicatedBlockStats {
Copy file name to clipboardexpand all lines: hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/protocolPB/PBHelperClient.java
+9-4
Original file line number
Diff line number
Diff line change
@@ -2037,13 +2037,13 @@ public static ReplicatedBlockStats convert(
Copy file name to clipboardexpand all lines: hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/server/federation/metrics/FederationMBean.java
+7
Original file line number
Diff line number
Diff line change
@@ -326,6 +326,13 @@ public interface FederationMBean {
Copy file name to clipboardexpand all lines: hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/server/federation/metrics/NamenodeBeanMetrics.java
+10
Original file line number
Diff line number
Diff line change
@@ -384,6 +384,16 @@ public long getNumberOfMissingBlocksWithReplicationFactorOne() {
Copy file name to clipboardexpand all lines: hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/server/federation/metrics/RBFMetrics.java
+6
Original file line number
Diff line number
Diff line change
@@ -756,6 +756,12 @@ public long getHighestPriorityLowRedundancyReplicatedBlocks() {
Copy file name to clipboardexpand all lines: hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/server/federation/resolver/MembershipNamenodeResolver.java
+2
Original file line number
Diff line number
Diff line change
@@ -363,6 +363,8 @@ public boolean registerNamenode(NamenodeStatusReport report)
Copy file name to clipboardexpand all lines: hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/server/federation/resolver/NamenodeStatusReport.java
+15
Original file line number
Diff line number
Diff line change
@@ -73,6 +73,7 @@ public class NamenodeStatusReport {
Copy file name to clipboardexpand all lines: hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/server/federation/router/NamenodeHeartbeatService.java
Copy file name to clipboardexpand all lines: hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/server/federation/store/records/MembershipStats.java
+6-1
Original file line number
Diff line number
Diff line change
@@ -122,6 +122,11 @@ public abstract void setNumberOfMissingBlocksWithReplicationFactorOne(
0 commit comments