Repository navigation
Install Hue Python 3.9 on demand from regional GCS archive on 2.2/2.3 - #1414
Merged
vinayakumarb merged 2 commits intoNov 24, 2026
Merged
Conversation
When standalone /usr/local/bin/python3.9 is not pre-installed in Dataproc 2.2
or 2.3 GCE images, download and verify the matching shared OS-flavour archive
(python-3.9-{debian12,ubuntu22,rocky9,ubuntu22-arm}.tar.gz) from
gs://goog-dataproc-artifacts-<region>/hue/python3.9/ (with gs://hadoop-lib
fallback and optional hue-python-archive-url metadata override) before
installing the Hue package.
Contributor
There was a problem hiding this comment.
Code Review
This pull request adds support for installing Python 3.9 on Dataproc 2.2 and 2.3 images, which is necessary for Hue installation. The changes include new utility functions in hue.sh for resolving OS-specific Python flavours, downloading and verifying archives from GCS, and installing required runtime libraries, along with updated documentation. The review identified a critical bug in the version string matching logic, an incorrect package name for Rocky Linux 9, and suggested a more robust approach for SHA-256 verification.
Contributor
Author
|
/gcbrun |
IshaAg
approved these changes
Nov 19, 2026
This file contains hidden or 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
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.
When standalone /usr/local/bin/python3.9 is not pre-installed in Dataproc 2.2 or 2.3 GCE images, download and verify the matching shared OS-flavour archive (python-3.9-{debian12,ubuntu22,rocky9,ubuntu22-arm}.tar.gz) from gs://goog-dataproc-artifacts-/hue/python3.9/ (with gs://hadoop-lib fallback and optional hue-python-archive-url metadata override) before installing the Hue package.