You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
# flexibleengine_mrs_job_v2.example-mrs-job will be created
+ resource "flexibleengine_mrs_job_v2" "example-mrs-job" {
+ cluster_id = "xxxxxxxxxxxx"
+ finish_time = (known after apply)
+ id = (known after apply)
+ name = "example-mrs-job"
+ parameters = "admin xxxxxxxxx 1 s3a://obs-demo-analysis/input s3a://obs-demo-analysis/output"
+ program_parameters = {
+ "--class" = "com.orange.bigdata.spark.examples.DriverBehavior"
}
+ program_path = "s3a://obs-demo-analysis/program/driver_behavior.jar"
+ region = (known after apply)
+ start_time = (known after apply)
+ status = (known after apply)
+ submit_time = (known after apply)
+ type = "SparkSubmit"
}
Plan: 1 to add, 0 to change, 0 to destroy.
Do you want to perform these actions?
Terraform will perform the actions described above.
Only 'yes' will be accepted to approve.
Enter a value: yes
flexibleengine_mrs_job_v2.example-mrs-job: Creating...
╷
│ Error: Error execution MapReduce job: Bad request with: [POST https://mrs.eu-west-0.prod-cloud-ocb.orange-business.com/v2/bb4a068de4b24eea97b11d43e9b5910d/clusters/30b44829-2aa6-4f31-95cb-0895737de1e7/job-executions], error message: {"error_code":"0167","error_msg":"The v2 job API cannot be accessed."}
│
│ with flexibleengine_mrs_job_v2.example-mrs-job,
│ on mr-job.tf.json line 16, in resource.flexibleengine_mrs_job_v2.example-mrs-job:
│ 16: }
│
Expected Behavior
Steps to Reproduce
Expected Behavior
Create job resource for MRS cluster with Spark
Steps To Reproduce
Please list the steps required to reproduce the issue, for example:
Create a MRS cluster 1.8.9 or 2.0.1 Analysis
Create a job
terraform apply
Environment
terraform version: 1.3.7
Provider Version: 1.36.0
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Current Behavior
Try to create a job spark for a mrs analysis cluster
Affected Resource(s)
Terraform Configuration Files
Panic Output
terraform apply
Expected Behavior
Steps to Reproduce
Expected Behavior
Create job resource for MRS cluster with Spark
Steps To Reproduce
Please list the steps required to reproduce the issue, for example:
terraform apply
Environment
The text was updated successfully, but these errors were encountered: