[ https://issues.apache.org/jira/browse/MAPREDUCE-4377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13402452#comment-13402452 ]
John Gordon commented on MAPREDUCE-4377: ---------------------------------------- Thanks Robert! I agree it won't be an easy fix and may need some rearchitecture and significant test additions. > TaskRunner javaopts parsing doesn't handle embedded spaces > ---------------------------------------------------------- > > Key: MAPREDUCE-4377 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-4377 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: task-controller > Affects Versions: trunk > Environment: java options containing escaped or non-escaped embedded > spaces. > Reporter: John Gordon > > TaskRunner::GetVMArgs reads getChildJavaOpts as one space-delimited string, > then split is on ' ' and tries to reason on individual options from there. > The problem with this approach is that java options may contain embedded > spaces in many legitimate cases -- this means it is reasoning on incomplete > option strings and cannot do appropriate preprocessing to do things like > handle escape characters or matched quotation marks. -- 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