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

Enable aux services to have their own custom classpath/jar file

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.8.0
    • 2.9.0, 3.0.0-alpha1
    • None
    • None
    • Reviewed

    Description

      Right now, users have to add their jars to the NM classpath directly, thus put them on the system classloader. But if multiple versions of the plugin are present on the classpath, there is no control over which version actually gets loaded. Or if there are any conflicts between the dependencies introduced by the auxiliary service and the NM itself, they can break the NM, the auxiliary service, or both.

      The solution could be: to instantiate aux services using a classloader that is different from the system classloader.

      Attachments

        1. YARN-4577.poc.patch
          11 kB
          Xuan Gong
        2. YARN-4577.5.patch
          11 kB
          Xuan Gong
        3. YARN-4577.4.patch
          12 kB
          Xuan Gong
        4. YARN-4577.3.rebase.patch
          11 kB
          Xuan Gong
        5. YARN-4577.3.patch
          10 kB
          Xuan Gong
        6. YARN-4577.20160511.patch
          23 kB
          Xuan Gong
        7. YARN-4577.20160511.1.patch
          23 kB
          Xuan Gong
        8. YARN-4577.20160510.patch
          15 kB
          Xuan Gong
        9. YARN-4577.20160509.patch
          20 kB
          Xuan Gong
        10. YARN-4577.20160428.patch
          13 kB
          Xuan Gong
        11. YARN-4577.20160204.patch
          13 kB
          Xuan Gong
        12. YARN-4577.20160119.1.patch
          10 kB
          Xuan Gong
        13. YARN-4577.2.patch
          9 kB
          Xuan Gong
        14. YARN-4577.1.patch
          7 kB
          Xuan Gong

        Issue Links

          Activity

            People

              xgong Xuan Gong
              xgong Xuan Gong
              Votes:
              0 Vote for this issue
              Watchers:
              18 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: