xiaoyuyao commented on a change in pull request #629: HDDS-3071. Datanodes
unable to connect to recon in Secure Environment
URL: https://github.com/apache/hadoop-ozone/pull/629#discussion_r387911372
##########
File path:
hadoop-ozone/recon/src/main/java/org/apache/hadoop/ozone/recon/scm/ReconContainerManager.java
##########
@@ -64,6 +69,22 @@ protected File getContainerDBPath(Configuration conf) {
return new File(metaDir, RECON_SCM_CONTAINER_DB);
}
+ public void checkAndAddNewContainer(ContainerID containerID,
+ DatanodeDetails datanodeDetails)
+ throws IOException {
+ if (!exists(containerID)) {
+ LOG.info("New container {} got from {}.", containerID, datanodeDetails);
Review comment:
datanodeDetails toString is very verbose. You may choose to just log the
hostname/ip here.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]