szetszwo commented on code in PR #10813:
URL: https://github.com/apache/ozone/pull/10813#discussion_r3743373134
##########
hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/container/export/ExportJob.java:
##########
@@ -17,14 +17,32 @@
package org.apache.hadoop.hdds.scm.container.export;
+import java.io.BufferedWriter;
+import java.io.IOException;
import java.util.Objects;
import java.util.UUID;
+import java.util.concurrent.TimeUnit;
+import org.apache.hadoop.hdds.protocol.proto.HddsProtos.LifeCycleState;
+import org.apache.hadoop.hdds.scm.container.ContainerHealthState;
+import org.apache.hadoop.hdds.scm.container.ContainerID;
/**
- * Container ID export job identifier.
+ * In-memory state for a container ID export job.
*/
public final class ExportJob {
+ private final Id id;
+ private final ExportScope scope;
+ private final String timestamp;
+ private final ContainerID startContainerId;
+ private final ExportSizing sizing;
+ private volatile String tarPath;
+ private volatile ExecutionState executionState = ExecutionState.RUNNING;
+ private volatile long totalRows;
+ private volatile long startTimeNs;
+ private volatile long endTimeNs;
+ private volatile String errorMessage;
Review Comment:
@sarvekshayr , see below:
<img width="578" height="712" alt="image"
src="https://github.com/user-attachments/assets/d2a8c90f-d111-4bbb-9058-3c153e3826bf"
/>
--
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]