cku328 commented on a change in pull request #909:
URL: https://github.com/apache/hadoop-ozone/pull/909#discussion_r429570019
##########
File path:
hadoop-hdds/server-scm/src/test/java/org/apache/hadoop/hdds/scm/node/TestSCMNodeManager.java
##########
@@ -855,6 +860,10 @@ public void testScmStatsFromNodeReport()
String storagePath = testDir.getAbsolutePath() + "/" + dnId;
StorageReportProto report = TestUtils
.createStorageReport(dnId, storagePath, capacity, used, free,
null);
+ NodeReportProto nodeReportProto = TestUtils.createNodeReport(report);
+ nodeReportHandler.onMessage(
Review comment:
Thanks @avijayanhwx for the comment, I changed some code so that
NodeReport can be sent out with the initial heartbeat. I confirmed the
NodeReportHandler in SCM is working properly and it can be triggered to process
node reports from multiple nodes.
----------------------------------------------------------------
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]