Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to only schedule Hive splits locally #1770

Merged
merged 1 commit into from
Oct 9, 2014

Conversation

dain
Copy link
Contributor

@dain dain commented Oct 5, 2014

Add a configuration and session property to only schedule Hive splits locally

@dain dain force-pushed the hive-schedule-local-only branch 3 times, most recently from 58ed4c8 to 1eb9d17 Compare October 7, 2014 04:11
@nileema
Copy link
Contributor

nileema commented Oct 8, 2014

Looks good.

@damiencarol
Copy link
Contributor

What do you mean by locally? Only one node ca ndo the query ?

@dain
Copy link
Contributor Author

dain commented Oct 8, 2014

Presto will only schedule a split on a node that has the block being scanned. Technically, the start of the split that is local; if the split spans blocks, you will still get remote reads.

This option is for people that run Presto collocated with every datanode

@damiencarol
Copy link
Contributor

Terific! It's my case. I will test this option and check performance. @dain thanks.

Add a configuration and session property to force local scheduling of Hive splits
@dain dain merged commit 9d87b87 into prestodb:master Oct 9, 2014
@dain dain deleted the hive-schedule-local-only branch October 9, 2014 21:39
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.

None yet

3 participants