Uploaded image for project: 'Apache Apex Core'
  1. Apache Apex Core
  2. APEXCORE-624

Shutdown does not work because of incorrect logic in the AppMaster

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 3.3.1, 3.2.2, 3.5.1, 3.6.0, 3.4.1
    • None
    • None

    Description

      com.datatorrent.stram.StreamingAppMasterService.execute() calculates numRequestedContainers incorrectly in some cases (e.g. RM container allocation failure) which prevents an application from shutting down when it is requested externally. An example is where we ask RM to remove previous container allocation request (where the count should be decremented but is NOT) and add a new one (where the count should be and IS incremented). Another example is the "alreadyAllocated" case where we release the container and still increment numRequestedContainers which seems wrong.

      This bug is showing up in multiple Apex deployments.

      Attachments

        Issue Links

          Activity

            People

              sanjaypujare Sanjay M Pujare
              sanjaypujare Sanjay M Pujare
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: