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
New Contributor III

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
New Contributor III

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

Thanks.

View solution in original post

1 REPLY 1

thiagoawstest
New Contributor III

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

Thanks.

Join 100K+ Data Experts: Register Now & Grow with Us!

Excited to expand your horizons with us? Click here to Register and begin your journey to success!

Already a member? Login and join your local regional user group! If there isn’t one near you, fill out this form and we’ll create one for you to join!