falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ajay Yadava (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FALCON-1068) When scheduling a process, Falcon throws "Bad Request;Could not commit transaction due to exception during persistence"
Date Thu, 12 Mar 2015 16:19:38 GMT

    [ https://issues.apache.org/jira/browse/FALCON-1068?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14358895#comment-14358895
] 

Ajay Yadava commented on FALCON-1068:
-------------------------------------

[~kawaa] I don't think retry will solve this issue. It's because of a deadlock due to uncommitted
transactions as illustrated by [~pavan kumar] in his comments above. It's an issue with falcon
and we are tracking it in FALCON-1060

As for retries if you haven't done any customizations in your falcon installation (startup.properties)
for graph db, by default titan will do the retries as mentioned by Sowmya Ramesh. 



> 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
>         Attachments: falcon.application.log.FALCON-1068.rtf
>
>
> 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)

Mime
View raw message