-
Notifications
You must be signed in to change notification settings - Fork 87
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
Verify migration progress prerequisites during UCX catalog creation #2912
Merged
Merged
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
f123df6
Add VerifyProgressTracking
JCZuurmond e3bafd4
Move verification docs
JCZuurmond 3557a4b
Add command to metastore not attached message
JCZuurmond 959f73c
Normalize error message
JCZuurmond 3458386
Add command to assessment workflow not run
JCZuurmond 9d7b46a
Format
JCZuurmond eb79edd
Fix wrong import
JCZuurmond 3f941b9
Add verify progress tracking to global context
JCZuurmond f8cf9cf
Reuse verify progress tracking in workflow
JCZuurmond 3f862fa
Verify progress tracking in create-ucx-catalog command
JCZuurmond 33e03f3
Format
JCZuurmond c6d3c6f
Fix unit test
JCZuurmond 74cdc13
Remove jobs import
JCZuurmond f9c79fd
Fix test
JCZuurmond a3be010
Test runtime warning being raised
JCZuurmond fb64741
Test verify progress tracking
JCZuurmond 16aa938
Remove parenthesis in warning message
JCZuurmond e07f3ce
Format
JCZuurmond ec48d1b
Change mock level for test_verify_progress_tracking_valid_prerequisites
JCZuurmond d9f183b
Change mock level for test_verify_progress_tracking_raises_runtime_er…
JCZuurmond d5052fd
Change mock level for test_verify_progress_tracking_raises_runtime_er…
JCZuurmond 9f34ead
Change mock level for test_verify_progress_tracking_raises_runtime_er…
JCZuurmond 724756b
Change mock level for test_verify_progress_tracking_raises_runtime_er…
JCZuurmond 7ce4a3a
Rename test
JCZuurmond 382a820
Remove redundant tests
JCZuurmond 6fb73e3
Fix regex pattern
JCZuurmond 28581df
Format
JCZuurmond b3368a7
Wait for one hour on the assessment run during migration progress
JCZuurmond 4830ef5
Merge branch 'main' into feat/verify-migration-progress-prerequisites
nfx 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
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.
@nfx : What do you think of these
Verify...
classes? They are small classes that mainly function as a wrapper around one methodThere 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.
ideally we'd merge those
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.
Oke, I could cover that in a separate PR. To make it more specific, we have the following classes:
VerifyHasMetastore
: Verifies if there is a (current) metastore accessibleVerifyHasCatalog
: Verifies if there is a catalog accessibleVerifyProgressTracking
: Verifies if the progress tracking pre-requisites are met.VerifyHasMetastore
andVerifyHasCatalog
are logically closer and easier to merge.VerifyProgressTracking
is more specific (to the progress tracking) and requires theDeployedWorkflows
.Would you conclude to merge all and have a progress tracking specific method on the class? Or merge
VerifyHasMetastore
andVerifyHasCatalog
and not mergeVerifyProgressTracking
(for now)?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.
let's start with merging those once we have cycles for it