Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-7250

FrameworkUploader: skip replication check entirely if timeout == 0

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3.0
    • Component/s: mrv2
    • Labels:

      Description

      The framework uploader tool has this piece of code which makes sure that all block of the uploaded mapreduce tarball has been replicated:

            while(endTime - startTime < timeout * 1000 &&
                 currentReplication < acceptableReplication) {
              Thread.sleep(1000);
              endTime = System.currentTimeMillis();
              currentReplication = getSmallestReplicatedBlockCount();
            }
      

      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.

        Attachments

        1. MAPREDUCE-7250-001.patch
          2 kB
          Peter Bacsko

          Activity

            People

            • Assignee:
              pbacsko Peter Bacsko
              Reporter:
              pbacsko Peter Bacsko
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: