Uploaded image for project: 'Myriad'
  1. Myriad
  2. MYRIAD-160

Randomize ports on which NM starts

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • Myriad 0.1.0
    • Scheduler
    • None

    Description

      When a CGS node is present and gets replaced by a FGS node after a flex-down and flex-up, the memory calculation is going wrong. I see the applications hang and the AM container fails to get scheduled.

      By default when a NM is started, it is started on a random port. Only the web server port is fixed to 8042.
      The behavior should be similar in Myriad. We need to randomize the port of the NM from the offer obtained from mesos. So when we flex down and flex-up it starts on a different port. Otherwise Myriad considers this as the same NM with different resources. Hence the memory calculation issue.

      Attachments

        Issue Links

          Activity

            People

              yufeldman Yuliya Feldman
              Aashreya Aashreya Ravi Shankar
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: