Adam Kawa created FALCON-1068:
---------------------------------
Summary: When scheduling a process, Falcon throws "Bad
Request;Could not commit transaction due to exception during persistence"
Key: FALCON-1068
URL: https://issues.apache.org/jira/browse/FALCON-1068
Project: Falcon
Issue Type: Bug
Reporter: Adam Kawa
I have a simple script "manage-entity.sh process dss" that deletes, submit and
schedules a Falcon process.
A couple of times per week, I get the "FalconCLIException: Bad Request;Could
not commit transaction due to exception during persistence" when submitting the
process.
The workaround is to restart Falcon server...
e.g.:
{code}
$ ./manage-entity.sh process dss my-process.xml
falcon/default/my-process(process) removed successfully (KILLED in ENGINE)
Stacktrace:
org.apache.falcon.client.FalconCLIException: Bad Request;Could not commit
transaction due to exception during persistence
at
org.apache.falcon.client.FalconCLIException.fromReponse(FalconCLIException.java:44)
at
org.apache.falcon.client.FalconClient.checkIfSuccessful(FalconClient.java:1162)
at
org.apache.falcon.client.FalconClient.sendEntityRequestWithObject(FalconClient.java:684)
at
org.apache.falcon.client.FalconClient.submitAndSchedule(FalconClient.java:347)
at org.apache.falcon.cli.FalconCLI.entityCommand(FalconCLI.java:371)
at org.apache.falcon.cli.FalconCLI.run(FalconCLI.java:182)
at org.apache.falcon.cli.FalconCLI.main(FalconCLI.java:132)
$ ./falcon-restart.sh
Hadoop is installed, adding hadoop classpath to falcon classpath
Hadoop is installed, adding hadoop classpath to falcon classpath
falcon started using hadoop version: Hadoop 2.5.0
$ ./manage-entity.sh process dss my-process.xml
falcon/default/my-process(process) removed successfully (KILLED in ENGINE)
schedule/default/my-process(process) scheduled successfully
submit/falcon/default/Submit successful (process) my-process
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)