Skip to content

Conversation

@aokolnychyi
Copy link
Contributor

This PR introduces a separate executor service for HiveTablesTest$testConcurrentFastAppends.

Right now, the test depends on the size of the worker pool. If the size is less 3, the test will not complete as the same worker pool is used in SnapshotUpdate$apply (because manifest lists are now enabled and it requires at least one thread).

The executor service does not use a custom ThreadFactory. Threads will be non-daemon, but shouldn't be a problem as the result is wrapped into MoreExecutors.getExitingExecutorService.

@rdblue
Copy link
Contributor

rdblue commented Jan 7, 2019

Thanks for fixing this, @aokolnychyi!

@rdblue rdblue merged commit 1ca5599 into apache:master Jan 7, 2019
@aokolnychyi aokolnychyi deleted the separate-pool-hive-test branch January 8, 2019 08:02
jun-ma-0 pushed a commit to jun-ma-0/incubator-iceberg that referenced this pull request May 11, 2020
puchengy added a commit to puchengy/iceberg that referenced this pull request Sep 5, 2023
… multi-thread to read parquet file metadata to speed up partition imports (apache#67)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants