You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Vinod Kumar Vavilapalli (JIRA)" <ji...@apache.org> on 2015/02/10 03:43:35 UTC

[jira] [Commented] (MAPREDUCE-6248) Persist DistCp job id in the staging directory

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