​H​
i folks,

   I see that node manager API ws/v1/node/apps return the list of apps that
ran on it.

   I referred to https://hadoop.apache.org/docs/r2.6.0/hadoop-yarn/
hadoop-yarn-site/NodeManagerRest.html#Applications_API

   The response as per the page looks like below, which has
*the completed apps as well *

{
   "apps" : {
      "app" : [
         {
            "containerids" : [
               "container_1326121700862_0003_01_000001",
               "container_1326121700862_0003_01_000002"
            ],
            "user" : "user1",
            "id" : "application_1326121700862_0003",
            "state" : "RUNNING"
         },
         {
            "user" : "user1",
            "id" : "application_1326121700862_0002",*
   "state" : "FINISHED"*
         }
      ]
   }
}

   When I hit at my node manager, *I get only the running apps*. The
completed apps are not shown. What's wrong with my node manager? Does
it need the timeline / history server to be running?

   Below is my environment information


   - Cloudera 5.13.1 parcels
   - which uses Hadoop 2.6.0


Thanks for your time :-)

- Mohan
​​

Reply via email to