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

jay vyas commented on MAPREDUCE-5165:
-------------------------------------

+1 to close, but the deprecation story is somewhat tricky not sure how to 
improve it.  Maybe just a wiki page update to 
http://wiki.apache.org/hadoop/HowToContribute to explain the changes to 
MRMiniCluster would be in order here, or something. 
                
> Create MiniMRCluster version which uses the mapreduce package.
> --------------------------------------------------------------
>
>                 Key: MAPREDUCE-5165
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5165
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>            Reporter: jay vyas
>            Priority: Minor
>
> The MiniMapRedCluster class references some older mapred.* classes (as per 
> comments below however, there is the MiniMRYarnCluster, which may aim to 
> replace it). 
> It could be recreated in the mapreduce package to use the Configuration class 
> instead of JobConf, which would make it simpler to use and integrate with new 
> FS implementations and test harnesses that use new Configuration (not 
> JobConf) objects to drive tests.
> This could be done many ways:
> 1) using inheritance or else 
> 2) by copying the code directly
> The appropriate implementation depends on wether or not 
> 1) Is it okay for mapreduce.* classes to depend on mapred.* classes ?
> 2) Is the mapred MiniMRCluster implementation going to be deprecated or 
> eliminated anytime? 
> 3) What is the future of the JobConf class - which has been deprecated and 
> then undeprecated ?
> Note that This is all intimately linked to the role that MiniMRYarnCluster 
> will play.  Relevant classes:
> .//hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/mapred/MiniMRClientCluster.java
> .//hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/mapred/MiniMRClientClusterFactory.java
> .//hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/mapred/MiniMRCluster.java
> .//hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/mapred/MiniMRYarnClusterAdapter.java
> .//hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/mapreduce/v2/MiniMRYarnCluster.java

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