ashishkumar50 commented on code in PR #5078:
URL: https://github.com/apache/ozone/pull/5078#discussion_r1265019475
##########
hadoop-hdds/tools/src/main/java/org/apache/hadoop/hdds/scm/cli/cert/ListSubcommand.java:
##########
@@ -89,12 +104,31 @@ protected void execute(SCMSecurityProtocol client) throws
IOException {
HddsProtos.NodeType nodeType = parseCertRole(role);
List<String> certPemList = client.listCertificate(nodeType,
startSerialId, count, isRevoked);
- LOG.info("Certificate list:(Type={}, BatchSize={}, CertCount={})",
- type.toUpperCase(), count, certPemList.size());
if (count == certPemList.size()) {
LOG.info("The certificate list could be longer than the batch size: {}."
+
Review Comment:
Please output this to err, else json parse will fail if this prints along
with json.
--
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]