{
:“error_code INVALID_PARAMETER_VALUE”,
“消息”:“缺少必需字段:job_id”
}
我測試集群的工作和需要更新的碼頭工人形象向另一個版本使用重置/ API更新工作。我經曆了磚塊的數據文檔,跑所有的相關命令重置但我得到上麵的錯誤。附加片段的JSON文件。
curl——netrc請求郵報\ https://databricksinstance/api/2.0/jobs/update job_id = 1 \ @resetjob——數據。json \ |金橋。
{
“job_id”: 1、
"設置":{
“名稱”:“testjob”,
" new_cluster ": {
“cluster_name”:“”,
“spark_version”:“”,
" spark_conf ": {
“spark.sql.legacy.parser。havingWithoutGroupByAsWhere ": " = True "
},
" aws_attributes ": {
“zone_id”:“”,
“first_on_demand”: 0,
“可用性”:“SPOT_WITH_FALLBACK”,
“instance_profile_arn”:“”,
“spot_bid_price_percent”:,
:“ebs_volume_type GENERAL_PURPOSE_SSD”,
“ebs_volume_count”: 1、
“ebs_volume_size”: 100
},
:“node_type_id i3.xlarge”,
:“driver_node_type_id i3.xlarge”,
" custom_tags ": {
“承包商”:“”,
“用戶”:“
},
" cluster_log_conf ": {
" s3 ": {
“目的地”:“”,
“地區”:“”,
“enable_encryption”:沒錯,
“canned_acl”:“
}
},
“enable_elastic_disk”:假的,
“init_scripts”:(
{
" dbfs ": {
“目的地”:“
}
},
{
" dbfs ": {
“目的地”:“
}
}
),
" docker_image ": {
“url”:“*”,
“basic_auth”: {}
},
“policy_id”:“”,
“num_workers”: 12
},
“庫”:(
{
“蛋”:“
}
),
" email_notifications ": {
“no_alert_for_skipped_runs”:假的
},
“timeout_seconds”: 0,
" notebook_task ": {
“notebook_path”:“
},
“max_concurrent_runs”: 10
},
“created_time”:,
“creator_user_name”:“”,
“run_as_user_name”:“
}
任何想法嗎?