Skip to content

Fix Spark RAPIDS on Ubuntu 22 kernel 6.8.0-1073 - #1416

Merged
cjac merged 1 commit into
GoogleCloudDataproc:mainfrom
nvliyuan:fix-ubuntu22-kernel-6.8-driver
Nov 25, 2026
Merged

cjac merged 1 commit into
GoogleCloudDataproc:mainfrom
nvliyuan:fix-ubuntu22-kernel-6.8-driver

Conversation

@nvliyuan

Copy link
Copy Markdown
Contributor

What does this PR do?

Dataproc 2.3.39-ubuntu22 now uses kernel 6.8.0-1073-gcp. NVIDIA 550 open kernel modules fail to compile against this kernel because pci_resize_resource now requires a fourth exclude_bars argument.

The Ubuntu 22 path already uses the online NVIDIA repository, but it preserves the requested/default 550 driver series. This change follows the Debian 12 compatibility handling and overrides 550-series requests to the 580 series on Ubuntu 22.

Validation

Created a real Dataproc cluster with:

  • image: 2.3.39-ubuntu22
  • two T4 workers
  • metadata explicitly requesting driver-version=550.163.01
  • Secure Boot disabled

Both workers passed:

  • kernel: 6.8.0-1073-gcp
  • override warning emitted for 550.163.01
  • installed driver: 580.196.11 (latest package in the 580 repository series)
  • DKMS: nvidia/580.196.11, 6.8.0-1073-gcp, x86_64: installed
  • nvidia-smi: Tesla T4 detected
  • CUDA toolkit: 12.4
  • YARN: both workers registered yarn.io/gpu: 1
  • RAPIDS SparkPi on YARN: succeeded (Pi is roughly 3.138643138643139)

Static checks:

  • bash -n spark-rapids/spark-rapids.sh
  • git diff --check

Signed-off-by: liyuan <yuali@nvidia.com>

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the spark-rapids.sh script to address an incompatibility between the Ubuntu 22 kernel (6.8.0-1073-gcp) and NVIDIA 550 open modules. It sets the default NVIDIA driver version to 580.95.05 for Ubuntu 22 and adds a check to override any specified 550 series driver to 580.95.05 while printing a warning. There are no review comments, and I have no feedback to provide.

@nvliyuan

Copy link
Copy Markdown
Contributor Author

Hi @cjac could you help review this pr? thx

@cjac

cjac commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

/gcbrun

@cjac

cjac commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

I'll approve the workflow runs

@cjac
cjac self-requested a review November 25, 2026 19:57

@cjac cjac left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cjac
cjac merged commit 621c2c2 into GoogleCloudDataproc:main Nov 25, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants