|
@@ -34,9 +34,6 @@ import java.util.concurrent.TimeUnit;
|
|
|
@Slf4j
|
|
|
public class I2IMilvusDataImport {
|
|
|
|
|
|
- private static HDFSService hdfsService = new HDFSService();
|
|
|
-
|
|
|
-
|
|
|
public static void main(String[] args) throws IOException {
|
|
|
CMDService cmd = new CMDService();
|
|
|
Map<String, String> argMap = cmd.parse(args);
|
|
@@ -46,16 +43,6 @@ public class I2IMilvusDataImport {
|
|
|
String milvusCollection = argMap.get("milvusCollection");
|
|
|
int batchSize = NumberUtils.toInt(argMap.get("batchSize"), 5000);
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
SparkSession spark = SparkSession.builder()
|
|
|
.appName("I2IMilvusDataImport")
|
|
|
.getOrCreate();
|