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

[Rumen] Fail early if -input-cycle in not specified in Folder

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • tools/rumen
    • None

    Description

      The Folder code does the following

      inputCycle = // extract the value of -input-cycle from args
      ..
      // other inits and FileSystem operations
      ..
      if (inputCycle <= 0) {
        LOG.error("You must have an input cycle length.");
        return NO_INPUT_CYCLE_LENGTH;
      }
      
      if (outputDuration <= 0) {
        outputDuration = 60L * 60L * TICKS_PER_SECOND;
      }
      
      if (inputCycle <= 0) {
        inputCycle = outputDuration;
      }
      

      There is no point in doing other initializations if -input-cycle is not provided

      Attachments

        Activity

          People

            Unassigned Unassigned
            amar_kamat Amar Kamat
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: