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

RetryOnStartFailureService service can call service.stop() on a failed service which can throw com.google.common.util.concurrent.UncheckedExecutionException

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 3.5.5, 4.1.1, 4.0.1
    • Fix Version/s: 4.1.1
    • Component/s: CDAP
    • Labels:
    • Rank:
      1|hzzzqv:

      Description

      RetryOnStartFailureService retries service start after certain delay. If the currentDelegate service fails to start (it can happen if the currentDelegate service throws an Exception while service is in STARTING state), and if the stop is triggered before next time service start is retried, service.stop() will be called on a FAILED service which can throw UncheckedExecutionException exception. This also applied to ResourceBalancerService.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                vinisha Vinisha Shah
                Reporter:
                vinisha Vinisha Shah
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: