hadoop-mapreduce-issues mailing list archives

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

    [ https://issues.apache.org/jira/browse/MAPREDUCE-2472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13028831#comment-13028831
] 

Todd Lipcon commented on MAPREDUCE-2472:
----------------------------------------

Hm, this seems to take care of extra intrnal whitespace, but I think we need a trim() in there
too for trailing/leading whitespace

> 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

Mime
View raw message