Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-2175

Propagate System Exceptions from the OzoneManager

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Ozone Manager

    Description

      Exceptions encountered while processing requests on the OM are categorized as business exceptions and system exceptions. All of the business exceptions are captured as OMException and have an associated status code which is returned to the client. The handling of these is not going to be changed.

      Currently system exceptions are returned as INTERNAL ERROR to the client with a 1 line message string from the exception. The scope of this jira is to capture system exceptions and propagate the related information(including the complete stack trace) back to the client.

      There are 3 sub-tasks required to achieve this
      1. Separate capture and handling for OMException and the other exceptions(IOException). For system exceptions, use Hadoop IPC ServiceException mechanism to send the stack trace to the client.
      2. track and propagate exceptions inside Ratis OzoneManagerStateMachine and propagate up to the OzoneManager layer (on the leader). Currently, these exceptions are not being tracked.
      3. Handle and propagate exceptions from Ratis.

      Will raise jira for each sub-task.

      Attachments

        Activity

          People

            Unassigned Unassigned
            sdeka Supratim Deka
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 3.5h
                3.5h