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

add an env variable for the YARN AM classpath

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.2.0
    • Fix Version/s: None
    • Component/s: nodemanager
    • Labels:
      None

      Description

      Currently YARN apps set up their classpath via the default value YarnConfiguration.DEFAULT_YARN_APPLICATION_CLASSPATH or an overridden property yarn.application.classpath.

      If you don't have the classpath right, the AM won't start up. This means the client needs to be explicitly configured with the CP.

      If the node manager exported the classpath property via an env variable YARN_APPLICATION_CLASSPATH, then the classpath could be set up in the AM simply by referencing that property, rather than hoping its setting is in sync.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                stevel@apache.org Steve Loughran
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: