ChenSammi commented on code in PR #3648:
URL: https://github.com/apache/ozone/pull/3648#discussion_r949068002
##########
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/replication/SimpleContainerDownloader.java:
##########
@@ -135,4 +152,21 @@ protected CompletableFuture<Path> downloadContainer(
public void close() {
// noop
}
+
+ public Path getWorkingDirectory() {
+ Path defaultWorkingDirectory =
+ Paths.get(System.getProperty("java.io.tmpdir"));
Review Comment:
1. Since data volume must be configured, then we don't fallback to this
"java.io.tmpdir".
2. move this volume choose logic to outside DownloadAndImportReplicator, so
we can use this choose volume later the container import process.
--
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]