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

Change processTree interface to work better with native code

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 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.

        Attachments

        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

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: