Return-Path: X-Original-To: apmail-falcon-dev-archive@minotaur.apache.org Delivered-To: apmail-falcon-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C7C6B17DB6 for ; Mon, 9 Mar 2015 16:15:16 +0000 (UTC) Received: (qmail 99084 invoked by uid 500); 9 Mar 2015 16:15:04 -0000 Delivered-To: apmail-falcon-dev-archive@falcon.apache.org Received: (qmail 99043 invoked by uid 500); 9 Mar 2015 16:15:03 -0000 Mailing-List: contact dev-help@falcon.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@falcon.apache.org Delivered-To: mailing list dev@falcon.apache.org Received: (qmail 99032 invoked by uid 99); 9 Mar 2015 16:15:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Mar 2015 16:15:03 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 09 Mar 2015 16:14:42 +0000 Received: (qmail 97763 invoked by uid 99); 9 Mar 2015 16:14:38 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Mar 2015 16:14:38 +0000 Date: Mon, 9 Mar 2015 16:14:38 +0000 (UTC) From: "Adam Kawa (JIRA)" To: dev@falcon.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (FALCON-1068) When scheduling a process, Falcon throws "Bad Request;Could not commit transaction due to exception during persistence" MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/FALCON-1068?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14353154#comment-14353154 ] Adam Kawa edited comment on FALCON-1068 at 3/9/15 4:14 PM: ----------------------------------------------------------- Before -submitAndSchedule I perform only delete. My scripts just wraps and parametrise 2 commands: {code} bin/falcon entity -type process -name <> -delete bin/falcon entity -submitAndSchedule -type process -file <> {code} was (Author: kawaa): Before -submitAndSchedule I perform only delete. My scripts just wraps and parametrise 2 commands: {code] bin/falcon entity -type process -name <> -delete bin/falcon entity -submitAndSchedule -type process -file <> {code} > 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)