plow
plow copied to clipboard
Submitting a job that has the same name as a running job raises exception.
Traceback (most recent call last):
File "/studio/sww/blueprint/cvernon/bin/bluerun", line 44, in <module>
app.go()
File "/studio/sww/blueprint/cvernon/lib2.7/blueprint/app.py", line 149, in go
self.handleArgs(args)
File "/studio/sww/blueprint/cvernon/bin/bluerun", line 40, in handleArgs
self._runner.launch()
File "/studio/sww/blueprint/cvernon/lib2.7/blueprint/app.py", line 203, in launch
return backend.launch(self, spec)
File "/studio/sww/blueprint/cvernon/lib2.7/blueprint/backend/plowrun.py", line 17, in launch
job = spec.launch()
File "job.pxi", line 221, in plow.JobSpec.launch (src/plow.cpp:12050)
plow.PlowError: ('Plow operation failed: com.breakersoft.plow.exceptions.JobSpecException: Failed to launch job: org.springframework.dao.DuplicateKeyException: PreparedStatementCallback; SQL []; ERROR: duplicate key value violates unique constraint "job_str_active_name_uniq_idx"\n Detail: Key (str_active_name)=(cvernon_test) already exists.; nested exception is org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint "job_str_active_name_uniq_idx"\n Detail: Key (str_active_name)=(cvernon_test) already exists.', 0)