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-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/container/replication/RatisContainerReplicaCount.java
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -286,7 +286,7 @@ public String toString() {
286
286
*
287
287
* When considering inflight operations, it is assumed any operation will
288
288
* fail. However, to consider the worst case and avoid data loss, we always
289
-
* assume a delete will succeed and and add will fail. In this way, we will
289
+
* assume a delete will succeed and add will fail. In this way, we will
290
290
* avoid scheduling too many deletes which could result in dataloss.
291
291
*
292
292
* Decisions around over-replication are made only on healthy replicas,
@@ -320,7 +320,7 @@ public String toString() {
320
320
* For under replicated containers we do consider inflight add and delete to
321
321
* avoid scheduling more adds than needed. There is additional logic around
322
322
* containers with maintenance replica to ensure minHealthyForMaintenance
323
-
* replia are maintained.
323
+
* replica are maintained.
324
324
*
325
325
* @return Delta of replicas needed. Negative indicates over replication and
326
326
* containers should be removed. Positive indicates over replication
@@ -621,7 +621,7 @@ public int getExcessRedundancy(boolean includePendingDelete) {
621
621
* considering inflight add and deletes.
622
622
* @return zero if perfectly replicated, a negative value for over replication
623
623
* and a positive value for under replication. The magnitude of the
624
-
* return value indicates how many replias the container is over or
624
+
* return value indicates how many replies the container is over or
Copy file name to clipboardExpand all lines: hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/container/replication/RatisUnderReplicationHandler.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -145,7 +145,7 @@ public int processAndSendCommands(
145
145
146
146
if (targetDatanodes.size() < replicaCount.additionalReplicaNeeded()) {
147
147
// The placement policy failed to find enough targets to satisfy fix
148
-
// the under replication. There fore even though some commands were sent,
148
+
// the under replication. Therefore even though some commands were sent,
149
149
// we throw an exception to indicate that the container is still under
150
150
// replicated and should be re-queued for another attempt later.
151
151
LOG.debug("Placement policy failed to find enough targets to satisfy " +
Copy file name to clipboardExpand all lines: hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/container/replication/UnhealthyReplicationProcessor.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -92,7 +92,7 @@ public void processAll(ReplicationQueue queue) {
0 commit comments