You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2021/02/10 17:26:29 UTC

[GitHub] [ozone] smengcl commented on a change in pull request #1353: HDDS-4148. Add servlet to return SCM DB checkpoint.

smengcl commented on a change in pull request #1353:
URL: https://github.com/apache/ozone/pull/1353#discussion_r573926695



##########
File path: hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/server/StorageContainerManager.java
##########
@@ -333,7 +332,7 @@ public StorageContainerManager(OzoneConfiguration conf,
         eventQueue);
     blockProtocolServer = new SCMBlockProtocolServer(conf, this);
     clientProtocolServer = new SCMClientProtocolServer(conf, this);
-    httpServer = new StorageContainerManagerHttpServer(conf);
+    httpServer = new StorageContainerManagerHttpServer(conf, this);

Review comment:
       Hi Xiaoyu, thanks for the comment. I didn't quite get this:
   
   > Based on the servlet code, we can minimize the dependency with just MetaStore and the DBCheckPointMetrics here, and set/get them into/from the webAppContext.
   
   Could you elaborate a bit on this? Thanks!




----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org