Uploaded image for project: 'Oozie'
  1. Oozie
  2. OOZIE-3297

Retry logic does not handle the exception from BulkJPAExecutor properly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 5.0.0
    • 5.1.0
    • core
    • None

    Description

      The test testJavaNoRecords revealed an interesting problem - if BulkJPAExecutor does not find a particular bundle job, it throws a JPAExecutorException and the operation is retried even though it the exception should be re-thrown without any retry.

      The problem is that the cause of JPAExecutorException is another JPAExecutorException and the predicate logic inside OperationRetryHandler mishandles this situation.

      Attachments

        1. OOZIE-3297.001.patch
          1 kB
          Andras Piros

        Activity

          People

            andras.piros Andras Piros
            pbacsko Peter Bacsko
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: