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

FrameworkUploader: skip replication check entirely if timeout == 0

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.3.0
    • mrv2

    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

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

            Dates

              Created:
              Updated:
              Resolved: