chungen0126 commented on code in PR #11547:
URL: https://github.com/apache/ozone/pull/11547#discussion_r4479444525


##########
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/ozoneimpl/ContainerReader.java:
##########
@@ -103,6 +108,18 @@ public void run() {
     }
   }
 
+  private void cleanupContainerCopyDir() {
+    // Startup loads containers before starting the replication server, so no 
imports can be in progress here.
+    try {
+      File copyDir = ContainerImporter.getUntarDirectory(hddsVolume).toFile();

Review Comment:
   I don't think this method actually throws any exceptions. We could remove 
throws so callers don't need to wrap it in a try-catch every time.



-- 
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]

Reply via email to