Uploaded image for project: 'REEF (Retired)'
  1. REEF (Retired)
  2. REEF-1493

Handle exception from IIMRUResultHandler.Dispose()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None

    Description

      Currently, in UpdateHost, before task exits, we call _resultHandler.Dispose(), It can throw exception depend on the implementation of the IIMRUResultHandler.
      In FaultTolerant scenario, if other mappers have completed/closed before this method is called in master, the exception does happen in testing, e.g. in WriteResultHandler.Dispose(). We need to have a proper way to handle the exception.
      If it is caused by group communication, we can simply throw IMRUTaskGroupCommunicationException, so that it only fails at task and still can be recovered.
      If it is resource leak, we might want to fail Evaluator. Since it is master, that means, the system will not be recoverable.
      Also Dispose should only release resources. If we want to do something in master before exit, it may need to be in a separate method instead of Dispose.

      Attachments

        Activity

          People

            Unassigned Unassigned
            juliaw Julia Wang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: