hadoop-mapreduce-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ravi Gummadi (JIRA)" <j...@apache.org>
Subject [jira] Created: (MAPREDUCE-1828) Job doesn't fail graciously when an invalid mapred.child.env value is specified
Date Tue, 01 Jun 2010 09:43:42 GMT
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


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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message