[
https://issues.apache.org/jira/browse/MAPREDUCE-6248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14313411#comment-14313411
]
Vinod Kumar Vavilapalli commented on MAPREDUCE-6248:
----------------------------------------------------
Why not have a public API in DistCp and use that programmatically instead of
persisting IDs into files and then reading them?
> Persist DistCp job id in the staging directory
> ----------------------------------------------
>
> 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
>
> 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)