Databricks REST API无法触发作业

时间:2020-11-08 15:35:13

标签: databricks

(此网址的示例:https://docs.databricks.com/dev-tools/api/latest/examples.html

我运行命令: (samplefile.netrc是一个包含计算机,登录名,密码信息的文件)

%sh curl --netrc-file /dbfs/mnt/samplefile.netrc -X GET -H 'Content-Type:application/json' -d '{'job_id': 206 }' https://east.databricks.azure.cn/?o=3367817484362031/api/2.0/jobs/run-now

我得到以下结果,但工作没有开始。

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100    39    0     0  100    39      0    320 --:--:-- --:--:-- --:--:--   364

该命令为什么不触发作业启动?

0 个答案:

没有答案