hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harsh J (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MAPREDUCE-1678) Change org.apache.hadoop.mapreduce.Cluster methods to allow for extending
Date Tue, 14 Jun 2011 11:51:47 GMT

     [ https://issues.apache.org/jira/browse/MAPREDUCE-1678?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Harsh J updated MAPREDUCE-1678:
-------------------------------

    Resolution: Duplicate
        Status: Resolved  (was: Patch Available)

This issue's use case is handled by the changes in MAPREDUCE-2400

Resolving as duplicate.

> Change org.apache.hadoop.mapreduce.Cluster methods to allow for extending
> -------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-1678
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1678
>             Project: Hadoop Map/Reduce
>          Issue Type: New Feature
>          Components: job submission
>    Affects Versions: 0.23.0
>            Reporter: Kyle Ellrott
>            Assignee: Harsh J
>            Priority: Trivial
>             Fix For: 0.23.0
>
>         Attachments: MAPREDUCE-1678.r1.patch
>
>   Original Estimate: 5m
>  Remaining Estimate: 5m
>
> Change methods in org.apache.hadoop.mapreduce.Cluster from private to protected to allow
extension of cluster.
> If the method createRPCProxy is changed from private to protected, then alternate cluster
implementations could be written that return other ClientProtocol's. 
> For example, changing the protocol some custom implementation called SimpleClient
>  
> ie:
> public class SimpleCluster extends Cluster {
>   @Override
>   protected ClientProtocol createRPCProxy(InetSocketAddress addr, Configuration conf)
throws IOException {
>     return new SimpleClient(conf);
>   } 
> }

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message