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
             Fix For: 0.22.0


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

Reply via email to