Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-9703

Failed to cancel yarn service upgrade when canceling multiple times

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • None
    • None
    • yarn-native-services
    • None

    Description

      sleeptest.yarnfile

      {
         "name":"sleeptest",
         "version":"1.0.0",
         "lifetime":"-1",
         "components":[
            {
               "name":"sleep",
               "number_of_containers":3,
      …
      }
      

      how to reproduce

      • initiate upgrade
      • upgrade instance sleep-0
      • cancel upgrade -> it succeeded without any problem
      • initiate upgrade
      • upgrade instance sleep-0
      • cancel upgrade -> it didn’t work. at that time, AM logs are as follows.
      2019-07-26 10:12:20,057 [Component  dispatcher] INFO  instance.ComponentInstance - container_e72_1564103075282_0002_01_000004 pending cancellation
      2019-07-26 10:12:20,057 [Component  dispatcher] INFO  instance.ComponentInstance - [COMPINSTANCE sleep-2 : container_e72_1564103075282_0002_01_000004] Transitioned from READY to CANCEL_UPGRADING on CANCEL_UPGRADE event
      

      Attachments

        1. YARN-9703.001.patch
          1 kB
          kyungwan nam

        Activity

          People

            kyungwan nam kyungwan nam
            kyungwan nam kyungwan nam
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: