Hisoka-X commented on code in PR #9956:
URL: https://github.com/apache/seatunnel/pull/9956#discussion_r2443075136
##########
seatunnel-engine/seatunnel-engine-storage/checkpoint-storage-plugins/checkpoint-storage-hdfs/src/main/java/org/apache/seatunnel/engine/checkpoint/storage/hdfs/HdfsStorage.java:
##########
@@ -40,37 +39,91 @@
import java.io.ByteArrayOutputStream;
import java.io.IOException;
-import java.util.ArrayList;
-import java.util.List;
-import java.util.Map;
-import java.util.Set;
+import java.util.*;
+import java.util.concurrent.Executors;
+import java.util.concurrent.ScheduledExecutorService;
+import java.util.concurrent.TimeUnit;
+import java.util.concurrent.locks.ReentrantReadWriteLock;
import static
org.apache.seatunnel.engine.checkpoint.storage.constants.StorageConstants.STORAGE_NAME_SPACE;
@Slf4j
public class HdfsStorage extends AbstractCheckpointStorage {
+
public FileSystem fs;
private static final String STORAGE_TMP_SUFFIX = "tmp";
private static final String STORAGE_TYPE_KEY = "storage.type";
+ private final Map<String, String> initConfiguration; // 初始配置
Review Comment:
+1
--
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]