Skip to content

Commit 46a93d0

Browse files
authored
HDDS-12817. Addendum rename ecIndex to replicaIndex in chunkinfo output (#8552)
1 parent 19b9b9c commit 46a93d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/debug/replicas/chunk/ChunkKeyHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ protected void execute(OzoneClient client, OzoneAddress address)
196196
// e.g. for RS-3-2 we will have data indexes 1,2,3 and parity indexes 4,5
197197
ChunkType chunkType = (replicaIndex > dataCount) ? ChunkType.PARITY : ChunkType.DATA;
198198
jsonObj.put("chunkType", chunkType.name());
199-
jsonObj.put("ecIndex", replicaIndex);
199+
jsonObj.put("replicaIndex", replicaIndex);
200200
}
201201
}
202202
} catch (InterruptedException e) {

0 commit comments

Comments
 (0)