Hadoop YARN
  1. Hadoop YARN
  2. YARN-813

Document and likewise implement relevant checks/escape functions for what form of input is acceptable for setting up a container launch context i.e. special chars in resource names, env vars and the commands

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 2.0.4-alpha, 0.23.8
    • Fix Version/s: None
    • Component/s: nodemanager
    • Labels:
      None

      Description

      What should a user of yarn escape/not escape when passing in input for the container launch contexts

      • localized resources' names are used to create symlinks.
      • Are special chars supported in symlinks or do they need to be escaped?
      • Likewise for environment variables and commands.

      Current implementation uses a shell script to setup the environment and launch the commands. What should the user be aware of when setting up the launch context? The input also should be such that a user should not need to change code based on what platform or flavor of shell is being used to setup the env and run the commands.

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Hitesh Shah
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:

              Development