You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-dev@hadoop.apache.org by "John Gordon (JIRA)" <ji...@apache.org> on 2012/06/27 04:42:43 UTC

[jira] [Created] (MAPREDUCE-4377) TaskRunner javaopts parsing doesn't handle embedded spaces

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