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 "Aaron Kimball (JIRA)" <ji...@apache.org> on 2010/02/13 02:37:27 UTC

[jira] Created: (MAPREDUCE-1489) DataDrivenDBInputFormat should not query the database when generating only one split

DataDrivenDBInputFormat should not query the database when generating only one split
------------------------------------------------------------------------------------

                 Key: MAPREDUCE-1489
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1489
             Project: Hadoop Map/Reduce
          Issue Type: Improvement
          Components: contrib/sqoop
            Reporter: Aaron Kimball
            Assignee: Aaron Kimball


DataDrivenDBInputFormat runs a query to establish bounding values for each split it generates; but if it's going to generate only one split (mapreduce.job.maps == 1), then there's no reason to do this. This will remove overhead associated with a single-threaded import of a non-indexed table since it avoids a full table scan.

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