Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-7054 Yarn Service Phase 2
  3. YARN-7954

Component status stays "Ready" when yarn service is stopped

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.1.0
    • 3.1.0
    • None
    • None

    Description

      Steps:

      1) Launch yarn service application

      2) Stop application

      3) Run get status from yarn cli

       

      [hdpuser@cn005 sleeper]$ yarn app -status yesha-sleeper
      
      WARNING: YARN_LOG_DIR has been replaced by HADOOP_LOG_DIR. Using value of YARN_LOG_DIR.
      
      WARNING: YARN_LOGFILE has been replaced by HADOOP_LOGFILE. Using value of YARN_LOGFILE.
      
      WARNING: YARN_PID_DIR has been replaced by HADOOP_PID_DIR. Using value of YARN_PID_DIR.
      
      WARNING: YARN_OPTS has been replaced by HADOOP_OPTS. Using value of YARN_OPTS.
      
      18/02/16 10:54:37 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
      
      18/02/16 10:54:37 INFO client.RMProxy: Connecting to ResourceManager at xxx/xx.xx.xx.xx:8050
      
      18/02/16 10:54:37 INFO client.AHSProxy: Connecting to Application History server at xxx/xx.xx.xx.xx:10200
      
      18/02/16 10:54:37 INFO client.RMProxy: Connecting to ResourceManager at xxx/xx.xx.xx.xx:8050
      
      18/02/16 10:54:37 INFO client.AHSProxy: Connecting to Application History server at xxx/xx.xx.xx.xx:10200
      
      18/02/16 10:54:38 INFO util.log: Logging initialized @1957ms
      
      {"name":"yesha-sleeper","lifetime":-1,"components":[],"configuration":{"properties":{},"env":{},"files":[]},"state":"STOPPED","quicklinks":{},"kerberos_principal":{}}
      
       

      4) Validate UI2 for service status

      Here, Yarn service status is marked as "finished". However, components status still shows Ready.

      On stopping yarn service, component status should be updated to "Stop"

      Attachments

        1. YARN-7954.002.patch
          2 kB
          Gour Saha
        2. YARN-7954.001.patch
          3 kB
          Gour Saha

        Activity

          People

            gsaha Gour Saha
            yeshavora Yesha Vora
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: