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

Jing Zhao updated MAPREDUCE-6248:
---------------------------------
    Attachment: MAPREDUCE-6248.001.patch

Thanks for the review, Vinod! Update the patch to address your comments. Now 
DistCp keeps its constructor, {{run}} (overriding {{Tool}}), and {{execute}} 
(which has been called by downstream applications) as public. Also two 
additional public methods are added: {{createAndSubmitJob}} and 
{{waitForJobCompletion}}.

> Allow users to get the MR job information for distcp
> ----------------------------------------------------
>
>                 Key: MAPREDUCE-6248
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6248
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>          Components: distcp
>            Reporter: Jing Zhao
>            Assignee: Jing Zhao
>         Attachments: MAPREDUCE-6248.000.patch, MAPREDUCE-6248.001.patch
>
>
> Currently the DistCp is acting as a tool and the corresponding MapReduce Job  
> is created and used inside of its {{execute}} method. It is thus difficult 
> for external services to query its progress and counters. It may be helpful 
> to persist the job id into a file inside its staging directory.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to