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 "Steve Loughran (JIRA)" <ji...@apache.org> on 2010/03/09 18:11:27 UTC
[jira] Created: (MAPREDUCE-1583) teragen "t" parameter may be
overflowing
teragen "t" parameter may be overflowing
----------------------------------------
Key: MAPREDUCE-1583
URL: https://issues.apache.org/jira/browse/MAPREDUCE-1583
Project: Hadoop Map/Reduce
Issue Type: Bug
Components: examples
Affects Versions: 0.22.0
Reporter: Steve Loughran
Priority: Minor
My IDE is warning me that the logic in TeraGen.java to apply a T value is overflowing:
{code}
case 't':
base *= 1000 * 1000 * 1000 * 1000; //here
break;
{code}
Perhaps the IDE thinks/knows that the compiler will multiply the four integers to produce a compile time constant, so one of them needs to be marked as 1000L to stop the size of a terabyte being much less than expected, with consequences for sort times.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.