hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Myer (JIRA)" <j...@apache.org>
Subject [jira] Created: (HADOOP-3616) TextInputFormat taking max of two minima as the minimum
Date Sat, 21 Jun 2008 00:17:44 GMT
TextInputFormat taking max of two minima as the minimum
-------------------------------------------------------

                 Key: HADOOP-3616
                 URL: https://issues.apache.org/jira/browse/HADOOP-3616
             Project: Hadoop Core
          Issue Type: Bug
    Affects Versions: 0.17.0
            Reporter: Josh Myer
            Priority: Minor


When choosing its minimum split size, FileInputFormat is using the larger of the two minimum
split values, instead of the smaller.  I can't find any good explanation for why this would
be, so it would be helpful to add a comment there (or change to Math.min if that's the intent).

Line 237:
    long minSize = Math.max(job.getLong("mapred.min.split.size", 1), minSplitSize);



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message