Closed tgkarthickbabu1986 closed 3 years ago
We are facing the same issue and any update will be appreciable
Thanks!
Aditya
The API now returns a warning before JSON and the task can't parse it. I added a task like this between CLI configuration and the notebook execution and it fixed it for me.
- script: databricks jobs configure --version=2.1 --profile AZDO
The API now returns a warning before JSON and the task can't parse it. I added a task like this between CLI configuration and the notebook execution and it fixed it for me.
- script: databricks jobs configure --version=2.1 --profile AZDO
Thanks! It is working for me as well...
Thanks. working fine now.
We are trying to execute DataBricks Notebook from CICD pipeline. Its working fine last Monday(18th October 2021). But Now its throwing the following error. Could you please, let us know the steps to fix this issue.
2021-10-19T17:07:44.1187852Z [command]C:\hostedtoolcache\windows\Python\3.10.0\x64\Scripts\databricks.exe jobs create --json-file D:\a_tasks\executenotebook_ac263826-c64e-4f2d-b7ce-5f7e777fd8bc\0.5.2\job-configuration.json --profile AZDO 2021-10-19T17:07:44.6513431Z WARN: Your CLI is configured to use Jobs API 2.0. In order to use the latest Jobs features please upgrade to 2.1: 'databricks jobs configure --version=2.1'. Future versions of this CLI will default to the new Jobs API. Learn more at https://docs.databricks.com/dev-tools/api/latest/jobs.html 2021-10-19T17:07:44.6514792Z { 2021-10-19T17:07:44.6515219Z "job_id": 16204911 2021-10-19T17:07:44.6515595Z } 2021-10-19T17:07:44.6568609Z ##[error]Unexpected token W in JSON at position 0 2021-10-19T17:07:44.6611871Z ##[section]Finishing: Execute /deployments/common/CICD_Exec/CICD
Thanks in Advance.
Regards, Karthick Babu T G