cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

databricks cli create job

thiagoawstest
Contributor

Hi, using the Databricks cli, I exported the jobs in json format from the workspace in Azure, using the same json to create a new job, but in a workspace in AWS, the error below occurs.

To create a job via Databricks cli on AWS, do you need to change something?, following error and an example of json.

ERROR failed execution pid=1561981 exit_code=1 error="invalid character 'j' looking for beginning of value"

I used this command to generate the json:
databricks jobs list --output json > file.json

example json job:

{
"created_time": 1715267389892,
"job_id": 665523989155957,
"settings": {
"email_notifications": {
"no_alert_for_skipped_runs": true,
"on_failure": [
"email@test.com"
]
},
"format": "MULTI_TASK",
"max_concurrent_runs": 1,
"name": "job_teste",
"timeout_seconds": 0
}

#aws #jobs 

1 ACCEPTED SOLUTION

Accepted Solutions

thiagoawstest
Contributor

Hi, I already found the error, you need to use @ in the path.

Thanks.

View solution in original post

1 REPLY 1

thiagoawstest
Contributor

Hi, I already found the error, you need to use @ in the path.

Thanks.

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group