[ 
https://issues.apache.org/jira/browse/HADOOP-5260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12673420#action_12673420
 ] 

Koji Noguchi commented on HADOOP-5260:
--------------------------------------

Looking at StreamJob.java
{noformat} 
 131       preProcessArgs();
 132       parseArgv();
 133       postProcessArgs();
 134
 135       setJobConf();
 136       return submitAndMonitorJob();
 137     }catch (IllegalArgumentException ex) {
 138       //ignore, since log will already be printed
 139       return 1;
 140     }
{noformat}

seems like IllegalArgumentException info is not printed when it's thrown from 
mapred (non-streaming) framework.


> streaming failed without printing out the cause (IllegalArgumentException)
> --------------------------------------------------------------------------
>
>                 Key: HADOOP-5260
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5260
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: contrib/streaming
>            Reporter: Koji Noguchi
>            Priority: Minor
>
> When looking at HADOOP-5259, streaming failed as 
> $ $HADOOP_HOME/bin/hadoop  jar 
> $HADOOP_HOME/contrib/streaming/hadoop-0.21.0-dev-streaming.jar -input 
> (inputpath) -output hdfs:/user/knoguchi/outputpath -mapper cat -reducer cat
> packageJobJar: [/tmp/hadoop-unjar27612/] [] /tmp/streamjob27613.jar 
> tmpDir=null
> Streaming Command Failed!
> $ echo $?
> 1

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to