-
Notifications
You must be signed in to change notification settings - Fork 198
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
Cluster state refactor Part 2 #658
Merged
Merged
Changes from 27 commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
b606c77
Customize session builder
thinkharderdev a157581
Add setter for executor slots policy
thinkharderdev 24d4830
Construct Executor with functions
thinkharderdev c615fce
Add queued and completed timestamps to successful job status
thinkharderdev 5ad27c0
Add public methods to SchedulerServer
thinkharderdev 490bda5
Public method for getting execution graph
thinkharderdev a802315
Public method for stage metrics
thinkharderdev ff96bcd
Use node-level local limit (#20)
thinkharderdev 694f6e2
configure_me_codegen retroactively reserved on our `bind_host` parame…
91119e4
Add ClusterState trait
thinkharderdev 18790f4
Merge remote-tracking branch 'cgx/cluster-state' into cluster-state-r…
thinkharderdev 41f228c
Refactor slightly for clarity
thinkharderdev 70e1bcf
Revert "Use node-level local limit (#20)"
thinkharderdev 96a8c9d
Revert "Public method for stage metrics"
thinkharderdev 081b224
Revert "Public method for getting execution graph"
thinkharderdev 7ae9aaa
Revert "Add public methods to SchedulerServer"
thinkharderdev d34ecb5
Revert "Add queued and completed timestamps to successful job status"
thinkharderdev ee2c9d0
Revert "Construct Executor with functions"
thinkharderdev 3948c81
Always forget the apache header
thinkharderdev 7062743
Merge remote-tracking branch 'origin' into cluster-state-refactor
thinkharderdev 950882b
WIP
thinkharderdev f03f208
Implement JobState
thinkharderdev 3767b17
Tests and fixes
thinkharderdev 6733143
do not hold ref across await point
thinkharderdev c66433c
Merge remote-tracking branch 'origin/main' into cluster-state-refactor-2
thinkharderdev 12ab248
Fix clippy warnings
thinkharderdev 1f3b491
Fix tomlfmt github action
thinkharderdev 43bfaf6
uncomment test
thinkharderdev File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like this PR drops
bind_host
? That can be different fromexternal_host
, so I'm not sure we can do that.Or maybe that is handled somewhere else in this PR and I haven't seen it yet?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like
bind_host
is not currently used in the scheduler, but it is in the executor, so this seems like an oversight.cc @avantgardnerio who may have opinions here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, this is slightly confusing :). It is still used to build the bind address for the server
The reason
external_host
was added toSchedulerConfig
is so that we can pass it in tostart_server
and build theBallistaCluster
there only from theSchedulerConfig
. In order to do that I had to pass a few more things from theConfig
struct generated byconfigure_me
which isn't available in the lib code.So really the only point is to further minimize what we do in
main.rs
to just setting up logging and validating CLI argumentsThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FWIW, I believe
external_host
is required for FlightSQL.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I stand corrected - it appears to have morphed into its own
advertise_flight_sql_endpoint
.