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

Hudson commented on MAPREDUCE-5157:
-----------------------------------

Integrated in Hadoop-Hdfs-trunk #1393 (See 
[https://builds.apache.org/job/Hadoop-Hdfs-trunk/1393/])
    MAPREDUCE-5157. Bring back old sampler related code so that we can support 
binary compatibility with hadoop-1 sorter example. Contributed by Zhijie Shen. 
(Revision 1480474)

     Result = FAILURE
vinodkv : 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1480474
Files : 
* /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
* 
/hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/lib/InputSampler.java
* 
/hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/lib/partition/InputSampler.java
* 
/hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/mapreduce/lib/partition/TestInputSampler.java

                
> Sort in hadoop-1 examples is not binary compatible with hadoop-2 mapred.lib
> ---------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-5157
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5157
>             Project: Hadoop Map/Reduce
>          Issue Type: Sub-task
>            Reporter: Zhijie Shen
>            Assignee: Zhijie Shen
>             Fix For: 2.0.5-beta
>
>         Attachments: MAPREDUCE-5157.1.patch, MAPREDUCE-5157.1.patch
>
>
> In SORT example, org.apache.hadoop.mapred.lib.InputSampler.Sampler is used in 
> hadoop-1. However, after upgrading to hadoop-2, 
> org.apache.hadoop.mapred.lib.InputSampler is modified to extend 
> org.apache.hadoop.mapreduce.lib.partition.InputSampler, and the inner class, 
> Sampler, has been moved to the superclass. Therefore, hadoop-1 SORT can not 
> find Sampler when it runs with hadoop-2 framework.

--
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