anuengineer commented on a change in pull request #1541: HDDS-1146. Adding
container related metrics in SCM.
URL: https://github.com/apache/hadoop/pull/1541#discussion_r329229253
##########
File path:
hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/container/ContainerManager.java
##########
@@ -179,4 +179,12 @@ ContainerInfo getMatchingContainer(long size, String
owner,
*/
ContainerInfo getMatchingContainer(long size, String owner,
Pipeline pipeline, List<ContainerID> excludedContainerIDS);
+
+ /**
+ * Once after report processor handler completes, call this to notify
+ * container manager to increment metrics.
+ * @param isFullReport
+ * @param success
+ */
+ void notifyContainerReportProcessing(boolean isFullReport, boolean success);
Review comment:
I am not sure, But I think we have a Enum that indicates if the report is
full or partial. If there is already one, then we might want to use it.
Otherwise, I am okay with the boolean.
----------------------------------------------------------------
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]