jackwang2 edited a comment on issue #676: Global dedup throws exception: 
Connection pool shut down
URL: https://github.com/apache/incubator-hudi/issues/676#issuecomment-491874321
 
 
   Environment:
   1) Spark 2.3.1
   2) Apache Hudi 0.4.5 (marven central)
   3) The size of JSON data compressed in GZ format on S3 to dedup: 9.5GB
   
   And the code is very simple:
   ```
          df.write
           .format("com.uber.hoodie")
           .mode(SaveMode.Append)
           .option(HoodieWriteConfig.TABLE_NAME, tableName)
           .option(HoodieIndexConfig.INDEX_TYPE_PROP, 
HoodieIndex.IndexType.GLOBAL_BLOOM.name)
           .option(DataSourceWriteOptions.RECORDKEY_FIELD_OPT_KEY, recordKey)
           .option(DataSourceWriteOptions.PARTITIONPATH_FIELD_OPT_KEY, 
partitionCol)
           .option(DataSourceWriteOptions.OPERATION_OPT_KEY, 
DataSourceWriteOptions.UPSERT_OPERATION_OPT_VAL)
           .option(DataSourceWriteOptions.STORAGE_TYPE_OPT_KEY, storageType)
           .option(DataSourceWriteOptions.PRECOMBINE_FIELD_OPT_KEY, 
preCombineCol)
   //        .option("hoodie.parquet.small.file.limit", 1024 * 1024 * 128)
           .save(tgtFilePath)
   ```
    

----------------------------------------------------------------
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

Reply via email to