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

destroying yarn-service is allowed even though running state

    XMLWordPrintableJSON

Details

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

    Description

      It looks very dangerous to destroy a running app. It should not be allowed.

      [yarn-ats@test ~]$ yarn app -list
      19/03/12 17:48:49 INFO client.RMProxy: Connecting to ResourceManager at test1.com/10.1.1.11:8050
      19/03/12 17:48:50 INFO client.AHSProxy: Connecting to Application History server at test1.com/10.1.1.101:10200
      Total number of applications (application-types: [], states: [SUBMITTED, ACCEPTED, RUNNING] and tags: []):3
                      Application-Id      Application-Name        Application-Type          User           Queue                   State             Final-State             Progress                        Tracking-URL
      application_1551250841677_0003                    fb            yarn-service     ambari-qa         default                 RUNNING               UNDEFINED                 100%                                 N/A
      application_1552379723611_0002                   fb1            yarn-service      yarn-ats         default                 RUNNING               UNDEFINED                 100%                                 N/A
      application_1550801435420_0001             ats-hbase            yarn-service      yarn-ats         default                 RUNNING               UNDEFINED                 100%                                 N/A
      [yarn-ats@test ~]$ yarn app -destroy fb1
      19/03/12 17:49:02 INFO client.RMProxy: Connecting to ResourceManager at test1.com/10.1.1.11:8050
      19/03/12 17:49:02 INFO client.AHSProxy: Connecting to Application History server at test1.com/10.1.1.101:10200
      19/03/12 17:49:02 INFO client.RMProxy: Connecting to ResourceManager at test1.com/10.1.1.11:8050
      19/03/12 17:49:02 INFO client.AHSProxy: Connecting to Application History server at test1.com/10.1.1.101:10200
      19/03/12 17:49:02 INFO util.log: Logging initialized @1637ms
      19/03/12 17:49:07 INFO client.ApiServiceClient: Successfully destroyed service fb1
      
      

      Attachments

        1. YARN-9386.001.patch
          1 kB
          kyungwan nam
        2. YARN-9386.002.patch
          5 kB
          kyungwan nam
        3. YARN-9386.003.patch
          8 kB
          kyungwan nam

        Activity

          People

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

            Dates

              Created:
              Updated: