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

Service errors are difficult to debug

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: CDAP Services
    • Labels:
    • Rank:
      1|hzyzgv:

      Description

      The only message logged today is "Exception encountered while processing request: /path". This gives no clue to the user on how to fix the issue, leads to hours wasted in trying to figure out the issue, and is super frustrating. This leads to very bad user experience.

      We should have a way to log exceptions from service handlers.

      If we don't want to log exception all the time, at least have a way to enable exception logging during development. I was not able to find anything to help debug a service in the documentation.

      Just to clarify - the service mentioned here is not CDAP system service, but the service that users can write as part of their application.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sagar Sagar Kapare
                Reporter:
                poorna Poorna Chandra
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: