You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2019/05/13 15:37:42 UTC
[GitHub] [incubator-hudi] jackwang2 commented on issue #676: Global dedup
throws exception: Connection pool shut down
jackwang2 commented 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
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:
users@infra.apache.org
With regards,
Apache Git Services