Uploaded image for project: 'Apache Tez'
  1. Apache Tez
  2. TEZ-2760 Tez UI: in-progress updates on UI
  3. TEZ-2795

AM web service V2: Refactoring & optimization

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • UI
    • None

    Description

      Make error handling better

      • Currently on error the function returns null, and the callee checks for null value which is not the best approach.
      • Guess the best is to modify the exception to give a meaning full message, and then re-throw the same. A base try..catch block can be put in to handle all exceptions.
      • Gracefully fail invalid ids - Server shouldn't return error even if ids are invalid.

      Attachments

        Activity

          People

            Unassigned Unassigned
            Sreenath Sreenath Somarajapuram
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: