Serverless for Apache Spark 运行时 3.0

Spark 运行时版本 3.0 组件

组件 3.0.9
2026/02/27
3.0.8
2026/02/20

3.0.7
2026/02/13
3.0.5
2026/02/06
3.0.4
2026/01/30
Apache Spark 4.0.0 4.0.0 4.0.0 4.0.0 4.0.0
Cloud Storage 连接器 3.1.9 3.1.9 3.1.9 3.1.9 3.1.9
BigQuery 连接器 0.43.1-preview 0.43.1-preview 0.43.1-preview 0.43.1-preview 0.43.1-preview
Java 21 21 21 21 21
Python 3.12 3.12 3.12 3.12 3.12
Scala 2.13 2.13 2.13 2.13 2.13

注意

  • 3.0 运行时使用 UTF-8 作为默认字符编码。

  • 3.0 运行时新功能和改进:

    • 默认使用区域级和多地区工作负载,以提高计算资源的可用性
    • 启动速度比之前的运行时更快
    • 快速清理资源,以便在工作负载完成后更快地释放 VPC IP
    • 默认情况下,最终用户凭证用于所有工作负载
    • 新的 bigquery Spark 目录,已预先配置,可实现开箱即用的 BigQuery 原生表互动
    • 新的 Spark Serverless 专用 IAM 角色
    • 需要启用新的 dataprocrm.googleapis.com API
  • 3.0 运行时不支持和已弃用的功能:

    • 不支持 Persistent History Server (PHS)。请改用 Spark 界面
    • 不支持 SparkR 批处理。请改用 sparklyr
    • 不支持 Jupyter 会话。请改用 Spark Connect 会话,这是交互式 Spark 开发的业界标准。

Python 库

serverless-spark-3.0-debian-12 Python 库
软件包名称 版本
accelerate 1.11
bigframes 2.24
cookiecutter 2.6
CUDA 12.9
cudnn 9.10
cython 3.1
dask 2025.10
dataproc-spark-connect 1.0.0
dataproc-ml 1.0.0rc1
数据集 4.0
deepspeed 0.17
delta-spark 4.0.0
evaluate 0.4
fastavro 1.12
fastparquet 2024.11
gcsfs 2025.3
git 2.51
google-auth-oauthlib 1.2
google-cloud-aiplatform 1.121
google-cloud-bigquery 3.38
google-cloud-bigquery-storage 2.32
google-cloud-bigtable 2.34
google-cloud-container 2.59
google-cloud-datacatalog 3.27
google-cloud-dataproc 5.22
google-cloud-datastore 2.21
google-cloud-dlp 3.32
google-cloud-language 2.17
google-cloud-logging 3.12
google-cloud-monitoring 2.28
google-cloud-pubsub 2.31
google-cloud-redis 2.18
google-cloud-secret-manager 2.25
google-cloud-spanner 3.59
google-cloud-speech 2.33
google-cloud-storage 2.19
google-cloud-texttospeech 2.31
google-cloud-translate 3.21
google-cloud-vision 3.10
httplib2 0.31
huggingface_hub 0.36
ipyparallel 9.0
keyrings.google-artifactregistry-auth 1.1
langchain 1.0
lightgbm 4.6
mamba 2.3
markdown 3.9
nccl 2.27
nltk 3.9
nodejs 24.9
numba 0.61
numpy 2.1
oauth2client 4.1
onnx 1.17
openblas 0.3
opencv 4.11
orc 2.1
pandas 2.3
pyarrow 19.0
pydot 4.0
pyhive 0.7
pyiceberg 0.10
pymongo 4.15
pynvml 13.0
pytables 3.10
Python 3.12
pytorch-gpu 2.6
regex 2025.10
请求 2.32
rtree 1.4
scikit-image 0.25
scikit-learn 1.7
scipy 1.15
seaborn 0.13
sentence-transformers 5.1
shap 0.48
spark-tensorflow-distributor 1.0
spacy 3.8
sqlalchemy 2.0
statsforecast 2.0
sympy 1.14
tensorflow-gpu 2.18
torcheval 0.0.7
torch 2.6
torchvision 0.21
龙卷风 6.5
transformers 4.57
uritemplate 4.2
virtualenv 20.35
wordcloud 1.9
xgboost 3.0.4
ydata-profiling 4.17