Peter Bacsko created MAPREDUCE-7250:
---------------------------------------

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


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-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: mapreduce-dev-h...@hadoop.apache.org

Reply via email to