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

Change processTree interface to work better with native code

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 2.0.3-alpha, trunk-win, 0.23.6
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: