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

Zhijie Shen commented on MAPREDUCE-5156:
----------------------------------------

{quote}
In addition, the user would have to run a previous examples jar with 
HADOOP_USER_CLASSPATH_FIRST=true and HADOOP_CLASSPATH set to their examples jar 
to see the incompatibility, otherwise it ends up picking up the 2.x versions 
and works
{quote}
Yes, I've noticed this issue when I investigated the problem. Otherwise, we can 
simply move 2.x examples jar outside CLASSPATH. Maybe we should document it 
MAPREDUCE-5184?

                
> Hadoop-examples-1.x.x.jar cannot run on Yarn
> --------------------------------------------
>
>                 Key: MAPREDUCE-5156
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5156
>             Project: Hadoop Map/Reduce
>          Issue Type: Sub-task
>            Reporter: Zhijie Shen
>            Assignee: Zhijie Shen
>            Priority: Blocker
>         Attachments: MAPREDUCE-5156.1.patch, MAPREDUCE-5156.2.patch
>
>
> M/R examples are run through ProgramDriver.driver. ProgramDriver.driver 
> returns void in hadoop-1, while it returns int in hadoop-2. Therefore, the 
> function signatures in the example jar and yarn are incompatible.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to