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

Fix custom ProcessTree instance creation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 0.23.5, 3.0.0-alpha1
    • 2.0.3-alpha, 0.23.5
    • None
    • None

    Description

      1. In current pluggable resourcecalculatorprocesstree is not passed root process id to custom implementation making it unusable.

      2. pstree do not extend Configured as it should

      Added constructor with pid argument with testsuite. Also added test that pstree is correctly configured.

      Attachments

        1. pstree-instance2.txt
          6 kB
          Radim Kolar
        2. pstree-instance.txt
          6 kB
          Radim Kolar

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: