ChenSammi commented on code in PR #5539:
URL: https://github.com/apache/ozone/pull/5539#discussion_r1386745537


##########
hadoop-hdds/tools/src/main/java/org/apache/hadoop/hdds/scm/cli/container/upgrade/UpgradeUtils.java:
##########
@@ -59,4 +64,24 @@ public static DatanodeDetails 
getDatanodeDetails(OzoneConfiguration conf)
   public static File getContainerDBPath(HddsVolume volume) {
     return new File(volume.getDbParentDir(), CONTAINER_DB_NAME);
   }
+
+  public static File getVolumeMigrateFile(HddsVolume volume) {
+    return new File(volume.getHddsRootDir(),
+        UpgradeTask.MIGRATE_FLAG_FILE_NAME);
+  }
+
+  public static File getVolumeUpgradeLockFile(HddsVolume volume) {
+    return new File(volume.getHddsRootDir(),
+        UpgradeTask.UPGRADE_LOCK_FILE_NAME);
+  }
+
+  public static boolean touchFile(File file) throws IOException {

Review Comment:
   touchFile -> createFile



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