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 ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Key: MAPREDUCE-3155 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3155 Project: Hadoop Map/Reduce Issue Type: Bug Components: mrv2 Affects Versions: 0.23.0 Reporter: Hitesh Shah Fix For: 0.23.0 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. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira