John Gordon created MAPREDUCE-4377:
--------------------------------------

             Summary: 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

        

Reply via email to