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

Support optimized local scheduling of kudu splits #18121

Merged
merged 1 commit into from
Jul 28, 2023

Conversation

hackeryang
Copy link
Member

@hackeryang hackeryang commented Jul 4, 2023

Description

For now the Hive Connector supports optimized local scheduling when Trino workers are deployed on the same nodes with HDFS, but Kudu doesn't, which we can see from KuduSplit.getAddresses():
image
Kudu scanner clients fetch data from tablet leaders by default, so we add leaders' host addresses from KuduScanToken into KuduSplit to support this.

Additional context and related issues

Release notes

( ) This is not user-visible or docs only and no release notes are required.
(x) Release notes are required, please propose a release note for me.
( ) Release notes are required, with the following suggested text:

# Section
* Support optimized local scheduling of kudu splits. ({issue}`18121`)

@cla-bot cla-bot bot added the cla-signed label Jul 4, 2023
@hackeryang hackeryang self-assigned this Jul 4, 2023
@ebyhr ebyhr requested review from Praveen2112 and removed request for ebyhr July 4, 2023 08:07
@ebyhr
Copy link
Member

ebyhr commented Jul 4, 2023

CI is red.

@hackeryang hackeryang force-pushed the kudu_split_local_scheduling branch from b387473 to d4873bc Compare July 5, 2023 02:51
@hackeryang
Copy link
Member Author

hackeryang commented Jul 5, 2023

CI is red.

I have fixed the CI error, it was because i didn't add @JsonProperties above KuduSplit. getAddresses().
Hello @findinpath @findepi @Praveen2112 , can you please take a review when you have time, thank you~

@hackeryang hackeryang force-pushed the kudu_split_local_scheduling branch from d4873bc to 9cbd3cf Compare July 7, 2023 09:27
@hackeryang hackeryang requested a review from Praveen2112 July 7, 2023 11:43
@hackeryang hackeryang force-pushed the kudu_split_local_scheduling branch from 9cbd3cf to 4cdf8b8 Compare July 27, 2023 03:13
Copy link
Member

@Praveen2112 Praveen2112 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@findinpath findinpath removed their request for review July 27, 2023 12:57
@hackeryang hackeryang requested a review from Praveen2112 July 27, 2023 13:14
@hackeryang hackeryang force-pushed the kudu_split_local_scheduling branch from 4cdf8b8 to d68a170 Compare July 27, 2023 13:35
@github-actions github-actions bot added the docs label Jul 27, 2023
@Praveen2112 Praveen2112 merged commit 6849365 into trinodb:master Jul 28, 2023
@Praveen2112
Copy link
Member

Thanks for working on this

@hackeryang hackeryang deleted the kudu_split_local_scheduling branch July 28, 2023 05:58
@github-actions github-actions bot added this to the 423 milestone Jul 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

3 participants