Google cloud dataproc clusters create --properties 标签有问题
problem with Google cloud dataproc clusters create --properties tag
根据 https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/cluster-properties
,我尝试在使用如下 gcloud 命令创建 Dataproc 集群时启用 yarn.log-aggregation-enable
gcloud beta dataproc clusters create test1
--properties= 'yarn:yarn.log-aggregation-enable=true' \
--max-idle=30m \
--no-address \
--network default \
--region=us-east4 \
--zone=us-east4-c \
--master-boot-disk-size=200GB \
--worker-boot-disk-size=100GB \
--num-workers=10 \
--worker-machine-type=n1-standard-4 \
--master-machine-type=n1-standard-8
但我被告知:
unrecognized arguments: yarn:yarn.log-aggregation-enable=true
如何正确?
是否有另一种方法可以在 Dataproc 集群上启用 yarn.log-aggregation-enable?
非常感谢!
这只是一个解析错误,你在[=18=之前有一个等号(=
)和一个space(</code>) ]:<code>--properties= 'yarn:yarn.log-aggregation-enable=true'
。去掉一个,命令将接受参数:--properties='yarn:yarn.log-aggregation-enable=true'
根据 https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/cluster-properties
,我尝试在使用如下 gcloud 命令创建 Dataproc 集群时启用 yarn.log-aggregation-enablegcloud beta dataproc clusters create test1
--properties= 'yarn:yarn.log-aggregation-enable=true' \
--max-idle=30m \
--no-address \
--network default \
--region=us-east4 \
--zone=us-east4-c \
--master-boot-disk-size=200GB \
--worker-boot-disk-size=100GB \
--num-workers=10 \
--worker-machine-type=n1-standard-4 \
--master-machine-type=n1-standard-8
但我被告知:
unrecognized arguments: yarn:yarn.log-aggregation-enable=true
如何正确? 是否有另一种方法可以在 Dataproc 集群上启用 yarn.log-aggregation-enable?
非常感谢!
这只是一个解析错误,你在[=18=之前有一个等号(=
)和一个space(</code>) ]:<code>--properties= 'yarn:yarn.log-aggregation-enable=true'
。去掉一个,命令将接受参数:--properties='yarn:yarn.log-aggregation-enable=true'