hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron T. Myers (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MAPREDUCE-2472) Extra whitespace in mapred.child.java.opts breaks JVM initialization
Date Wed, 04 May 2011 08:26:03 GMT

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

Aaron T. Myers updated MAPREDUCE-2472:

    Attachment: mapreduce-2472.0.patch

Patch which changes the split from being on spaces to any amount of whitespace. Add a few
tests for this as well.

> 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

View raw message