ayushtkn commented on a change in pull request #2396:
URL: https://github.com/apache/ozone/pull/2396#discussion_r666750402
##########
File path:
hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/pipeline/PipelineStateMap.java
##########
@@ -65,9 +65,9 @@ void addPipeline(Pipeline pipeline) throws IOException {
Preconditions.checkArgument(
pipeline.getNodes().size() == pipeline.getReplicationConfig()
.getRequiredNodes(),
- String.format("Nodes size=%d, replication factor=%d do not match ",
+ "Nodes size=%s, replication factor=%s do not match ",
Review comment:
can you help why %d to %s
the return values are integers only right? some reason to do so?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]