-
Notifications
You must be signed in to change notification settings - Fork 993
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
RANGER-5104: Ranger Upgrade is failing while executing the PatchPreSql057_ForUpdateToUniqueGUID_J10052 #511
Merged
+24
−3
Conversation
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
…l057_ForUpdateToUniqueGUID_J10052
pradeepagrawal8184
requested review from
kumaab,
kishorgollapalliwar and
dineshkumar-yadav
January 16, 2025 09:00
Verified that the issue is reproducible when upgrading from version 2.2.0 to 2.6.0, attached logs to the jira. |
Verified that the patch works in fixing the upgrade path, tested on an upgrade from 2.2 to 2.6, ranger admin comes up fine.
|
kumaab
approved these changes
Jan 26, 2025
asfgit
pushed a commit
that referenced
this pull request
Jan 27, 2025
…l057_ForUpdateToUniqueGUID_J10052 (#511) * RANGER-5104: Ranger Upgrade is failing while executing the PatchPreSql057_ForUpdateToUniqueGUID_J10052 * Fix typo in db_setup.py --------- Co-authored-by: Abhishek Kumar <[email protected]> Change-Id: I214907b0487c1f38bf7e5854ea43810da8767c1c
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What changes were proposed in this pull request?
Ranger SQL queries is selecting all columns which are not being used, The upgrade failed as 'gz_jsonData' column is not available during the PatchPreSql057_ForUpdateToUniqueGUID_J10052 execution.
gz_jsonData column values are not required for the PatchPreSql057_ForUpdateToUniqueGUID_J10052 hence rather selecting all columns only the required columns (id and name) of all records should be fetched.
How was this patch tested?
Retried the failing environment with this patch and same configuration. Upgrade completed successfully.