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

Robert Kanter updated MAPREDUCE-5215:
-------------------------------------

    Attachment: MAPREDUCE-5215.patch

The new patch creates a JobClient only once getJobClient() is called.  It 
reuses the same cluster object from the Job to prevent any issues.  Normally 
the cluster is created lazily in connect() when submitting a job; if 
getJobClient() is called, we have to connect() early for the JobClient to have 
the cluster.
                
> mapreduce.Job is missing getJobClient() so its incompatible with MR1
> --------------------------------------------------------------------
>
>                 Key: MAPREDUCE-5215
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5215
>             Project: Hadoop Map/Reduce
>          Issue Type: Sub-task
>          Components: mrv2
>    Affects Versions: 2.0.2-alpha
>            Reporter: Robert Kanter
>            Assignee: Robert Kanter
>         Attachments: MAPREDUCE-5215.patch, MAPREDUCE-5215.patch
>
>
> The method {{org.apache.hadoop.mapred.JobClient getJobClient()}} is in MR1's 
> {{mapreduce.Job}} but doesn't exist in MR2's, which makes them incompatible.  
> MR2's implementation of {{Job}} doesn't use a JobClient object, but we can 
> create one and return it.

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