You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Aaron T. Myers (JIRA)" <ji...@apache.org> on 2011/05/04 10:26:03 UTC

[jira] [Assigned] (MAPREDUCE-2472) Extra whitespace in mapred.child.java.opts breaks JVM initialization

     [ https://issues.apache.org/jira/browse/MAPREDUCE-2472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aaron T. Myers reassigned MAPREDUCE-2472:
-----------------------------------------

    Assignee: Aaron T. Myers

> Extra whitespace in mapred.child.java.opts breaks JVM initialization
> --------------------------------------------------------------------
>
>                 Key: MAPREDUCE-2472
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2472
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: task-controller
>    Affects Versions: 0.20.2, 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Aaron T. Myers
>             Fix For: 0.22.0
>
>         Attachments: mapreduce-2472.0.patch
>
>
> When creating taskjvm.sh, we split mapred.child.java.opts on " " and then create a quoted argument for each of those results. So, if you have an extra space anywhere in this configuration, you get an argument '' in the child command line, which the JVM interprets as an empty class name. This results in a ClassNotFoundException and the task cannot run.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira