Uploaded image for project: 'Falcon'
  1. Falcon
  2. FALCON-1068

When scheduling a process, Falcon throws "Bad Request;Could not commit transaction due to exception during persistence"

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      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.:

      $ ./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
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kawaa Adam Kawa
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: