zk19930911 commented on issue #654: Many small files URL: https://github.com/apache/incubator-hudi/issues/654#issuecomment-487013519 @n3nash Hello Path path = new Path(url); FileSystem fs = FSUtils.getFs(url, sc.hadoopConfiguration()); if (!fs.exists(path)) { HoodieTableMetaClient.initTableType(sc.hadoopConfiguration(), url, HoodieTableType.COPY_ON_WRITE, HivetableName, HoodieAvroPayload.class.getName()); } HoodieWriteConfig cfg = HoodieWriteConfig.newBuilder().withPath(url) .withSchema(TRIP_EXAMPLE_SCHEMA).withParallelism(2, 2) .forTable(HivetableName).withIndexConfig(HoodieIndexConfig.newBuilder() .withIndexType(HoodieIndex.IndexType.BLOOM).build()).withCompactionConfig(HoodieCompactionConfig.newBuilder().archiveCommitsWith(2, 3).build()).build(); HoodieWriteClient client = new HoodieWriteClient(sc, cfg); this is my HoodieWeiteConfig;
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
