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

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

    Attachment: MAPREDUCE-1678.r1.patch

Attaching patch for trivial change since there was none provided.

> 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
>            Reporter: Kyle Ellrott
>            Priority: Trivial
>         Attachments: MAPREDUCE-1678.r1.patch
>
>   Original Estimate: 0.08h
>  Remaining Estimate: 0.08h
>
> 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.
-
You can reply to this email to add a comment to the issue online.

Reply via email to