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 "Peter Bacsko (Jira)" <ji...@apache.org> on 2019/12/04 12:39:00 UTC

[jira] [Updated] (MAPREDUCE-7250) FrameworkUploader: add option to skip replication check

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

Peter Bacsko updated MAPREDUCE-7250:
------------------------------------
    Attachment: MAPREDUCE-7250-001.patch

> FrameworkUploader: add option to skip replication check
> -------------------------------------------------------
>
>                 Key: MAPREDUCE-7250
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-7250
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>          Components: mrv2
>            Reporter: Peter Bacsko
>            Assignee: Peter Bacsko
>            Priority: Major
>         Attachments: MAPREDUCE-7250-001.patch
>
>
> The framework uploader tool has this piece of code which makes sure that all block of the uploaded mapreduce tarball has been replicated:
> {noformat}
>       while(endTime - startTime < timeout * 1000 &&
>            currentReplication < acceptableReplication) {
>         Thread.sleep(1000);
>         endTime = System.currentTimeMillis();
>         currentReplication = getSmallestReplicatedBlockCount();
>       }
> {noformat}
> There are cases, however, when we don't want to wait for this (eg. we want to speed up Hadoop installation).
> I suggest adding {{--skiprelicationcheck}} switch which disables this replication test.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: mapreduce-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: mapreduce-issues-help@hadoop.apache.org