Anil Kamath
Anil Kamath

Reputation: 41

AWS Data Pipeline - Error when trying to re-run a failed acitivity

My datapipeline has many acitivities (Shellcommandactivity) one of which has failed due to a programmatic issue. However when i try to re-run the failed activity after fixing programmatic issue. Failure & rerun mode is - cascade & schedule Type is On demand. I get the below error

The given input is not valid: Set status 'RERUN' is not allowed on finished objects Activity2 (ShellCommandActivityId_vGL6K) (Service: DataPipeline; Status Code: 400; Error Code: InvalidRequestException; Request ID: 9a0cd59b-6a02-11e6-8592-cbb9c966228d)

I have all access including administrator access. I have gone through all the posts and the documentation but was not able to find an answer

Upvotes: 3

Views: 2558

Answers (3)

Rakesh
Rakesh

Reputation: 199

If you have only one attempt to run activity or pipeline then you can run only once, to run multiple times follow below steps. I have rerun pipeline by following below steps: 1. go to list pipeline 2. click on pipleine and click on edit pipeline 3. go to Schedules 4. edit Occurrences make it 1 to 10. 5. save pipeline. 6. Activate pipeline. 7. rerun that task or activity.

Upvotes: 0

Zhe Hou
Zhe Hou

Reputation: 227

This problem happens because the EDP is not in active status. When EDP is 'inactive' or its schedule is closed, you cannot rerun its steps anymore. I don't know how to schedule this kind of EDP again. A workaround is to clone the EDP and activate it.

Upvotes: 2

Austin Lee
Austin Lee

Reputation: 84

Please try cloning the pipeline and activating it.

Upvotes: 1

Related Questions