Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-4065

Improve error handling in beforeSubmit and onFinish

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.5.0
    • Component/s: App Fabric
    • Labels:
    • Release Notes:
      Improved the way that MapReduce failures are reported.
    • Rank:
      1|hzy5un:

      Description

      Any exception that is thrown during beforeSubmit or onFinish gets wrapped in a TransactionFailureException. So if you are doing validation at those points, what went wrong is very confusing. What went wrong in those situations is not some transaction failure, but some other type of failure. There should be some way of throwing the right exception.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                andreas Andreas Neumann
                Reporter:
                ashau Albert Shau
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: