Hadoop YARN
  1. Hadoop YARN
  2. YARN-223

Change processTree interface to work better with native code

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.3-alpha, trunk-win, 0.23.6
    • Component/s: None
    • Labels:
      None

      Description

      Problem is that on every update of processTree new object is required. This is undesired when working with processTree implementation in native code.

      replace ProcessTree.getProcessTree() with updateProcessTree(). No new object allocation is needed and it simplify application code a bit.

      1. YARN-223-branch-trunk-win.1.patch
        31 kB
        Chris Nauroth
      2. pstree-update6.txt
        27 kB
        Radim Kolar
      3. pstree-update6.txt
        27 kB
        Radim Kolar
      4. pstree-update4.txt
        27 kB
        Radim Kolar

        Issue Links

          Activity

          Allen Wittenauer made changes -
          Fix Version/s 3.0.0 [ 12323268 ]
          Gavin made changes -
          Link This issue is depended upon by YARN-234 [ YARN-234 ]
          Gavin made changes -
          Link This issue blocks YARN-234 [ YARN-234 ]
          Arun C Murthy made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Chris Nauroth made changes -
          Fix Version/s trunk-win [ 12323307 ]
          Chris Nauroth made changes -
          Attachment YARN-223-branch-trunk-win.1.patch [ 12563014 ]
          Thomas Graves made changes -
          Fix Version/s 0.23.6 [ 12323501 ]
          Luke Lu made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Fix Version/s 2.0.3-alpha [ 12323272 ]
          Fix Version/s 3.0.0 [ 12323268 ]
          Resolution Fixed [ 1 ]
          Radim Kolar made changes -
          Attachment pstree-update6.txt [ 12560809 ]
          Radim Kolar made changes -
          Assignee Radim Kolar [ hsn ]
          Chris Nauroth made changes -
          Link This issue blocks YARN-234 [ YARN-234 ]
          Radim Kolar made changes -
          Attachment pstree-update3.txt [ 12554532 ]
          Radim Kolar made changes -
          Attachment pstree-update2.txt [ 12554515 ]
          Radim Kolar made changes -
          Attachment pstree-update.txt [ 12554102 ]
          Radim Kolar made changes -
          Attachment pstree-update6.txt [ 12554602 ]
          Radim Kolar made changes -
          Attachment pstree-update4.txt [ 12554547 ]
          Radim Kolar made changes -
          Attachment pstree-update3.txt [ 12554532 ]
          Radim Kolar made changes -
          Attachment pstree-update2.txt [ 12554515 ]
          Radim Kolar made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Radim Kolar made changes -
          Field Original Value New Value
          Attachment pstree-update.txt [ 12554102 ]
          Radim Kolar created issue -

            People

            • Assignee:
              Radim Kolar
              Reporter:
              Radim Kolar
            • Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development