GoogleCloudDataproc / initialization-actions

Run in all nodes of your cluster before the cluster starts - lets you customize your cluster
https://cloud.google.com/dataproc/init-actions
Apache License 2.0
588 stars 512 forks source link

knox.sh script compatibility fix across different image versions #1243

Closed Abinash-Sharma closed 1 month ago

Abinash-Sharma commented 1 month ago

The knox.sh script has been updated to ensure compatibility across various Dataproc image versions. Here's a summary of the changes:

2.0.X-debian10: Addressed an issue where the script failed for image versions less than or equal to 2.0.102-debian10 due to original keys had expired at https://keyserver.ubuntu.com. Note: Cluster creation with these versions requires the cloud-platform scope. So Readme need update 2.1.X-debian11: The script functioned correctly with all 2.1.X-debian11 image versions. 2.2.x-debian12: Script was not working for 2.2 images . Resolved a problem caused by the hostname returning an FQDN in 2.2.x-debian12 images.

Testing:

Test was conducted with various cluster naming conventions (e.g., proxy-cluster, proxy-cluster-x, proxy-cluster-x-v) and across 2.0 , 2.1 , 2.2 Debian supported image versions.

google-cla[bot] commented 1 month ago

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

Abinash-Sharma commented 1 month ago

Seems my personal account missing CLA agreement