You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-dev@hadoop.apache.org by "Amar Kamat (JIRA)" <ji...@apache.org> on 2010/07/21 08:41:49 UTC
[jira] Created: (MAPREDUCE-1953) [Rumen] Fail early if -input-cycle
in not specified in Folder
[Rumen] Fail early if -input-cycle in not specified in Folder
-------------------------------------------------------------
Key: MAPREDUCE-1953
URL: https://issues.apache.org/jira/browse/MAPREDUCE-1953
Project: Hadoop Map/Reduce
Issue Type: Bug
Components: tools/rumen
Reporter: Amar Kamat
Fix For: 0.22.0
The Folder code does the following
{code}
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;
}
{code}
There is no point in doing other initializations if _-input-cycle_ is not provided
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.