英文:
How to set the runtime version for Dataproc Serverless
问题
以下是要翻译的内容:
"The various runtimes are listed here:
https://cloud.google.com/dataproc-serverless/docs/concepts/versions/dataproc-serverless-versions
When submitting a batch job how do you set which runtime it executes under?
I tried looking in the documentation and searching the web, but no luck."
英文:
The various runtimes are listed here:
https://cloud.google.com/dataproc-serverless/docs/concepts/versions/dataproc-serverless-versions
When submitting a batch job how do you set which runtime it executes under?
I tried looking in the documentation and searching the web, but no luck.
答案1
得分: 2
我认为您正在寻找的是 gcloud
CLI 中的 --version
标志:
--version=VERSION
可选的运行时版本。如果未指定,将使用默认版本。
如果您正在使用 API/客户端库,那么您可以通过 RuntimeConfig
中的 version
字段进行设置。
英文:
I think what you're looking for is the --version
flag in gcloud
CLI:
--version=VERSION
Optional runtime version. If not specified, a default version will be used.
If you are using API/Client Library then you can set it via version
field in RuntimeConfig
.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论