hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allen Wittenauer (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (MAPREDUCE-1828) Job doesn't fail graciously when an invalid mapred.child.env value is specified
Date Wed, 30 Jul 2014 19:54:39 GMT

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

Allen Wittenauer resolved MAPREDUCE-1828.
-----------------------------------------

    Resolution: Won't Fix

mapred.child.env has basically been deprecated.

> Job doesn't fail graciously when an invalid mapred.child.env value is specified
> -------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-1828
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1828
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: tasktracker
>            Reporter: Ravi Gummadi
>            Assignee: Ravi Gummadi
>         Attachments: 1828.patch
>
>
> When invalid input is given to -Dmapred.child.env=, ArrayIndexOutOfBoundsException is
seen instead of giving a useful error message.
> bin/hadoop jar hadoop-streaming.jar -Dmapred.child.env="X:Y" -input inp_empty -output
out -mapper /bin/cat
> -reducer /bin/cat
> java.lang.Throwable: Child Error at org.apache.hadoop.mapred.TaskRunner.run(TaskRunner.java:242)
Caused by:
> java.lang.ArrayIndexOutOfBoundsException: 1 at
> org.apache.hadoop.mapred.TaskRunner.getVMEnvironment(TaskRunner.java:571) at
> org.apache.hadoop.mapred.TaskRunner.run(TaskRunner.java:212)



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message