Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-3368 [Umbrella] YARN web UI: Next generation
  3. YARN-5038

[YARN-3368] Application and Container pages shows wrong values when RM is stopped

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0-alpha2
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Few minor issues to fix.

      • In Applications page, "Running Container" is shows as -1 when app is finished.
      • In container page, "Finished Time" is showing 1970 as date by default.

        Activity

        Hide
        leftnoteasy Wangda Tan added a comment -

        Sunil G, could we merge this fix to YARN-5000?

        Show
        leftnoteasy Wangda Tan added a comment - Sunil G , could we merge this fix to YARN-5000 ?
        Hide
        sunilg Sunil G added a comment -

        Sure. It ll be better for review and test. I will close this ticket as a duplicate.

        Show
        sunilg Sunil G added a comment - Sure. It ll be better for review and test. I will close this ticket as a duplicate.
        Hide
        sunilg Sunil G added a comment -

        For container finished time, we are getting a value called year 1970 from RM. But ideally we need an end time for a container to draw the graph. So for a running container, we do not have ending time. But this graph is designed in such a way that it needs some end time. Hence we need to make some more logical change to handle running containers and its display as graph.

        I ll try some options here to display in different color (grayed color) or dotted.

        Show
        sunilg Sunil G added a comment - For container finished time, we are getting a value called year 1970 from RM. But ideally we need an end time for a container to draw the graph. So for a running container, we do not have ending time. But this graph is designed in such a way that it needs some end time. Hence we need to make some more logical change to handle running containers and its display as graph. I ll try some options here to display in different color (grayed color) or dotted.
        Hide
        sunilg Sunil G added a comment -

        Sorry. My bad, this scenario is handled already in timeline-view.js. Current time is taken, if finished time is lesser than start time. This make sense. Now we just need to show empty value for container finished time.

        Show
        sunilg Sunil G added a comment - Sorry. My bad, this scenario is handled already in timeline-view.js . Current time is taken, if finished time is lesser than start time. This make sense. Now we just need to show empty value for container finished time.
        Hide
        leftnoteasy Wangda Tan added a comment -

        Sunil G, showing empty or something like "-" for finish time of running apps sounds like a good plan to me.

        Thanks,

        Show
        leftnoteasy Wangda Tan added a comment - Sunil G , showing empty or something like "-" for finish time of running apps sounds like a good plan to me. Thanks,
        Hide
        sunilg Sunil G added a comment -

        YARN-4515 will handle this issue.

        Show
        sunilg Sunil G added a comment - YARN-4515 will handle this issue.
        Hide
        leftnoteasy Wangda Tan added a comment -

        Committed with YARN-4515. (72151c24452cfef250f7ce6f457dec6ada2cbd26). Thanks Sunil G!

        Show
        leftnoteasy Wangda Tan added a comment - Committed with YARN-4515 . (72151c24452cfef250f7ce6f457dec6ada2cbd26). Thanks Sunil G !

          People

          • Assignee:
            sunilg Sunil G
            Reporter:
            sunilg Sunil G
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development